Skip to content

src/dazzle_ui/themes/presets.py

Generated: 2026-03-30T04:38:49.444438+00:00

Commit: 615f1354a103

Language: python

Scope: dazzle_ui

Purpose

Theme presets for DAZZLE.

Defines predefined theme configurations that can be selected in dazzle.toml or sitespec.yaml. Each preset is a ThemeSpec instance with complete token definitions for colors, shadows, spacing, and typography.

Key Exports

  • get_theme_preset
  • list_theme_presets

Dependencies

Imports

  • dazzle_ui.specs.theme.TextStyle
  • dazzle_ui.specs.theme.ThemeSpec
  • dazzle_ui.specs.theme.ThemeTokens
  • dazzle_ui.specs.theme.VariantSpec

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/unit/test_theme_presets.py
  • tests/unit/test_themespec.py

Notes

This page was automatically generated by tools/gen_reference_docs.py.