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), EPUB (doxtr-epub-theme-core), brand suites (doxtr-theme-aubergine), Confluence, and future renderers:
- Typed
ThemeSpec,ColorPalette,FontSpec, andBrandConfigcontracts 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_darkasset swapping - Unified font registration (
LaTeX+@font-faceCSS stacks) - Universal
.. stylebox::directive (HTML, LaTeX, Confluence) - Brand-to-renderer orchestration (
setup_brand_theme,activate_brand_theme) with automatic-corefallback and-userrenderer compatibility - AI authoring agent style guidance (
get_ai_style_guidance)
Loading Themes
doxtr-theme-core supports both Sphinx's native theme entry points (no extensions needed for HTML/EPUB) and full multi-format brand orchestration:
- Single-format auto-loading (
html_theme/epub_theme):# conf.py — works just like pydata_sphinx_theme html_theme = "doxtr_core" # or "doxtr_aubergine" epub_theme = "doxtr_epub_core" # or "doxtr_epub_aubergine"
- Multi-format brand suite (
extensions) (needed when PDF/LaTeX output is also built, because Sphinx only auto-loads HTML/EPUB themes fromhtml_theme/epub_theme):extensions = ["doxtr_theme_aubergine"]
Mixing & Matching Themes per Format
Use independent layout themes for HTML, PDF, and EPUB in conf.py:
# PyData HTML + Aubergine PDF + Core EPUB
extensions = ["doxtr_pdf_theme_aubergine"]
html_theme = "pydata_sphinx_theme"
epub_theme = "doxtr_epub_core"
Or override individual renderers on top of a brand suite:
extensions = ["doxtr_theme_aubergine"]
doxtr_html_renderer = "doxtr_html_theme_core" # or html_theme = "doxtr_core" / "none" to skip
doxtr_pdf_renderer = "doxtr_pdf_theme_core"
doxtr_epub_renderer = "doxtr_epub_theme_core"
Sharing One Color Theme Across Different Layout Themes
Because color palettes and typography live cleanly in doxtr-theme-core, different HTML, PDF, and EPUB layout themes automatically share the same light/dark colors and dd: expressions:
# Core HTML + Aubergine PDF + Core EPUB, all styled with your brand colors
extensions = ["doxtr_theme_core", "doxtr_pdf_theme_aubergine"]
html_theme = "doxtr_core"
epub_theme = "doxtr_epub_core"
doxtr_semantic_palette = {
"primary": "#0F4C81",
"secondary": "#1D4ED8",
"accent": "#EA580C",
"dark": {"primary": "#93C5FD", "page": "#0F172A"},
}
Or share a reusable ThemeSpec brand (such as doxtr_theme_aubergine) while picking different layouts per format (html_theme = "doxtr_core", extensions = ["doxtr_theme_aubergine", "doxtr_pdf_theme_core"]).
Metadata
Release files for doxtr-theme-core 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| doxtr_theme_core-0.3.0.tar.gz | 1.6 MB | With provenance | Details for doxtr_theme_core-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| doxtr_theme_core-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for doxtr_theme_core-0.3.0-py3-none-any.whl |
Total release size: 3.1 MB
Release files / doxtr_theme_core-0.3.0.tar.gz
| Download URL | doxtr_theme_core-0.3.0.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
266e00116f765e3d311714aaf5604a808b1da21dde30999dd70f09d53c11df58
|
|
BLAKE2b-256 checksum How to use checksums |
7e6331f49be2cac773eff400d980a3458293975d28ca3a1465dffdf0e204cf5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / doxtr_theme_core-0.3.0-py3-none-any.whl
| Download URL | doxtr_theme_core-0.3.0-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce25a2cb0df47a32399c003f105da08ff99d4778727b3ce9e490433e2a73cd20
|
|
BLAKE2b-256 checksum How to use checksums |
343c85968f1059e98ab9f59d87ab77eaf2922700fe918b42036bcbbf2c430025
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logSecurity for doxtr-theme-core 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for doxtr_theme_core-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.