Doxtr PDF Theme — Aubergine
A warm, professional PDF theme for doxtr-pdf-theme-core featuring deep aubergine tones, vibrant orange accents, and the Ubuntu font family.
This theme also serves as the reference implementation for building child themes. See the core README for a complete walkthrough on creating your own theme.
Installation
pip install doxtr-pdf-theme-aubergine
Or install from source:
pip install -e /path/to/doxtr_pdf_theme_aubergine
Usage
Standalone PDF (Keep Any HTML/EPUB Theme)
In your Sphinx conf.py:
extensions = [
# ... your other extensions ...
"doxtr_pdf_theme_aubergine",
]
This applies Aubergine LaTeX/PDF styling (via doxtr-pdf-theme-core) without changing your html_theme or epub_theme. For example, you can use pydata_sphinx_theme for HTML and Aubergine for PDF:
extensions = ["doxtr_pdf_theme_aubergine"]
html_theme = "pydata_sphinx_theme"
Multi-Format Aubergine Orchestration (HTML + PDF + EPUB)
To style HTML, PDF, and EPUB together with Aubergine:
extensions = ["doxtr_theme_aubergine"]
Sharing One Color Theme Across Different Layout Themes
Pair doxtr_pdf_theme_aubergine with another HTML or EPUB layout (like doxtr_core / doxtr_epub_core) while driving all formats from one doxtr_semantic_palette or ThemeSpec:
extensions = ["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 keep the Aubergine brand palette across formats while swapping only the HTML/EPUB layout:
extensions = ["doxtr_theme_aubergine"]
html_theme = "doxtr_core"
Customization
You can override any setting in your conf.py. The merge order is:
Core Defaults → Aubergine Theme Defaults → Your conf.py
Example: Change the title page subtitle
doxtr_title_page = {
'subtitle': 'My Custom Subtitle',
}
Example: Override admonition colors
doxtr_admonitions = {
'note': {
'title_background_color': '#0066CC',
},
}
Example: Use a different monospace font
doxtr_mono_font = 'Ubuntu Sans Mono'
Example: Activate draft watermark
doxtr_draft = {
'text': 'DRAFT - {date} - V: {project_version}',
}
Color Palette
| Role | Light | Dark |
|---|---|---|
| Primary | #5B21B6 |
#C4B5FD |
| Secondary | #1D4ED8 |
#60A5FA |
| Accent | #C2410C |
#FB923C |
| Info | #1D4ED8 |
#60A5FA |
| Success | #15803D |
#4ADE80 |
| Warning | #B45309 |
#FBBF24 |
| Danger | #B91C1C |
#F87171 |
| Page background | #FFFFFF |
#111015 |
| Title cover background | #2C001E |
#1A1120 |
| Neutral | #AEA79F |
#A8A0B2 |
Font Stack
| Purpose | Font |
|---|---|
| Body text | Ubuntu Light (via Ubuntu family with weight mapping) |
| Headings / Sans | Ubuntu |
| Code / Monospace | Ubuntu Mono |
Requirements
- Python >= 3.10
doxtr-theme-core>= 0.1.0doxtr-theme-aubergine>= 0.1.0doxtr-pdf-theme-core>= 2.0.0- LuaLaTeX (set automatically by the core)
- Ubuntu font family (pre-installed in the Doxtr Reactor container)
Creating Your Own Theme
This package demonstrates the full pattern. The key ingredients are:
- Call
core_setup(app)to initialize the engine - Set
doxtr_semantic_palette— 6 colors that drive the entire document - Set
doxtr_main_font/doxtr_sans_font/doxtr_mono_font - Set
doxtr_theme_defaults— per-element styling overrides - Optionally provide
.tex_tfiles viadoxtr_theme_style_paths
For the complete guide with examples, see: Create a Child Theme — Walkthrough
License
MIT
Metadata
Release files for doxtr-pdf-theme-aubergine 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_pdf_theme_aubergine-0.3.0.tar.gz | 14.8 kB | With provenance | Details for doxtr_pdf_theme_aubergine-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| doxtr_pdf_theme_aubergine-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for doxtr_pdf_theme_aubergine-0.3.0-py3-none-any.whl |
Total release size: 23.9 kB
Release files / doxtr_pdf_theme_aubergine-0.3.0.tar.gz
| Download URL | doxtr_pdf_theme_aubergine-0.3.0.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6cbb96882ed0da3c3554b89f960b4ac5d7da4a6a8cfe073d7e6e75714beddf10
|
|
BLAKE2b-256 checksum How to use checksums |
5499675a88cbce35f4ae64fbfd9cee060e6e4835009e215083f68e45737820c2
|
| 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 Dec 1, 2026.
Transparency logRelease files / doxtr_pdf_theme_aubergine-0.3.0-py3-none-any.whl
| Download URL | doxtr_pdf_theme_aubergine-0.3.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
089dbbc764fea5c2fb8acbf4f62db13737b41e59c60fc6032520208d389c9416
|
|
BLAKE2b-256 checksum How to use checksums |
7225e2480310e6decc800bf043b707a25d4fcf5e270a94ec32d3a6721d2c5031
|
| 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 Dec 1, 2026.
Transparency logSecurity for doxtr-pdf-theme-aubergine 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_pdf_theme_aubergine-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 Dec 1, 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.