feat: support dark mode

This commit is contained in:
GyDi
2021-12-09 23:28:57 +08:00
parent 396b11cc3d
commit c501898d5f
9 changed files with 184 additions and 68 deletions

6
src/states/setting.ts Normal file
View File

@@ -0,0 +1,6 @@
import { atom } from "recoil";
export const atomPaletteMode = atom<"light" | "dark">({
key: "atomPaletteMode",
default: "light",
});