add id and name to Theme
This commit is contained in:
parent
6d080dcedd
commit
0e48fe9228
@ -11,6 +11,8 @@ const colors = {
|
|||||||
const colorSpecial = "#F6A9A9";
|
const colorSpecial = "#F6A9A9";
|
||||||
|
|
||||||
const defaultTheme: Theme = {
|
const defaultTheme: Theme = {
|
||||||
|
id: "1",
|
||||||
|
name: "Default Light Theme",
|
||||||
background: "#EEEEEE",
|
background: "#EEEEEE",
|
||||||
appBarBgColor: colors.quaternary,
|
appBarBgColor: colors.quaternary,
|
||||||
primary: colors.primary,
|
primary: colors.primary,
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
import { Theme } from "./Theme";
|
import { Theme } from "./Theme";
|
||||||
|
|
||||||
const oldTheme: Theme = {
|
const oldTheme: Theme = {
|
||||||
|
id: "0",
|
||||||
|
name: "Old Theme",
|
||||||
background: "#EEEEEE",
|
background: "#EEEEEE",
|
||||||
appBarBgColor: "rgb(228, 228, 228)",
|
appBarBgColor: "rgb(228, 228, 228)",
|
||||||
primary: "#4D606E",
|
primary: "#4D606E",
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
export type Theme = {
|
export type Theme = {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
primary: string;
|
primary: string;
|
||||||
primaryLight: string;
|
primaryLight: string;
|
||||||
background: string;
|
background: string;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user