Commit abfdc8ff by G

add some colors and buttonVariants

parent b152655c
...@@ -23,12 +23,17 @@ const theme = createTheme({ ...@@ -23,12 +23,17 @@ const theme = createTheme({
secondary: palette.green, secondary: palette.green,
tertiary: palette.yellow, tertiary: palette.yellow,
black: palette.black, black: palette.black,
white: palette.white,
lightGray: palette.lightGray,
gray: palette.gray,
yellow: palette.yellow,
}, },
spacing: { spacing: {
s: 8, s: 8,
m: 16, m: 16,
l: 24, l: 24,
xl: 40, xl: 40,
// full: "100%",
}, },
breakpoints: { breakpoints: {
phone: 0, phone: 0,
...@@ -46,6 +51,12 @@ const theme = createTheme({ ...@@ -46,6 +51,12 @@ const theme = createTheme({
defaults: { defaults: {
// We can define a default text variant here. // We can define a default text variant here.
}, },
primary: {
color: "primary",
},
secondary: {
color: "secondary",
},
}, },
cardVariants: { cardVariants: {
defaults: { defaults: {
...@@ -71,6 +82,19 @@ const theme = createTheme({ ...@@ -71,6 +82,19 @@ const theme = createTheme({
elevation: 5, 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; export type Theme = typeof theme;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment