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

Preview

Rendered from doxamples with draft margin stamps enabled (PREVIEW — YYYY-MM-DD — doxtr-pdf-theme-aubergine).

Light PDF Dark PDF
Aubergine PDF Light Aubergine PDF Dark

License

MIT

Metadata

Release files for doxtr-pdf-theme-aubergine 0.3.3

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.3.3
File Size Uploaded Provenance Actions
doxtr_pdf_theme_aubergine-0.3.3.tar.gz 15.3 kB With provenance Details for doxtr_pdf_theme_aubergine-0.3.3.tar.gz

Built distribution (wheel)

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

Total release size: 24.6 kB

Release files / doxtr_pdf_theme_aubergine-0.3.3.tar.gz

Download URL doxtr_pdf_theme_aubergine-0.3.3.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3b7b1ee230a20313f557836e4f689d75f0c55b41c02656a67c967805e7d46a9d
BLAKE2b-256 checksum
How to use checksums
80bff4e4c48aef7382a4dc6daa03610d8d7ed6d93925e263723753c61b253347
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 4, 2026.

Transparency log

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

Download URL doxtr_pdf_theme_aubergine-0.3.3-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56baa348411fe801ff893aa45d0cb03a26df3421c5f815b576e290e5b09fbc6a
BLAKE2b-256 checksum
How to use checksums
314b84c6f72373126dce5a91b4368bf54f36ee5e7ef9a4d0c6229f138cabf4c7
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 4, 2026.

Transparency log

Security for doxtr-pdf-theme-aubergine 0.3.3

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.3.3.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 4, 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