Metadata-Version: 2.4
Name: doxtr-theme-core
Version: 0.2.0
Summary: Universal theme core foundation (palettes, color DSL, dark mode, fonts, stylebox, brand orchestration) across HTML, PDF, and future renderers.
Author: Jens Frey
Project-URL: Homepage, https://github.com/doxtr/doxtr-theme-core
Project-URL: Repository, https://github.com/doxtr/doxtr-theme-core
Project-URL: Issues, https://github.com/doxtr/doxtr-theme-core/issues
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Framework :: Sphinx :: Extension
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Documentation :: Sphinx
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: sphinx>=7.0
Requires-Dist: docutils>=0.19
Dynamic: license-file

# doxtr-theme-core

Universal multi-target theme foundation for the `doxtr` Sphinx ecosystem.

Provides shared primitives for HTML (`doxtr-html-theme-core`), PDF (`doxtr-pdf-theme-core`), brand suites (`doxtr-theme-aubergine`), Confluence, and future EPUB / Swift renderers:

- Typed `ThemeSpec`, `ColorPalette`, `FontSpec`, and `BrandConfig` contracts
- `dd:` dynamic color expression engine + WCAG AA/AAA contrast helpers + CSS token emission
- Unified light/dark mode state (`doxtr_color_scheme` / `doxtr_dark_mode`) and `_dark` asset swapping
- Unified font registration (`LaTeX` + `@font-face` CSS stacks)
- Universal `.. stylebox::` directive (HTML, LaTeX, Confluence)
- Brand-to-renderer orchestration with automatic `-core` fallback and `-user` renderer compatibility
- AI authoring agent style guidance (`get_ai_style_guidance`)
