Styles

Fonts, colors, light and dark mode, shadows, corners, spacing, motion and custom CSS.

Styles, the paintbrush icon in the icon rail, hold the design your whole theme shares: fonts and text sizes, color schemes and the light or dark mode, shadows, corners, page widths, spacing and motion. Blocks pick from these presets, so one change in Styles reaches every page.

Start with how styles work, then set your fonts and colors.

Where to start

How styles work

The design settings your whole theme shares, the named presets blocks pick from, and the Style book that shows them all on one sheet.

Change your fonts

Font pairs, the Headings, Body and Monospace fonts, and the Google Fonts list in Styles, Typography.

Change your colors

The built-in color schemes, the colors each one sets, and how to change a single color in Styles, Colors.

Light and dark mode

The color mode your site opens in, the toggle that lets visitors switch, and a second logo for dark backgrounds.

Text styles and font sizes

How body text, headings H1 to H6, links, captions, quotes and code look across your theme, and the named font sizes they use.

Add custom CSS

Where to put your own CSS in a Fantasma theme, how block CSS and CSS classes work, and every CSS variable the theme sets.

Articles