# Theming with Tokens > Customize colors, elevation, and animations using theme tokens and Tailwind utilities. This theme centralizes styling in CSS variables (tokens) and small component classes. You can customize appearance without editing component CSS by changing tokens. Where tokens live # Architecture: assets/css/architecture/ colors*.css: color palettes and brand tokens elevation-system.css: shadow/elevation tokens (e.g., --elevation-2, --elevation-hover-4) animation-system.css: timing/easing/transform tokens layout-foundations.css: spacing/width/z-index and layout tokens Overriding tokens # Prefer setting variables at :root or section/page scope. For a section: html
Or in front matter, use layoutConfig for supported tokens: yaml layoutConfig: leftRailWidth: 20rem density: compact To theme a single article area: html
Tailwind + tokens # Use Tailwind for layout/spacing/typography, tokens for values: html

Heading

Dark mode # Colors use CSS variables so dark mode switches automatically. Use Tailwind dark: utilities for stateful differences. html

This text adapts to dark mode.

Elevation and interactions # html
Hover/active effects rely on animation-system.css timing tokens and .interact-* classes (where used). Prefer these over bespoke transitions. ## Metadata - **Section**: guides - **Type**: guides - **Author**: Lawrence Lane - **Parent**: [Theming with Tokens](/guides/index.txt) ## Navigation - **Current Section**: [Theming with Tokens](/guides/index.txt)