From abfdc8ff77271f43c5c9a7a0f42bd98eea1f05c0 Mon Sep 17 00:00:00 2001 From: G Date: Wed, 24 Apr 2024 21:52:29 +0000 Subject: [PATCH] add some colors and buttonVariants --- src/themes/Theme.tsx | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/themes/Theme.tsx b/src/themes/Theme.tsx index 2a59e2a..e524aa4 100644 --- a/src/themes/Theme.tsx +++ b/src/themes/Theme.tsx @@ -23,12 +23,17 @@ const theme = createTheme({ secondary: palette.green, tertiary: palette.yellow, black: palette.black, + white: palette.white, + lightGray: palette.lightGray, + gray: palette.gray, + yellow: palette.yellow, }, spacing: { s: 8, m: 16, l: 24, xl: 40, + // full: "100%", }, breakpoints: { phone: 0, @@ -46,6 +51,12 @@ const theme = createTheme({ defaults: { // We can define a default text variant here. }, + primary: { + color: "primary", + }, + secondary: { + color: "secondary", + }, }, cardVariants: { defaults: { @@ -71,6 +82,19 @@ const theme = createTheme({ elevation: 5, }, }, + buttonVariants: { + defaults: { + // We can define defaults for the variant here. + }, + full: { + backgroundColor: "secondary", + color: "white", + }, + clean: { + backgroundColor: "primary", + color: "secondary", + }, + }, }); export type Theme = typeof theme; -- libgit2 0.27.1