Skip to main content

jupyterlab-redis-theme

Redis Light and Redis Dark themes for JupyterLab 4, built from the redis-brand-ui guidelines (brand.redis.io).

Install

From PyPI (no Node.js needed; the extension is prebuilt):

pip install jupyterlab-redis-theme
jupyter labextension list   # should show jupyterlab-redis-theme enabled

From a checkout (needs Python 3.9+, Node.js and JupyterLab 4):

pip install .

Then in JupyterLab: Settings → Theme → Redis Light / Redis Dark.

Development: pip install -e . && jupyter labextension develop . --overwrite, then jlpm watch. Regenerate the CSS with jlpm css (needs python on PATH); the generated file is committed so normal builds do not need it.

How it works

Each theme loads JupyterLab's built-in Light/Dark theme first (so every --jp-* variable stays defined and tracks JupyterLab upgrades), then style/index.css, which overrides colours, fonts and a few widgets. That file is generated — edit scripts/generate_css.py and run jlpm css. The generator also checks WCAG contrast for every text/background pair and fails the build if one drops below AA.

Design decisions

  • Hyper #FF4438 is an accent, not a fill for text. White on Hyper/Deep Hyper fails AA, so selected file rows and primary dialog buttons use navy/neutral fills with a Hyper edge, per the brand guide's button pattern. Hyper drives tab indicators, the cursor, focus rings and active cell borders.
  • No generated red scale. Selections and tints are mixes of #B9C2C6.
  • Fonts: Space Grotesk (UI) and Space Mono (code) are bundled as woff2 in style/fonts/, so the theme works offline and makes no Google Fonts requests. See Third-party fonts.
  • Logo: not shipped (brand guide: never recreate it). Download the official Redis_Mark_*_RGB.svg from https://brand.redis.io/document/18, save as style/redis-mark.svg, and uncomment the logo block in the generator.
  • Deviations from the web brand guide: the 44px target applies to dialog buttons only (JupyterLab toolbars are dense by design); spacing is JupyterLab's own grid, not 8px.

Third-party fonts

The fonts in style/fonts/ are not covered by this package's BSD-3-Clause licence. Both are distributed under the SIL Open Font License 1.1:

The font files are unmodified upstream woff2 files. The licence texts ship in the wheel under share/jupyter/labextensions/jupyterlab-redis-theme/licenses/. If you replace or subset a font, re-read its OFL first.

Provisional values — needs design review

  • Dark palette uses the guide's product extension tokens, not official brand colours.
  • Syntax-highlight hues (violet, teal, blue, green) are not from the brand guide, which defines none; they are chosen to pass 4.5:1 and live in one dict in the generator.
  • Neutral tints (bg2, editor background, selections) are computed mixes.
  • This theme has not been reviewed against redis-product-ui, which the brand guide says governs developer-tool UIs.

Releasing

  1. Bump version in package.json (the Python version is derived from it) and add an entry to CHANGELOG.md.
  2. Commit, then tag and push: git tag v0.1.1 && git push origin main v0.1.1.
  3. The Release workflow builds the sdist and wheel and publishes to PyPI via trusted publishing. One-time setup: on PyPI, add a trusted publisher for this repository with workflow release.yml and environment pypi.

Check a build locally first with python -m build && twine check dist/*.

Metadata

Release files for jupyterlab-redis-theme 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterlab-redis-theme 0.1.0
File Size Uploaded Provenance Actions
jupyterlab_redis_theme-0.1.0.tar.gz 445.8 kB With provenance Details for jupyterlab_redis_theme-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-redis-theme 0.1.0
File Interpreter ABI Platform Actions
jupyterlab_redis_theme-0.1.0-py3-none-any.whl Python 3 none any Details for jupyterlab_redis_theme-0.1.0-py3-none-any.whl

Total release size: 660.2 kB

Release files / jupyterlab_redis_theme-0.1.0.tar.gz

Download URL jupyterlab_redis_theme-0.1.0.tar.gz
Size 445.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c39d88c8f87375436b070e26b33be3daf2f84aa81586c0b565e820c039fb4a07
BLAKE2b-256 checksum
How to use checksums
b6ac7eb63423c15354dc6b60c84da8489f8a48e8b007a1ee93679af7e4f7f738
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 1, 2026.

Transparency log

Release files / jupyterlab_redis_theme-0.1.0-py3-none-any.whl

Download URL jupyterlab_redis_theme-0.1.0-py3-none-any.whl
Size 214.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
beffb6ea754a4929bc5496bd2ba61839c4ba2559f279052880008cc09e1d4a53
BLAKE2b-256 checksum
How to use checksums
d4bf9fbf8fe24a9b95721975c6adbecf1f6372a8374abea7de16010e397a1d1a
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 1, 2026.

Transparency log

Security for jupyterlab-redis-theme 0.1.0

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 jupyterlab_redis_theme-0.1.0.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 1, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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