From 687702df0b7f12781853cbede9bca961e25d4135 Mon Sep 17 00:00:00 2001 From: moist-webDev Date: Thu, 25 May 2023 00:31:59 -0400 Subject: [PATCH] added name property to themes --- lib/theme.ts | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/lib/theme.ts b/lib/theme.ts index 4fd51c8..a681f47 100644 --- a/lib/theme.ts +++ b/lib/theme.ts @@ -1,17 +1,30 @@ -export const darkTheme = { +export type Theme = { + name: string; + text: string, + background: string, + primary: string, + secondary: string, + accent: string, + statusbar: 'light' | 'dark', +} + +export const darkTheme: Theme = { + name: 'dark', text: "#edecf3", background: "#0f0e16", primary: "#60496f", secondary: "#1f141e", accent: "#31202f", - statusbar: "light", + statusbar: 'light', } -export const lightTheme = { +export const lightTheme: Theme = { + name: 'light', text: "#0e1b17", background: "#e1efea", primary: "#519e85", secondary: "#ebf5f1", accent: "#5dac92", - statusbar: "dark", -} \ No newline at end of file + statusbar: 'dark', +} +