Files
full-stack-fastapi-template/frontend/src/theme.tsx
Alejandra 55df823739 🛂 Migrate to Chakra UI v3 (#1496)
Co-authored-by: github-actions <github-actions@github.com>
2025-02-17 20:33:00 +01:00

32 lines
569 B
TypeScript

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",
},
},
theme: {
tokens: {
colors: {
ui: {
main: { value: "#009688" },
},
},
},
recipes: {
button: buttonRecipe,
},
},
})