If you just want to change a few colors or swap a font, Colors & Fonts covers that. A theme is the next step: a coherent visual identity that goes beyond individual tweaks.
In Xanthan, a “theme” is simply a single CSS file that overrides the defaults. There’s no theme marketplace, no plugin system, no configuration wizard. You create a .css file, put your style overrides in it, and link it in your site’s header. That’s it.
This is deliberately different from platforms like WordPress or Squarespace, where “theme” means a complex package of templates, scripts, and settings that you install and configure. In Xanthan, the structure of your site—layouts, includes, navigation—stays the same. A theme only changes how things look: colors, fonts, spacing, borders, shadows. You’re writing CSS, not installing software.
This keeps things transparent and portable:
base.css stays intact as a working referenceCSS files load in order, and later files override earlier ones:
base.css (defaults)typography.css, nav.css, cards.css (component styles)Your theme file only needs to include what you’re changing—everything else is inherited from the defaults.
Best for: A different palette without changing layout or structure.
Xanthan includes simple-theme.css as a starting point. It shows how to define a color palette and map it to semantic variables.
To create your theme:
assets/css/simple-theme.css to my-theme.css:root section_includes/page-header.html:
<link href="/scrollstory-template//assets/css/my-theme.css" rel="stylesheet">
Example from simple-theme.css:
:root {
/* Your color palette */
--ocean-blue: #2c5f7c;
--cloud-white: #f7f9fb;
--pearl: #e8eef2;
/* Map to semantic variables */
--bg-page: var(--cloud-white);
--accent-primary: var(--ocean-blue);
--text-body: var(--charcoal);
}
The file includes detailed comments explaining each variable.
Best for: Changing visual styles beyond colors—typography, navigation, component styling.
Study dark-energy.css to see what’s possible. It demonstrates:
To use dark-energy.css:
_includes/page-header.html, uncomment:
<link href="/scrollstory-template//assets/css/dark-energy.css" rel="stylesheet">
To create your own advanced theme:
Copy dark-energy.css as a starting point and modify the element overrides to match your design vision.
Terra Cotta (terra-cotta.css) - The original Xanthan aesthetic with warm, earthy colors. A simple theme (variables only) showing the original design.
Activate any theme by uncommenting its link in _includes/page-header.html.
To switch between themes, edit _includes/page-header.html:
<link> tag with <!-- and --><link> tagTheme not showing:
page-header.html<link> tag is uncommentedassets/css/Some elements unchanged:
!important to the property: color: var(--teal) !important;