Taxo Theme Documentation
Fonts & Colors
Taxo defines design tokens in src/styles/theme.css and font loading in
src/config/fonts.json.
Color Tokens
@theme inline { --color-primary: #056251; --color-secondary: #f4f1ea; --color-accent: #ffb966; --color-accent-dark: #d88a3d; --color-body: #fcf3e7; --color-body-dark: #092420; --color-text-dark: #2b2b2b; --color-text-light: #ffffff; --color-border-light: #e6e2da; --color-border-dark: #1f4d3b;}These variables drive most of the theme:
- buttons
- headers and footers
- backgrounds
- borders
- dark sections
Typography Settings
[ { "name": "Jost", "cssVariable": "--font-primary" }, { "name": "Syne", "cssVariable": "--font-secondary" }]Taxo uses:
--font-primaryfor body/UI text--font-secondaryfor stronger display and heading styles
Safe Font Customization
- update
src/config/fonts.json - keep
cssVariablevalues aligned with the variables already used in CSS - restart dev if the font provider or variants change
After Changing Colors
Review these files if your brand palette changes significantly:
src/styles/buttons.csssrc/styles/navigation.csssrc/styles/components.csssrc/styles/global.css
That helps catch contrast problems in dark sections, accent buttons, and border states.