mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-04 07:06:36 +08:00
prettier
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type {ThemeConfig} from './types';
|
||||
import type { ThemeConfig } from './types';
|
||||
|
||||
/**
|
||||
* 主题系统配置
|
||||
|
||||
@@ -1,10 +1,16 @@
|
||||
'use client';
|
||||
|
||||
import React, {createContext, useCallback, useContext, useEffect, useState,} from 'react';
|
||||
import {useTheme as useNextTheme} from 'next-themes';
|
||||
import type {Theme} from './types';
|
||||
import {getStoredThemeId, setStoredThemeId} from './storage';
|
||||
import {getAvailableThemes} from './parser';
|
||||
import React, {
|
||||
createContext,
|
||||
useCallback,
|
||||
useContext,
|
||||
useEffect,
|
||||
useState,
|
||||
} from 'react';
|
||||
import { useTheme as useNextTheme } from 'next-themes';
|
||||
import type { Theme } from './types';
|
||||
import { getStoredThemeId, setStoredThemeId } from './storage';
|
||||
import { getAvailableThemes } from './parser';
|
||||
|
||||
/**
|
||||
* 主题上下文类型定义
|
||||
|
||||
@@ -4559,4 +4559,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user