Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

JupyterLab extension to toggle the theme in the Top Bar area

License

Notifications You must be signed in to change notification settings

jtpio/jupyterlab-theme-toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jupyterlab-theme-toggle

Github Actions Status Binder npm

⚠️ Archived ⚠️

This repository is now archived.

The Theme Toggle extension has been moved to the Jupyter Top Bar repository: https://github.com/jupyterlab-contrib/jupyterlab-topbar

If you are using JupyterLab 4+, install with:

pip install jupyterlab-theme-toggle

JupyterLab extension to toggle the theme in the Top Bar area.

screencast

This extension was originally developed as part of the jupyterlab-topbar project, and extracted into its own repository later on.

Prerequisites

  • JupyterLab 1.0+

Installation

This extension requires the jupyterlab-topbar-extension extension for JupyterLab to display the visual switch:

jupyter labextension install jupyterlab-topbar-extension jupyterlab-theme-toggle

To only install the keyboard shortcut (Cmd/Ctrl+y by default):

jupyter labextension install jupyterlab-theme-toggle

Development

# create a new conda environment
conda create -n jupyterlab-theme-toggle jupyterlab nodejs
conda activate jupyterlab-theme-toggle

# required to place indicators in the top area
jupyter labextension install jupyterlab-topbar-extension

# install dependencies
jlpm

# local install of the extension
jupyter labextension install .

To rebuild the package and the JupyterLab app:

jlpm run build
jupyter lab build