v0.5.0
Menu

#Theming

#Presets

theme: {
    preset: 'catppuccin'
}

The presets are default, catppuccin, nord, rose-pine and synz. Code blocks use the matching syntax theme.

#Accent Color

theme: {
    preset: 'nord',
    accentColor: '#a3be8c'
}

The accent color replaces the preset's accent and leaves the rest of the theme alone.

#CSS Variables

vars: {
    '--bg': '#0f0f0f',
    '--font': '"IBM Plex Mono", monospace'
}

#Custom CSS

customCss: `
    .header-logo {
        letter-spacing: 0.1em;
    }
`

Custom CSS is injected after the theme styles, so it wins over any preset.