Repository navigation
Making a theme
A theme changes how every page looks: colours, fonts, corners and width. You can make one without code in the Studio, or by hand.
The easy way: go to Style, adjust colours, fonts and shapes, press Save style, then use
Your themes → Save my current style as a theme. Download it as a .zip to keep it or share it.
By hand: a theme is a folder with these files:
my-theme/
├── theme.json name, colours, fonts (required)
├── theme.css styles (required)
├── fonts/ optional .woff2 / .woff files
└── images/ optional .jpg .png .gif .webp files
theme.json:
{
"id": "my-theme",
"name": "My Theme",
"description": "Short description",
"author": "Your name",
"dark": false,
"defaults": {
"bg": "#ffffff", "surface": "#f5f5f5", "text": "#111111", "muted": "#666666",
"accent": "#111111", "accentText": "#ffffff", "border": "#e5e5e5",
"headingFont": "modern", "bodyFont": "modern",
"radius": 8, "width": 1080, "fontSize": 17
},
"alt": { "bg": "#111111", "surface": "#1b1b1b", "text": "#f2f2f2", "muted": "#a0a0a0",
"accent": "#f2f2f2", "accentText": "#111111", "border": "#2b2b2b" }
}-
altis the palette for the visitor light/dark switch. -
Fonts: pick
headingFontandbodyFontfromclassic,didone,modern,humanist,geometricormono. To use your own font, put the file infonts/, add an@font-facerule intheme.css(src: url(fonts/my.woff2)), then setfont-family. -
Selectors: start every rule in
theme.csswith.theme-my-theme(your theme id).
The shared layout lives in assets/site.css, and all colours come from CSS variables:
--tc-bg, --tc-surface, --tc-text, --tc-muted, --tc-accent, --tc-accent-text, --tc-border,
--tc-font-heading, --tc-font-body, --tc-radius, --tc-wide, --tc-font-size.
Install it: zip the folder and upload it in Style → Your themes, or copy the folder into themes/ by FTP.
See examples/theme-sand for a complete example, and the official themes for more.