add themePreviewColor to theme

This commit is contained in:
Halit Aksoy 2022-09-03 21:24:52 +03:00
parent 1a305dc74c
commit ce4aab7c09
4 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,7 @@ const colorSpecial = "#337a44";
const darkTheme: Theme = { const darkTheme: Theme = {
id: "2", id: "2",
name: "Dark Theme", name: "Dark Theme",
themePreviewColor: colors.primary,
background: colors.primary, background: colors.primary,
appBarBgColor: colors.secondary, appBarBgColor: colors.secondary,
textColor: colors.primary, textColor: colors.primary,

View File

@ -3,6 +3,7 @@ import { Theme } from "./Theme";
const greyTheme: Theme = { const greyTheme: Theme = {
id: "1", id: "1",
name: "Grey Theme", name: "Grey Theme",
themePreviewColor: "#4D606E",
background: "#EEEEEE", background: "#EEEEEE",
appBarBgColor: "#e4e4e4", appBarBgColor: "#e4e4e4",
textColor: "#4D606E", textColor: "#4D606E",

View File

@ -5,6 +5,7 @@ const colorSpecial = "#8B8B8B";
const lightTheme: Theme = { const lightTheme: Theme = {
id: "1", id: "1",
name: "Light Theme", name: "Light Theme",
themePreviewColor: "#9B9B9B",
background: "#BBBBBB", background: "#BBBBBB",
appBarBgColor: "#7B7B7B", appBarBgColor: "#7B7B7B",
textColor: "#5B5B5B", textColor: "#5B5B5B",

View File

@ -1,6 +1,7 @@
export type Theme = { export type Theme = {
id: string; id: string;
name: string; name: string;
themePreviewColor: string; // for theme switch menu
textColor: string; textColor: string;
textLightColor: string; textLightColor: string;
background: string; background: string;