Skip to main content

A clean Sphinx theme with phosphor-green / UV-violet dual-accent color system

Reason this release was yanked:

superseded by 1.3.0.0

Project description

Clarity

A clean Sphinx theme with phosphor-green / UV-violet dual-accent color system.

Features

  • Dual-accent color system -- phosphor-green (#39ff14) in dark mode, UV-violet (#7b2ff7) in light mode
  • Dark / light / system theme toggle with localStorage persistence
  • Two font stacks -- default (Orbitron / Inter / Intel One Mono) or system (native OS fonts)
  • Custom Pygments styles -- clarity-dark and clarity-light with phosphor-tinted syntax colors
  • Three-column layout -- sidebar, content, table of contents
  • Responsive -- desktop, tablet, mobile breakpoints
  • Keyboard navigation -- arrow keys (prev/next), / (search)
  • Code block language badges
  • Dual logo support -- separate images for dark and light modes

Install

pip install sphinx-clarity

Usage

# conf.py
html_theme = "clarity"
html_theme_options = {
    "default_theme": "system",
    "font_stack": "default",      # or "system"
    "navigation_with_keys": True,
    "show_toc_level": 2,
}

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx_clarity-1.0.1.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_clarity-1.0.1-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_clarity-1.0.1.tar.gz.

File metadata

  • Download URL: sphinx_clarity-1.0.1.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sphinx_clarity-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ee7dd6ab0f1e23a007d02d51f13e86c0dbc0e550ef7661393fb746ed3347ed2a
MD5 fc6d62370dc30da251c659a394d96ab8
BLAKE2b-256 e0802046473290bde8fa3d13cf6c2ec47c2715d5250cf9fc05f90eb0319f7185

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_clarity-1.0.1.tar.gz:

Publisher: ci.yml on relicloops/clarity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sphinx_clarity-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: sphinx_clarity-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sphinx_clarity-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e97d578b2327a65e980f187c265df6856738fdcd4b1443962aa5c869840cf682
MD5 f1e87cbfec414ac8dfc63db8468fb04b
BLAKE2b-256 b83c2499d3110d25c5b7693cf954b6b478cf79540ef183e05329eaa59a769ad5

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_clarity-1.0.1-py3-none-any.whl:

Publisher: ci.yml on relicloops/clarity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page