Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/telamonian/theme-darcula

A handsome Darcula theme for Jupyterlab. The first jlab theme to include dark scrollbars
https://github.com/telamonian/theme-darcula

darcula darcula-theme dark-scrollbars jupyter jupyter-theme jupyterlab jupyterlab-2 jupyterlab-3 jupyterlab-4 jupyterlab-extension jupyterlab-theme theme

Last synced: 21 days ago
JSON representation

A handsome Darcula theme for Jupyterlab. The first jlab theme to include dark scrollbars

Awesome Lists containing this project

README

        

# @telamonian/theme-darcula

[![Build Status](https://travis-ci.org/telamonian/theme-darcula.svg?branch=master)](https://travis-ci.org/telamonian/theme-darcula)
[![npm](https://img.shields.io/pypi/v/theme-darcula.svg)](https://pypi.org/project/theme-darcula/)
[![npm](https://img.shields.io/npm/v/@telamonian/theme-darcula.svg)](https://www.npmjs.com/package/@telamonian/theme-darcula)

Darcula theme for Jupyterlab. Modelled after the classic Intellij theme. Now with support for all JupyterLab 2.x, 3.x, and 4.x versions!

![darcula_preview](darcula_preview.png)

## Prerequisites

- JupyterLab

## Installation

With `pip`:

```bash
pip install theme-darcula
```

With `mamba`:

```bash
mamba install -c conda-forge theme-darcula
```

With `conda`:

```bash
conda install -c conda-forge theme-darcula
```

**For Jupyterlab < 3**
```bash
jupyter labextension install @telamonian/theme-darcula
```

## Dark scrollbars

Enable dark scrollbars by clicking on **Settings** -> **JupyterLab Theme** -> **Theme Scrollbars** in the JupyterLab menus.

## Development

For a development install (requires JupyterLab 2.0.0 or later), do the following in the repository directory:

```bash
jlpm build:dev
```

To rebuild the package and the JupyterLab app:

```bash
jlpm build
jupyter lab build
```

## History

This was the first JupyterLab theme that included dark scrollbars. As of JupyterLab 1.0, the dark scrollbars feature from this theme was incorporated into JupyterLab core, as part of [@jupyterlab/application/style/scrollbar.css](https://github.com/jupyterlab/jupyterlab/blob/6d5240dda71fb3d12814e8b88b09e94e23d42875/packages/application/style/scrollbar.css).

JupyterLab itself now supports dark scrollbars for dark themes in Chrome, Firefox, and Safari. See [here](https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar) and [here](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Scrollbars) for more info on how this is done.