Package Exports
- jupyterlab_theme_onedark
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jupyterlab_theme_onedark) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
JupyterLab Theme OneDark
An unofficial port of OneDark theme for JupyterLab. I noticed that many onedark ports intentionally changes the name a little bit, say onedork
, onehalfdark
. I don't know why but, if that's related to some license issue, please remind me to change the package name!
Screenshot
The codes demonstrated in the screenshot above is the m5-baseline notebook for the Kaggle competetion M5 Forcasting, authored by (kaggle)@harupy.
Notes
In my development version, the scrollbar is not themed unless I manually toggle an HTML attribute <body data-jp-theme-scrollbars="(set to true)">
. This should not be an issue of my theme, and this switch should be enabled as long as I tick Settings -> JupyterLab Theme -> Theme Scrollbar
. I have to see if the issue persists in the published version.
In the screenshot, I have manually switched on this attribute, so you can see my theme configuration of the scrollbar.
Prerequisites
- JupyterLab
Installation
jupyter labextension install jupyterlab_theme_onedark
Development
For a development install (requires npm version 4 or later), do the following in the repository directory:
npm install
jupyter labextension link .
To rebuild the package and the JupyterLab app:
npm run build
jupyter lab build