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.2.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.2-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx_clarity-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 369d1fab52b4f523817149432b6f4942124eb0d81dbeec85cf2ab4c3675ebb15
MD5 f27718dea087ec4f5ba603063cd9f799
BLAKE2b-256 3a2ecf39c6c31f7f610adcd962aafcd3c11feecbd398299c912a622b32c00caf

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: sphinx_clarity-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db9e0501539d8e3c4b98c95469b6596c4d0c9a2495adebffd06d159d82716bd2
MD5 e87c2abf3471b435c9fa9dcdf44ee849
BLAKE2b-256 a9bf9a17b1fa2fe38e32862a63fac7f699a3eb2edd1ffe86dbb4612a6eb01d09

See more details on using hashes here.

Provenance

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