Git Product home page Git Product logo

telamonian / theme-darcula Goto Github PK

View Code? Open in Web Editor NEW
207.0 5.0 40.0 3.2 MB

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

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

TypeScript 2.46% CSS 78.15% Shell 5.71% Python 13.68%
jupyter jupyterlab jupyterlab-theme jupyterlab-extension jupyter-theme theme darcula darcula-theme dark-scrollbars jupyterlab-2

theme-darcula's Introduction

@telamonian/theme-darcula

Build Status npm npm

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

Prerequisites

  • JupyterLab

Installation

With pip:

pip install theme-darcula

With mamba:

mamba install -c conda-forge theme-darcula

With conda:

conda install -c conda-forge theme-darcula

For Jupyterlab < 3

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:

jlpm build:dev

To rebuild the package and the JupyterLab app:

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.

JupyterLab itself now supports dark scrollbars for dark themes in Chrome, Firefox, and Safari. See here and here for more info on how this is done.

theme-darcula's People

Contributors

agoose77 avatar dependabot[bot] avatar ianhi avatar jasongrout avatar jtpio avatar telamonian avatar timhoffm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

theme-darcula's Issues

Font size difference in code vs text

It seems to be a deliberate decision, but I find the difference in markdown text size and code size (14px vs 15px) quite frustrating. I noticed that I was subconsciously writing all text as H3 to keep it legible. In the standard themes, all text is 14px. Is it possible to make this an option, or revert to the 14px standard? Thank you for a really awesome theme.

Missed highlights for methods in 1.1.3

Hi! Thank you for great theme for jupyterlab.

Highlights for method disappeared after last extension update to 1.1.3
image

I have jupyterlab 1.1.4
python 3.7.4

Thanks!

self and cls is not highlighted

I know it is not a real keyword but a variable in python, but in the original dark theme it is highlighted, and also in PyCharm.

Changing color of markdown text

Hi Team,
I think the maroon/bargundy color used in markdown cells makes it difficult to read. Can we please change the color to something else that is easy to read in dark background?

image

Illegible colors with JupyterLab 3.6.1

With the latest JupyterLab 3.6.1 colours which were off-white are now black which makes them very difficult to distinguish on the dark background

JupyterLab 3.6.1

image

JupyterLab 3.5.2

image

compatibility with jupyterlab version 4X

Screenshot from 2023-05-27 20-42-33

when you install jupyterlab 4 and then install dracula theme, conda force you to downgrade the version of jupyterlab but in doc of this theme it says it's compatibale witg jupyterlab version 4X

New version of jupyter

Command:

jupyter labextension install @telamonian/theme-darcula

This is the output

An error occured.
ValueError: The extension "@telamonian/theme-darcula" does not yet support the current version of JupyterLab.


Conflicting Dependencies:
JupyterLab              Extension      Package
>=3.0.0 <3.1.0          >=2.0.0 <3.0.0 @jupyterlab/application
>=3.0.0 <3.1.0          >=2.0.0 <3.0.0 @jupyterlab/apputils

Coloring contextual help

Hi, first of all thank you for this theme! I find it much more easy for the eyes than jupyter's default dark theme. ๐Ÿ‘

Would it be possible to colorize the contextual help consistently with the cell blocks?

image

Thanks!

Default dark theme for matplotlib

It is a feature request.
I used to use jupyter-themes for old jupyter notebooks. It had a feature to make plots dark too with similar colors as the notebook theme.
It would be great to have this feature in theme-darcula.

islight=False

Love this theme! it looks great!

It seems that there is a property somewhere called isLight that can be set to get all the icons to support dark themes.

The official dark theme has visible icons, but they all become invisible for me with this one

Are you able to see icons? (like the arrow next to new under the file menu) Is it just something with my local?

nbextension

can this be installed as nbextension i.e. in notebook as I do not want to use lab

Error while installing

This is the output of the command jupyter labextension install @telamonian/theme-darcula:

ValueError: This extension does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab Extension Package
>=1.0.0 <2.0.0 >=0.19.1 <0.20.0@jupyterlab/application
>=1.0.0 <2.0.0 >=0.19.1 <0.20.0@jupyterlab/apputils

This extension does not yet support the current version of JupyterLab.

Extension Installation Error
An error occurred installing @telamonian/theme-darcula.

Error message:

This extension does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab Extension Package

=2.0.0 <2.1.0 >=1.1.3 <2.0.0 @jupyterlab/application
=2.0.0 <2.1.0 >=1.1.3 <2.0.0 @jupyterlab/apputils

Panels not loading

Love the darcula theme, this looks awesome. Getting issues with some of the panels loading, running jupyter lab 1.0.2 in chrome Version 76.0.3809.132 (Official Build) (64-bit). Any ideas?

image

Spills styles over even when not active

Hi @telamonian, just FYI, there is a strange issue with this theme (or all external themes? I do not know) which results in some styles being active even if the theme is not active: https://stackoverflow.com/questions/67870994/change-the-mouse-select-color-in-jupyterlab-3

Even more strange is that simply disabling it via jupyter labextension disable @telamonian/theme-darcula did not work for me, I had to uninstall it completely with pip uninstall theme-darcula to get rid of the issue (but maybe this is a federated extensions thing).

coloring `%` in cell magics

The % symbols used in cell magics are not colored in this theme:
image
vs in the default dark mode:
image

I'm not sure if this is a missing style or more of an aesthetic choice so feel free to close

Cannot install, not sure why

image
image

I've tried to install both through the extension manager in jupyterlab and the terminal.
The .log file mentioned in the error message is empty :(

I've just started using jupyterlab, maybe I'm doing something wrong?
Thanks for the help in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.