Theming¶
Control the color scheme of panel-live using the theme attribute.
Auto theme (default)¶
Follows the user's operating system preference via prefers-color-scheme. This is the default when no theme is specified.
Light theme¶
Forces a light color scheme regardless of system preference.
Dark theme¶
Forces a dark color scheme regardless of system preference.
Fence syntax¶
When to use each¶
| Scenario | Recommended |
|---|---|
| General documentation | auto (respect user preference) |
| Light-only brand requirement | light |
| Terminal-style / hacker aesthetic | dark |
| Screenshots for docs/blog | light or dark (deterministic) |