KTS dark theme for JupyterLab
Project description
kts_dark_theme
Dark theme for Knowing the Sky. Experimental, not yet for distribution.
dev environment setup
Create a conda environment with at least:
jupyterlab>=4.3.1jupyterlab-mystpythonnodejs=22(do not use your system node)
make is also required.
If you have the dependencies for Knowing The Sky installed, the only additional
requirement is nodejs=22.
Do not install hatch-jupyter-builder.
dev installation
initial
run make build && make install. This will download all node dependencies,
perform an initial build of the extension, and symlink it to the central
Jupyter extensions directory. Now the extension should be available in
JupyterLab, and changes you make to
kts_dark_theme/labextension/themes/kts-dark-theme/index.css will appear
in JupyterLab on page reload.
rebuild
If you want to ship changes to the theme, run make rebuild. This
will propagate changes from kts_dark_theme/labextension/themes/kts-dark-theme/index.css
into the non-editable ("regular") version of the extension.
reinstall/relink
If your links get messed up somehow such that you can't rebuild the
package or Jupyter can't find your editable CSS, run make reinstall.
Do not attempt to relink by directly reinstalling the package with pip.
The Lab extension build sequence will cause this to fail.
full reinstall
Run make clean && make build && make install.
A note on PyCharm
The package includes ESLint configurations, which PyCharm will attempt to
automatically use. It will probably fail unless you have all the correct
node packages and a compatible .stylelintrc available at system level. This will
create annoying error messages when editing many files. To fix this, you can
either install them at system level or go to Settings/Stylelint and point it
to the node module jlpm installed when you did the initial install:
node_modules/stylelint (relative to repo root)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kts_dark_theme-0.1.2.tar.gz.
File metadata
- Download URL: kts_dark_theme-0.1.2.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c04a61a5603c16f4046253ec1b255c023d0bb4788289e304d034bb0e90db9fc6
|
|
| MD5 |
c574f83f4b1f42cec9be8b5cec3ba283
|
|
| BLAKE2b-256 |
2491b4b0fb346c4f594e9db1e30b56d7fa6467eee3e65ff21c47e7bf4302fd50
|
File details
Details for the file kts_dark_theme-0.1.2-py3-none-any.whl.
File metadata
- Download URL: kts_dark_theme-0.1.2-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
525f60865f820051662483b6e06d2a30cac315336a84a354a4e94815fa9ae4a7
|
|
| MD5 |
1f7a9976589629acf4248a7f20b638d4
|
|
| BLAKE2b-256 |
7c9c06f46fffcedca0e08e9b515d67e7fb0ff2695a67d13dc89ff37ec9c2ea04
|