Files
full-stack-fastapi-template/frontend/src/theme.tsx

32 lines
569 B
TypeScript
Raw Normal View History

import { createSystem, defaultConfig } from "@chakra-ui/react"
import { buttonRecipe } from "./theme/button.recipe"
export const system = createSystem(defaultConfig, {
globalCss: {
html: {
fontSize: "16px",
},
body: {
fontSize: "0.875rem",
margin: 0,
padding: 0,
},
".main-link": {
color: "ui.main",
fontWeight: "bold",
},
2024-03-08 14:58:36 +01:00
},
theme: {
tokens: {
colors: {
ui: {
main: { value: "#009688" },
2024-03-11 16:50:46 +01:00
},
},
},
recipes: {
button: buttonRecipe,
},
2024-03-08 14:58:36 +01:00
},
})