quick fix

changed theme.js to use chakras new way to create a theme in v3+
This commit is contained in:
2025-07-10 09:58:23 -07:00
parent f293e14ed1
commit 5fd48bc958
3 changed files with 26 additions and 21 deletions
+14 -10
View File
@@ -1,14 +1,18 @@
import { extendTheme } from "@chakra-ui/react";
import { createSystem, defaultConfig, defineConfig } from "@chakra-ui/react";
const theme = extendTheme({
semanticTokens: {
colors: {
primary: {
defualt: 'white',
_dark: 'grey.800'
const config = defineConfig({
theme: {
tokens: {
colors: {
primaryBG: { value: {base: "#FFFFF", _dark: "AAB8C5"} },
secondaryBG: { value: "#EDF1F1" },
border: {value: "#000000"}
},
},
},
fonts: {
body: { value: "georgia, system-ui, sans-serif" },
},
}
}
});
export default theme;
export const system = createSystem(defaultConfig, config);