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.0.tar.gz (29.4 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.0-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx_clarity-1.0.0.tar.gz
  • Upload date:
  • Size: 29.4 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.0.tar.gz
Algorithm Hash digest
SHA256 dcf56ccf371eb126fe17d0eb0f1deeb32e492a0e12c2da29339882eab070333c
MD5 a1db1a80d4b91445389adc98b17ab917
BLAKE2b-256 4ef01771f0c4e84ecfb8ebf43c6b8118c4528d589bd1667390ceee2493a9a47d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_clarity-1.0.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: sphinx_clarity-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 23.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bda73fc90ff271650b08ab99f028f144c2969fa0e69a9adc3637f8c501d370e6
MD5 4d2e1a0d1c391eca7d6d1d99152ec6b3
BLAKE2b-256 fcc79a0ab32e8742e63925ac729953a882b2ad9128179643d19dbe086e646d1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_clarity-1.0.0-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