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.3.tar.gz (32.2 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.3-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx_clarity-1.0.3.tar.gz
  • Upload date:
  • Size: 32.2 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.3.tar.gz
Algorithm Hash digest
SHA256 706f95adde6f53fa587b7a73e746a360721ed1a0c1373f5936d301cf87d2ed11
MD5 67a03ecf340af5a4abf25f1db4e59a70
BLAKE2b-256 a6441b36789ca9c099f07416876325dc71b3970c0c3668e63a3fb8d9a31e51a1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: sphinx_clarity-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 25.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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2ac27b1180cc733c65ef815978e7351070a4962dd03b96b3c738bdcf0d02efd0
MD5 0c34e0ce5e23b71235c00d50648cae51
BLAKE2b-256 3fbb0b20c44bbaca41404e28efa3bee1a031a0c86531bed64a6e7ba6b22dcb39

See more details on using hashes here.

Provenance

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