Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateChromaCSS ¶
GenerateChromaCSS produces CSS rules for syntax highlighting from two Chroma style names. The light theme CSS is emitted unscoped; the dark theme CSS is wrapped in [data-theme="dark"] { } using CSS nesting. Both are wrapped in @layer sarde.components so they participate in the cascade correctly.
func GenerateStyleCSS ¶
GenerateStyleCSS produces CSS rules for a single Chroma style.
func IsKnownStyle ¶
IsKnownStyle reports whether name matches a built-in Chroma style.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.