JupyterLab Theme Christmas, Designed by Isabela Presedo-Floyd
Project description
Ξ JupyterLab Theme for Christmas
Design by Isabela Presedo-Floyd, coded with the help of Jovyans at Quansight
Use
conda create -y -n jupyterlab-theme-christmas python=3.8 && \
conda activate jupyterlab-theme-christmas && \
pip install --pre jupyterlab==3.0.0rc10 jupyterlab_theme_christmas --upgrade --force-reinstall
# How to launch jupyter lab with a defined theme?
mkdir -p ~/.jupyter/lab/user-settings/\@jupyterlab/apputils-extension && \
C="{ \"theme\": \"JupyterLab Christmas\" }" && \
cat > ~/.jupyter/lab/user-settings/\@jupyterlab/apputils-extension/themes.jupyterlab-settings <<EOF
${C}
EOF && \
jupyter lab
TODO
- Update the Launcher page with something like e.g. https://github.com/fcollonval/jlab-enhanced-launcher
- Strip down the variables.css to only the needed css?
- Bring more fancy ui like in https://github.com/timkpaine/jupyterlab_miami_nights: Search tool + neon billboard + Collapser + neon light + Scrollbar + FM-84's "Atlas" (compatible with webKit browsers) + A surprise in the presentation mode (Top menu --> View --> Presention mode)
Develop
# Build the extension and link for dev in shell 1.
jupyter labextension develop --overwrite
# List extensions.
jupyter labextension list
pip list | grep jupyterlab-theme-christmas
# Run and watch jupyterlab in shell 1.
jlpm watch
# Run and watch jupyterlab in shell 2.
# Look at the remote entry javascript, a webpack5 feature.
mkdir ~/notebooks && \
jupyter lab \
--dev-mode \
--watch \
--notebook-dir=~/notebooks \
--ServerApp.token= \
--extensions-in-dev-mode
Build
# Generate sourcemaps.
jupyter labextension build --development True .
jupyter lab build --minimize=False
# Do not generate sourcemaps.
jupyter labextension build .
jupyter lab build
Publish
cd jupyterlab_theme_christmas && \
jlpm build:lib && \
npm publish --access public
pip install jupyter_packaging twine && \
python setup.py sdist bdist_wheel && \
twine upload dist/*
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
Close
Hashes for jupyterlab_theme_christmas-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e469065d476179ce6cbd5633a2a0f7b5d4b82bd12d837f63139a9f49ac27be3 |
|
MD5 | ba4354c6eca0e44644440649bbc9beaa |
|
BLAKE2b-256 | c108ee4ec2b1b5e1052b135af543bd4a971bca6aaf2b8d1d04aeb7f34f3199a3 |
Close
Hashes for jupyterlab_theme_christmas-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d968747934feb74faf839442e44b5ad2a8f50fb3c41665d84cb8edfd11ee42ab |
|
MD5 | 729b892e631fe84d2bfb6cc3bc30ce14 |
|
BLAKE2b-256 | a25bb4a19c43fc067a6b1a42d8f383edc4e00dc6b847d45a4bad9575ce23cb3b |