mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-01 15:10:14 +00:00
夜间模式按钮
This commit is contained in:
@@ -9,8 +9,7 @@ export function ThemeSwitch () {
|
||||
return (
|
||||
<div draggable="true" className="fixed left-4 bottom-12 text-white bg-black rounded z-50">
|
||||
<div className="p-2 cursor-pointer" onClick={switchTheme}>
|
||||
<i className="fas fa-sync mr-1" />
|
||||
切换主题:{theme}
|
||||
<i className="fas fa-palette mr-1" /> {theme} <i className='fas fa-sync text-xs'/>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user