Skip to main content

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.0
  • doxtr-theme-aubergine >= 0.1.0
  • doxtr-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:

  1. Call core_setup(app) to initialize the engine
  2. Set doxtr_semantic_palette — 6 colors that drive the entire document
  3. Set doxtr_main_font / doxtr_sans_font / doxtr_mono_font
  4. Set doxtr_theme_defaults — per-element styling overrides
  5. Optionally provide .tex_t files via doxtr_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.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for doxtr-pdf-theme-aubergine 0.2.0
File Size Uploaded Provenance Actions
doxtr_pdf_theme_aubergine-0.2.0.tar.gz 13.6 kB With provenance Details for doxtr_pdf_theme_aubergine-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for doxtr-pdf-theme-aubergine 0.2.0
File Interpreter ABI Platform Actions
doxtr_pdf_theme_aubergine-0.2.0-py3-none-any.whl Python 3 none any Details for doxtr_pdf_theme_aubergine-0.2.0-py3-none-any.whl

Total release size: 22.2 kB

Release files / doxtr_pdf_theme_aubergine-0.2.0.tar.gz

Download URL doxtr_pdf_theme_aubergine-0.2.0.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d56b18cb3a464929ce565adf62f733773f82e6096e18e2cf6c56a4522ed90137
BLAKE2b-256 checksum
How to use checksums
f66a4a15097827693ea39c92c81e39cd758cb258c2da57222b77290f949c7854
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 log

Release files / doxtr_pdf_theme_aubergine-0.2.0-py3-none-any.whl

Download URL doxtr_pdf_theme_aubergine-0.2.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91be06cc262a825ebbb0888d14ea6396ab0f85528e39bb299c69d0599555f983
BLAKE2b-256 checksum
How to use checksums
a0205687b192475f78e8c4db8e386d9bd9a88a6903e23ae7887edabaa2b4be2b
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 log

Security for doxtr-pdf-theme-aubergine 0.2.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.

Select from 2 files

Attestation for doxtr_pdf_theme_aubergine-0.2.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 log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page