Ipe Midnight JupyterLab
A comfy dark JupyterLab theme
It comes with the three variants:
| Theme | Character |
|---|---|
Ipe Midnight |
The original: vivid pinks, purples, blues |
Ipe Midnight Soft |
The same hues, muted for long sessions |
Ipe Midnight Cold |
Cool hues only: indigo, violet, teal, mint |
|
Default |
Soft |
Cold |
Requirements
- JupyterLab 4
Install
pip install jupyterlab_ipe_midnight_theme
Then pick a variant under Settings > Theme. To remove it, run
pip uninstall jupyterlab_ipe_midnight_theme.
IPython and Jupyter Console
The package also installs terminal themes named ipe-midnight, ipe-midnight-soft and
ipe-midnight-cold. They use the JupyterLab syntax colors and are made for a dark terminal
background. Terminal programs are configured separately, so these themes do not follow the
variant selected in JupyterLab.
IPython, in ipython_config.py:
c.InteractiveShell.colors = "ipe-midnight"
c.TerminalInteractiveShell.true_color = True
IPython 9.0 to 9.17 cannot discover installed themes, so also add this before the lines above:
from jupyterlab_ipe_midnight_theme.terminal import register_ipython_themes
register_ipython_themes()
Changing InteractiveShell.colors also applies to tracebacks printed by IPython kernels, which
includes Jupyter Console and JupyterLab. Use TerminalInteractiveShell.colors to limit it to the
ipython command.
Jupyter Console, in jupyter_console_config.py:
from jupyterlab_ipe_midnight_theme.terminal import console_prompt_styles
c.ZMQTerminalInteractiveShell.highlighting_style = "ipe-midnight"
c.ZMQTerminalInteractiveShell.highlighting_style_overrides = console_prompt_styles("ipe-midnight")
c.ZMQTerminalInteractiveShell.true_color = True
Any highlighting_style_overrides you already set take priority over the theme in IPython, and
replace the prompt colors in Jupyter Console, so remove them first.
The completion menu keeps the default colors, because IPython themes cannot style it.
Color Palettes
-
Ipe Midnight
-
Ipe Midnight Soft
-
Ipe Midnight Cold
Development
Any change, fix, addition or bug report are welcome and appreciated.
You need NodeJS and Python 3.14, and JupyterLab 4 to build the extension.
pip install -e ".[dev]" # also runs the first build
jupyter-builder develop . --overwrite
jlpm watch # rebuild on change, then refresh the browser
The colors live in three stylesheets in style/:
| File | Purpose |
|---|---|
palette.css |
The raw --ipe-* colors of each variant. |
variables.css |
Maps the palette to JupyterLab's --jp-* theme API. |
overrides.css |
Covers what has no variable: ANSI output, headings, etc. |
The IPython and Jupyter Console colors live in the JSON files of
jupyterlab_ipe_midnight_theme/terminal_themes/. They hold the same colors as palette.css, so
change both together: the tests fail if they stop matching.
Check your code changes with:
pytest # design rules, terminal themes and docstring examples
jlpm lint:check # stylelint, prettier and eslint
ruff check . # python lint
ruff format --check .
codespell # spelling
Support
Support me and check some of my other themes:
-
- Neovim colorscheme repo includes
markdown cssstyles andkitty terminalthemes.
- Neovim colorscheme repo includes
Metadata
Release files for jupyterlab-ipe-midnight-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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jupyterlab_ipe_midnight_theme-0.1.0.tar.gz | 88.6 kB | Without provenance | Details for jupyterlab_ipe_midnight_theme-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jupyterlab_ipe_midnight_theme-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for jupyterlab_ipe_midnight_theme-0.1.0-py3-none-any.whl |
Total release size: 112.8 kB
Release files / jupyterlab_ipe_midnight_theme-0.1.0.tar.gz
| Download URL | jupyterlab_ipe_midnight_theme-0.1.0.tar.gz |
|---|---|
| Size | 88.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58677a1d990e8134c0490d6ba34284830c5f41f54974130a43ae7098f7ed5fbf
|
|
BLAKE2b-256 checksum How to use checksums |
6ea6508d4b39c7654508a122abe96236173152debbf5f0d1fdd0bcbd0c055050
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / jupyterlab_ipe_midnight_theme-0.1.0-py3-none-any.whl
| Download URL | jupyterlab_ipe_midnight_theme-0.1.0-py3-none-any.whl |
|---|---|
| Size | 24.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ef8a01c87bbb0b13d06a7fcf03e734d68dc55676f16bcefc71770359f554868
|
|
BLAKE2b-256 checksum How to use checksums |
3e71e677d7a802e26c7d572d458307a62bb6023c0d21c3fd0b9d2e451806b67c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for jupyterlab-ipe-midnight-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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.