# Colours and fonts

URL: https://docs.xodia.ai/editing/colours-and-fonts
Last updated: 2026-11-20

Colours and fonts holds your site's shared design values: its colours, fonts, text sizes, spacing and corners. Change one there and every element that uses it follows, on every page.

_Picture: The Colours and fonts panel: the bakery site's paper, ink and accent colours, its display font, fluid text sizes and spacing, read from src/index.css, with Light and Dark mode._

## Open the panel

Choose Colours and fonts in the left rail, or press `V`. It reads the values from the file they live in, so what you see is what your site really uses.

## What's in it

- **Colours**, such as your brand colour, text and background
- **Fonts**, the families your site uses
- **Text sizes**, from small text up to big headings
- **Spacing**, the gaps between and inside sections
- **Corner radius**, how round cards and buttons are
- **Sizes** and **Shadows**, such as the widest a page's content gets and the shadow under cards

Add a value with the plus beside its group, and remove one you no longer use. On a Tailwind site these are its theme values, the same ones [the Tailwind v4 visual editor](https://xodia.ai/frameworks/tailwind) writes into classes.

## Light and dark mode

A switch at the top reads Light and Dark mode. Dark mode holds the colours for visitors whose device is set to dark mode. Leave a colour empty there and it keeps its light colour.

## On plain CSS, Sass and CSS-in-JS sites

A site without a Tailwind theme shows the CSS variables it sets for the whole page. A site built with Sass, styled-components or Emotion lists its own settings under Shared values, with where each one is used. See [Sass and CSS-in-JS](https://docs.xodia.ai/editing/visual-editor#sass-css-in-js) and [CSS, Sass and CSS-in-JS](https://xodia.ai/frameworks/css).

### Good to know

- A site with no shared values yet shows Add some with AI, which asks your AI to set them up.
- Undo on the canvas doesn't cover Colours and fonts. To go back, use a restore point. See [Restore points and undo](https://docs.xodia.ai/get-started/restore-points).
- To style one element instead of the whole site, use the Style panel. See [The Style panel](https://docs.xodia.ai/editing/visual-editor#style-panel).
- Shared styles, next to it in the rail, is where you see where each class is used, rename it everywhere and clean up unused ones.

> **Note:** Colours and fonts used to be called Variables. See [Names that changed](https://docs.xodia.ai/reference/names).
