added theme detection

This commit is contained in:
Fedor Katurov 2023-04-26 22:26:04 +06:00
parent 378687df52
commit 70f6dcd495
11 changed files with 133 additions and 19 deletions

View file

@ -1,3 +1,18 @@
import { ColorSettings } from "~/modules/settings/context/SettingsContext";
export enum Theme {
Dark = "dark",
Light = "light",
}
export const defaultDarkTheme: ColorSettings = {
backgroundColor: "#2e2e2e",
textColor: "#eeeeee",
linkColor: "#25bfe6",
};
export const defaultLightTheme: ColorSettings = {
backgroundColor: "#eeeeee",
textColor: "#2e2e2e",
linkColor: "#25bfe6",
};