jtpio / jupyterlab-theme-toggle

JupyterLab extension to toggle the theme in the Top Bar area

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

JupyterLab extension to toggle the theme in the Top Bar area

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:TypeScript 94.8%Language:CSS 5.2%