custom-theme

command
v0.0.0-...-db331fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2026 License: MIT Imports: 4 Imported by: 0

README

custom-theme example

Pass Options.CSS to override the default stylesheet wholesale. The page structure (nav, headings, code blocks, tables) stays the same so any CSS that targets body, h1, h2, nav.sidebar, code, pre, table, .muted will land cleanly.

$ go run ./examples/custom-theme ./site
$ open ./site/index.html

This example uses a deliberately-loud retro green-and-magenta theme. Replace retroCSS with your company's design tokens (or import a stylesheet via Options.CSS containing @import url(...)).

Documentation

Overview

Command custom-theme overrides the default stylesheet with operator CSS. Page structure stays the same; only colors / typography differ.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL