add themePreviewColor to theme
This commit is contained in:
parent
1a305dc74c
commit
ce4aab7c09
@ -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,
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user