Skip to content
New: Customize your theme with an AI assistant. Read the guide

Customizing Theme Colors & Fonts

Files: src/styles/theme.css, src/config/fonts.json · Skill level: Beginner

The Finzo theme uses CSS variables in src/styles/theme.css for colors and typography. Update these values to match your brand. Colors and fonts stay in these two files in the Astro, Tina, and Sanity editions.

src/styles/theme.css
@theme inline {
/* Configure font families in `src/config/fonts.json` */
--leading-body: 1.8;
--leading-inherit: inherit;
/* Colors */
--color-primary: #0031F4;
--color-secondary: #9ECF59;
--color-tertiary: #94E4F1;
--color-accent: #6366F1;
--color-body: #fff;
--color-border-light: #ECEEF1;
--color-theme-light: #FAFAFA;
--color-theme-dark: #372D3F;
--color-text-default: #3B3B3B;
--color-dark: #322B2B; /* Heading colors */
--color-light: #fff6f6;
}

The same block also holds the breakpoints and the type scale.

Customizing Colors

  • Adjust the --color-* variables to match your brand palette.
  • Update --color-text-* variables to refine text contrast.

Typography Settings

Fonts are configured in src/config/fonts.json and loaded automatically.

[
{
"name": "Figtree",
"weights": [400, 500],
"styles": ["normal"],
"preload": false,
"display": "swap",
"cssVariable": "--font-primary",
"provider": "google",
"subsets": ["latin"],
"fallbacks": ["sans-serif"]
},
{
"name": "Instrument Serif",
"weights": [400],
"styles": ["normal", "italic"],
"preload": false,
"display": "swap",
"cssVariable": "--font-secondary",
"provider": "google",
"subsets": ["latin"],
"fallbacks": ["sans-serif"]
},
{
"name": "IBM Plex Sans Arabic",
"weights": [400, 500, 600],
"styles": ["normal"],
"preload": false,
"display": "swap",
"cssVariable": "--font-arabic",
"provider": "google",
"subsets": ["arabic"],
"fallback": false,
"languages": ["ar"]
}
]

Font Customization

  • Update name, weights/variants, and styles to match your brand.
  • Keep cssVariable in sync with theme styles that reference it.
  • The Arabic font has "languages": ["ar"], so it loads only on Arabic pages. See RTL & Arabic.
  • For local fonts, set "provider": "local", and ensure the src paths in variants exist and are committed.
Type something to search...