# jupyterlab-theme-toggle

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

Latest version **0.6.1** (published 2020-11-06) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install jupyterlab-theme-toggle
pnpm add jupyterlab-theme-toggle
yarn add jupyterlab-theme-toggle
bun add jupyterlab-theme-toggle
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.6.1 |
| Published | 2020-11-06 |
| First published | 2019-06-29 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Jeremy Tuloup |
| Maintainers | jtpio |
| Keywords | jupyter, jupyterlab, jupyterlab-extension |

## Links

- npm: https://www.npmjs.com/package/jupyterlab-theme-toggle
- Repository: https://github.com/jtpio/jupyterlab-theme-toggle
- Homepage: http://github.com/jtpio/jupyterlab-theme-toggle
- Issues: http://github.com/jtpio/jupyterlab-theme-toggle/issues
- npm.io page: https://npm.io/package/jupyterlab-theme-toggle

## Dependencies (5)

- [react](https://npm.io/package/react.md) ^17.0.0
- [@blueprintjs/core](https://npm.io/package/@blueprintjs/core.md) ^3.32.1
- [jupyterlab-topbar](https://npm.io/package/jupyterlab-topbar.md) ^0.6.0
- [@jupyterlab/apputils](https://npm.io/package/@jupyterlab/apputils.md) ^3.0.0-rc.7
- [@jupyterlab/application](https://npm.io/package/@jupyterlab/application.md) ^3.0.0-rc.7

## Recent versions

- 0.6.1 (latest) — 2020-11-06
- 0.6.0 — 2020-10-30
- 0.5.0 — 2020-03-11
- 0.4.2 — 2019-08-09
- 0.4.1 — 2019-07-27
- 0.4.0 — 2019-06-29
- 0.4.0-rc.1 — 2019-06-29

## 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
```

---
_Source: https://npm.io/package/jupyterlab-theme-toggle · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
