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
In your Sphinx conf.py:
extensions = [
# ... your other extensions ...
'doxtr_pdf_theme_aubergine',
]
That's it! The theme loads the core automatically and applies all styling.
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 | Color | Hex |
|---|---|---|
| Primary (structural) | Aubergine | #772953 |
| Secondary (accent) | Orange | #E95420 |
| Info | Blue | #24598F |
| Success | Green | #0E8420 |
| Warning | Amber | #CC7900 |
| Danger | Red | #C7162B |
| Background (dark) | Dark Aubergine | #2C001E |
| Neutral | Warm Grey | #AEA79F |
Font Stack
| Purpose | Font |
|---|---|
| Body text | Ubuntu Light (via Ubuntu family with weight mapping) |
| Headings / Sans | Ubuntu |
| Code / Monospace | Ubuntu Mono |
Requirements
- Python >= 3.8
doxtr-pdf-theme-core>= 0.1.10- LuaLaTeX (set automatically by the core)
- Ubuntu font family (pre-installed in the Doxtr Docker image)
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.1.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.1.0.tar.gz | 11.7 kB | With provenance | Details for doxtr_pdf_theme_aubergine-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| doxtr_pdf_theme_aubergine-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for doxtr_pdf_theme_aubergine-0.1.0-py3-none-any.whl |
Total release size: 19.5 kB
Release files / doxtr_pdf_theme_aubergine-0.1.0.tar.gz
| Download URL | doxtr_pdf_theme_aubergine-0.1.0.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9a990fa2859a3fbb02212d1cd2b72052ef4b4229afb323521f1a5329de1acd6
|
|
BLAKE2b-256 checksum How to use checksums |
c5b6e8113d5d1248123b2f19cfc00279d51d284d8536d5c9d3b6a590bbf8a225
|
| 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_pdf_theme_aubergine-0.1.0-py3-none-any.whl
| Download URL | doxtr_pdf_theme_aubergine-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8ad050d800614d40494fbe5ad887bef344040604b2e283ea8d39ee884614f6d
|
|
BLAKE2b-256 checksum How to use checksums |
51492749f94ccf2d58f0ad427126e5ef2d6f4fa420ce807b9fcebdb473695b9a
|
| 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-pdf-theme-aubergine 0.1.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.1.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.