mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 09:06:19 +08:00
feat: add auto mode in theme selection
This commit is contained in:
@@ -21,6 +21,13 @@ const Home: NextPage = () => {
|
||||
>
|
||||
current theme mode :{mode}(click to change)
|
||||
</button>
|
||||
<button
|
||||
onClick={() => {
|
||||
changeMode('auto');
|
||||
}}
|
||||
>
|
||||
click to set "auto" mode
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user