Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 months 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
- Created: 2019-07-27T08:45:07.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-26T08:11:35.000Z (11 months ago)
- Last Synced: 2024-03-17T10:02:10.735Z (4 months ago)
- Topics: jupyter, jupyterlab, jupyterlab-extension
- Language: TypeScript
- Size: 1.06 MB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-jupyter-resources - GitHub - 66% open · ⏱️ 16.06.2021): (JupyterLab主题)
README
# jupyterlab-theme-toggle
![Github Actions Status](https://github.com/jtpio/jupyterlab-theme-toggle/workflows/CI/badge.svg)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jtpio/jupyterlab-theme-toggle/stable?urlpath=lab)
[![npm](https://img.shields.io/npm/v/jupyterlab-theme-toggle.svg)](https://www.npmjs.com/package/jupyterlab-theme-toggle)JupyterLab extension to toggle the theme in the Top Bar area.
![screencast](./docs/screencast.gif)
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
```