Skip to content

src/dazzle_ui/specs/theme.py

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

Commit: 615f1354a103

Language: python

Scope: dazzle_ui

Purpose

Theme specification types for UISpec.

Defines themes, variants, and design tokens.

Key Exports

  • TextStyle
  • ThemeTokens
  • VariantSpec
  • ThemeSpec
  • get_variant

Dependencies

Imports

  • __future__.annotations
  • typing.Any
  • pydantic.BaseModel
  • pydantic.ConfigDict
  • pydantic.Field

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

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

Notes

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