Skip to content
GitHub

Styling

Guide to styling components with the color system and layout setup.

Overview

Everything here is driven by CSS variables, which is what keeps borders crisp and stacking clear on screen. If you need the token list and how colors map to utilities, read Colors. Borders are deliberately a little see-through and sit next to light shadows so surfaces read as separate layers. You can swap in your own palette, but the defaults are balanced for that recipe—typical flat themes often end up with muddier edges or flatter depth.

Installation

See Get Started for setup. To add the theme yourself, paste the following into globals.css:

Font Variables

The theme preset defines --font-sans with system fallbacks. To use custom typefaces, set this variable in your layout via next/font or @fontsource-variable:

Apply the variables on html or body so they cascade.

Customizing Colors

To customize colors interactively, use the Themes page: pick primary and gray bases, adjust border radius, preview light and dark, then copy the generated CSS variables into your globals.css (or merge them with the snippet below).