add id and name to Theme

This commit is contained in:
Halit Aksoy 2022-06-04 19:27:13 +03:00
parent 6d080dcedd
commit 0e48fe9228
3 changed files with 6 additions and 0 deletions

View File

@ -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,

View File

@ -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",

View File

@ -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;