https://github.com/jtpio/jupyterlab-theme-toggle
JupyterLab extension to toggle the theme in the Top Bar area
https://github.com/jtpio/jupyterlab-theme-toggle
jupyter jupyterlab jupyterlab-extension
Last synced: 3 days ago
JSON representation
JupyterLab extension to toggle the theme in the Top Bar area
- Host: GitHub
- URL: https://github.com/jtpio/jupyterlab-theme-toggle
- Owner: jtpio
- License: bsd-3-clause
- Archived: true
- Created: 2019-07-27T08:45:07.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-20T07:55:32.000Z (10 months ago)
- Last Synced: 2025-04-01T09:35:53.756Z (14 days ago)
- Topics: jupyter, jupyterlab, jupyterlab-extension
- Language: TypeScript
- Size: 1.06 MB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-jupyter-resources - GitHub - 66% open · ⏱️ 16.06.2021): (JupyterLab主题)
README
# jupyterlab-theme-toggle

[](https://mybinder.org/v2/gh/jtpio/jupyterlab-theme-toggle/stable?urlpath=lab)
[](https://www.npmjs.com/package/jupyterlab-theme-toggle)## ⚠️ 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.
This extension was originally developed as part of the [jupyterlab-topbar](https://github.com/jtpio/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:
```bash
jupyter labextension install jupyterlab-topbar-extension jupyterlab-theme-toggle
```To only install the keyboard shortcut (`Cmd/Ctrl+y` by default):
```bash
jupyter labextension install jupyterlab-theme-toggle
```## Development
```bash
# 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:
```bash
jlpm run build
jupyter lab build
```