stellars_jupyterlab_sublime_theme 1.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2024, Konrad Jelen
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md ADDED
@@ -0,0 +1,109 @@
1
+ # Stellars Jupyterlab Sublime Theme
2
+
3
+ ![GitHub Actions](https://github.com/stellarshenson/jupyterlab_stellars_sublime_theme/actions/workflows/build.yml/badge.svg)
4
+ [![npm version](https://badge.fury.io/js/stellars_jupyterlab_sublime_theme.svg)](https://www.npmjs.com/package/stellars_jupyterlab_sublime_theme)
5
+ [![PyPI version](https://badge.fury.io/py/stellars-jupyterlab-sublime-theme.svg)](https://badge.fury.io/py/stellars-jupyterlab-sublime-theme)
6
+ ![PyPI downloads](https://img.shields.io/pypi/dm/stellars-jupyterlab-sublime-theme?label=PyPI%20downloads)
7
+ ![JL4 Ready](https://img.shields.io/badge/Jupyterlab%204-ready-blue)
8
+
9
+
10
+ **Dark Gray-blue theme based on Sublime Text Editor**
11
+
12
+ Dark Sublime Text Editor theme clone for jupyterlab based on [Sublime Text Editor](https://www.sublimetext.com).
13
+ This theme has simple, dark gray-blue clean colours and minimal intruision into the standard jupyterlab styling.
14
+ Base theme on which this one was built is the original [Jupyterlab Darcula theme](https://github.com/telamonian/theme-darcula)
15
+
16
+ Project is based on the latest [jupyterlab extension template](https://github.com/jupyterlab/extension-template) and built with with copier.
17
+
18
+ ![](https://github.com/stellarshenson/jupyterlab_stellars_sublime_theme/blob/master/screenshot-stellars-sublime.png?raw=true)
19
+
20
+ ## Theme Colors
21
+
22
+ Sublime dark theme is based upon a popular __Mariana__ theme (default dark theme of Sublime) with some modifications to not make the colors overly contrastive:
23
+
24
+ ## Requirements
25
+
26
+ - JupyterLab >= 4.0.0
27
+
28
+ ## Install
29
+
30
+ To install the extension, execute:
31
+
32
+ ```bash
33
+ pip install stellars_jupyterlab_sublime_theme
34
+ ```
35
+
36
+ ## Uninstall
37
+
38
+ To remove the extension, execute:
39
+
40
+ ```bash
41
+ pip uninstall stellars_jupyterlab_sublime_theme
42
+ ```
43
+
44
+ ## Contributing
45
+
46
+ ### Development install
47
+
48
+ Note: You will need NodeJS to build the extension package.
49
+
50
+ #### Dependencies
51
+ - install nodejs with conda: `conda install nodejs`
52
+ - install jupyterlab: `conda install jupyterlab`
53
+ - install maketools: `conda install make`
54
+ - install build and setuptools: `pip install build setuptools`
55
+
56
+ #### Build
57
+
58
+ - invoke `make` to build the `.whl` package
59
+ - invoke `make clean` to run cleanup & uninstall
60
+ - invoke `make install` to build and install extension
61
+ - invoke `make uninstall` to uninstall extension
62
+
63
+ #### Development
64
+
65
+ The `jlpm` command is JupyterLab's pinned version of
66
+ [yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use
67
+ `yarn` or `npm` in lieu of `jlpm` below.
68
+
69
+ ```bash
70
+ # Clone the repo to your local environment
71
+ # Change directory to the stellars_jupyterlab_sublime_theme directory
72
+ # Install package in development mode
73
+ pip install -e "."
74
+ # Link your development version of the extension with JupyterLab
75
+ jupyter labextension develop . --overwrite
76
+ # Rebuild extension Typescript source after making changes
77
+ jlpm build
78
+ ```
79
+
80
+ You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.
81
+
82
+ ```bash
83
+ # Watch the source directory in one terminal, automatically rebuilding when needed
84
+ jlpm watch
85
+ # Run JupyterLab in another terminal
86
+ jupyter lab
87
+ ```
88
+
89
+ With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).
90
+
91
+ By default, the `jlpm build` command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:
92
+
93
+ ```bash
94
+ jupyter lab build --minimize=False
95
+ ```
96
+
97
+ ### Development uninstall
98
+
99
+ ```bash
100
+ pip uninstall stellars_jupyterlab_sublime_theme
101
+ ```
102
+
103
+ In development mode, you will also need to remove the symlink created by `jupyter labextension develop`
104
+ command. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`
105
+ folder is located. Then you can remove the symlink named `stellars_jupyterlab_sublime_theme` within that folder.
106
+
107
+ ### Packaging the extension
108
+
109
+ See [RELEASE](RELEASE.md)
package/lib/index.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ import { JupyterFrontEndPlugin } from '@jupyterlab/application';
2
+ /**
3
+ * Initialization data for the stellars_jupyterlab_sublime_theme extension.
4
+ */
5
+ declare const plugin: JupyterFrontEndPlugin<void>;
6
+ export default plugin;
package/lib/index.js ADDED
@@ -0,0 +1,22 @@
1
+ import { IThemeManager } from '@jupyterlab/apputils';
2
+ /**
3
+ * Initialization data for the stellars_jupyterlab_sublime_theme extension.
4
+ */
5
+ const plugin = {
6
+ id: 'stellars_jupyterlab_sublime_theme:plugin',
7
+ description: 'Dark theme based on Sublime text editor default dark theme, tweaked by Stellars',
8
+ autoStart: true,
9
+ requires: [IThemeManager],
10
+ activate: (app, manager) => {
11
+ console.log('JupyterLab extension stellars_jupyterlab_sublime_theme is activated!');
12
+ const style = 'stellars_jupyterlab_sublime_theme/index.css';
13
+ manager.register({
14
+ name: 'Stellars Sublime Dark Theme',
15
+ themeScrollbars: true,
16
+ isLight: false,
17
+ load: () => manager.loadCSS(style),
18
+ unload: () => Promise.resolve(undefined)
19
+ });
20
+ }
21
+ };
22
+ export default plugin;
package/package.json ADDED
@@ -0,0 +1,188 @@
1
+ {
2
+ "name": "stellars_jupyterlab_sublime_theme",
3
+ "version": "1.0.69",
4
+ "description": "Dark theme based on Sublime text editor default dark theme, tweaked by Stellars",
5
+ "keywords": [
6
+ "jupyter",
7
+ "jupyterlab",
8
+ "jupyterlab-extension"
9
+ ],
10
+ "homepage": "https://github.com/stellarshenson/jupyterlab_stellars_sublime_theme",
11
+ "bugs": {
12
+ "url": "https://github.com/stellarshenson/jupyterlab_stellars_sublime_theme/issues"
13
+ },
14
+ "license": "BSD-3-Clause",
15
+ "author": {
16
+ "name": "Konrad Jelen",
17
+ "email": "konrad.jelen@gmail.com"
18
+ },
19
+ "files": [
20
+ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
21
+ "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
22
+ "src/**/*.{ts,tsx}"
23
+ ],
24
+ "main": "lib/index.js",
25
+ "types": "lib/index.d.ts",
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "https://github.com/stellarshenson/jupyterlab_stellars_sublime_theme.git"
29
+ },
30
+ "scripts": {
31
+ "build": "jlpm build:lib && jlpm build:labextension:dev",
32
+ "build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
33
+ "build:labextension": "jupyter labextension build .",
34
+ "build:labextension:dev": "jupyter labextension build --development True .",
35
+ "build:lib": "tsc --sourceMap",
36
+ "build:lib:prod": "tsc",
37
+ "clean": "jlpm clean:lib",
38
+ "clean:lib": "rimraf lib tsconfig.tsbuildinfo",
39
+ "clean:lintcache": "rimraf .eslintcache .stylelintcache",
40
+ "clean:labextension": "rimraf stellars_jupyterlab_sublime_theme/labextension stellars_jupyterlab_sublime_theme/_version.py",
41
+ "clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
42
+ "eslint": "jlpm eslint:check --fix",
43
+ "eslint:check": "eslint . --cache --ext .ts,.tsx",
44
+ "install:extension": "jlpm build",
45
+ "lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
46
+ "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",
47
+ "prettier": "jlpm prettier:base --write --list-different",
48
+ "prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
49
+ "prettier:check": "jlpm prettier:base --check",
50
+ "stylelint": "jlpm stylelint:check --fix",
51
+ "stylelint:check": "stylelint --cache \"style/**/*.css\"",
52
+ "watch": "run-p watch:src watch:labextension",
53
+ "watch:src": "tsc -w --sourceMap",
54
+ "watch:labextension": "jupyter labextension watch ."
55
+ },
56
+ "dependencies": {
57
+ "@jupyterlab/application": "^4.0.0",
58
+ "@jupyterlab/apputils": "^4.0.0"
59
+ },
60
+ "devDependencies": {
61
+ "@jupyterlab/builder": "^4.0.0",
62
+ "@types/json-schema": "^7.0.11",
63
+ "@types/react": "^18.0.26",
64
+ "@types/react-addons-linked-state-mixin": "^0.14.22",
65
+ "@typescript-eslint/eslint-plugin": "^6.1.0",
66
+ "@typescript-eslint/parser": "^6.1.0",
67
+ "css-loader": "^6.7.1",
68
+ "eslint": "^8.36.0",
69
+ "eslint-config-prettier": "^8.8.0",
70
+ "eslint-plugin-prettier": "^5.0.0",
71
+ "npm-run-all": "^4.1.5",
72
+ "prettier": "^3.0.0",
73
+ "rimraf": "^5.0.1",
74
+ "source-map-loader": "^1.0.2",
75
+ "style-loader": "^3.3.1",
76
+ "stylelint": "^15.10.1",
77
+ "stylelint-config-recommended": "^13.0.0",
78
+ "stylelint-config-standard": "^34.0.0",
79
+ "stylelint-csstree-validator": "^3.0.0",
80
+ "stylelint-prettier": "^4.0.0",
81
+ "typescript": ">=5.0.2",
82
+ "yjs": "^13.5.0"
83
+ },
84
+ "sideEffects": [
85
+ "style/*.css"
86
+ ],
87
+ "publishConfig": {
88
+ "access": "public"
89
+ },
90
+ "jupyterlab": {
91
+ "extension": true,
92
+ "outputDir": "stellars_jupyterlab_sublime_theme/labextension",
93
+ "themePath": "style/index.css"
94
+ },
95
+ "eslintIgnore": [
96
+ "node_modules",
97
+ "dist",
98
+ "coverage",
99
+ "**/*.d.ts"
100
+ ],
101
+ "eslintConfig": {
102
+ "extends": [
103
+ "eslint:recommended",
104
+ "plugin:@typescript-eslint/eslint-recommended",
105
+ "plugin:@typescript-eslint/recommended",
106
+ "plugin:prettier/recommended"
107
+ ],
108
+ "parser": "@typescript-eslint/parser",
109
+ "parserOptions": {
110
+ "project": "tsconfig.json",
111
+ "sourceType": "module"
112
+ },
113
+ "plugins": [
114
+ "@typescript-eslint"
115
+ ],
116
+ "rules": {
117
+ "@typescript-eslint/naming-convention": [
118
+ "error",
119
+ {
120
+ "selector": "interface",
121
+ "format": [
122
+ "PascalCase"
123
+ ],
124
+ "custom": {
125
+ "regex": "^I[A-Z]",
126
+ "match": true
127
+ }
128
+ }
129
+ ],
130
+ "@typescript-eslint/no-unused-vars": [
131
+ "warn",
132
+ {
133
+ "args": "none"
134
+ }
135
+ ],
136
+ "@typescript-eslint/no-explicit-any": "off",
137
+ "@typescript-eslint/no-namespace": "off",
138
+ "@typescript-eslint/no-use-before-define": "off",
139
+ "@typescript-eslint/quotes": [
140
+ "error",
141
+ "single",
142
+ {
143
+ "avoidEscape": true,
144
+ "allowTemplateLiterals": false
145
+ }
146
+ ],
147
+ "curly": [
148
+ "error",
149
+ "all"
150
+ ],
151
+ "eqeqeq": "error",
152
+ "prefer-arrow-callback": "error"
153
+ }
154
+ },
155
+ "prettier": {
156
+ "singleQuote": true,
157
+ "trailingComma": "none",
158
+ "arrowParens": "avoid",
159
+ "endOfLine": "auto",
160
+ "overrides": [
161
+ {
162
+ "files": "package.json",
163
+ "options": {
164
+ "tabWidth": 4
165
+ }
166
+ }
167
+ ]
168
+ },
169
+ "stylelint": {
170
+ "extends": [
171
+ "stylelint-config-recommended",
172
+ "stylelint-config-standard",
173
+ "stylelint-prettier/recommended"
174
+ ],
175
+ "plugins": [
176
+ "stylelint-csstree-validator"
177
+ ],
178
+ "rules": {
179
+ "csstree/validator": true,
180
+ "property-no-vendor-prefix": null,
181
+ "selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
182
+ "selector-no-vendor-prefix": null,
183
+ "value-no-vendor-prefix": null,
184
+ "alpha-value-notation": null,
185
+ "color-function-notation": null
186
+ }
187
+ }
188
+ }
package/src/index.ts ADDED
@@ -0,0 +1,30 @@
1
+ import {
2
+ JupyterFrontEnd,
3
+ JupyterFrontEndPlugin
4
+ } from '@jupyterlab/application';
5
+
6
+ import { IThemeManager } from '@jupyterlab/apputils';
7
+
8
+ /**
9
+ * Initialization data for the stellars_jupyterlab_sublime_theme extension.
10
+ */
11
+ const plugin: JupyterFrontEndPlugin<void> = {
12
+ id: 'stellars_jupyterlab_sublime_theme:plugin',
13
+ description: 'Dark theme based on Sublime text editor default dark theme, tweaked by Stellars',
14
+ autoStart: true,
15
+ requires: [IThemeManager],
16
+ activate: (app: JupyterFrontEnd, manager: IThemeManager) => {
17
+ console.log('JupyterLab extension stellars_jupyterlab_sublime_theme is activated!');
18
+ const style = 'stellars_jupyterlab_sublime_theme/index.css';
19
+
20
+ manager.register({
21
+ name: 'Stellars Sublime Dark Theme',
22
+ themeScrollbars: true,
23
+ isLight: false,
24
+ load: () => manager.loadCSS(style),
25
+ unload: () => Promise.resolve(undefined)
26
+ });
27
+ }
28
+ };
29
+
30
+ export default plugin;
@@ -0,0 +1,102 @@
1
+ /*-----------------------------------------------------------------------------
2
+ | Copyright (c) Max Klein.
3
+ | Distributed under the terms of the Modified BSD License.
4
+ |----------------------------------------------------------------------------*/
5
+
6
+ /*
7
+ * Codemirror styling that isn't currently supported by Jupyterlab themes
8
+ */
9
+
10
+ /* text rendered in stderr with keyword highlight
11
+ fix: annoying problem of almost invisible text in stderr */
12
+ .jp-RenderedText pre .ansi-yellow-bg {
13
+ background-color: #b52318;
14
+ }
15
+
16
+ .cm-s-jupyter .CodeMirror-activeline-background {
17
+ background: #323232;
18
+ }
19
+ .cm-s-jupyter .CodeMirror-guttermarker {
20
+ color: #ffee80;
21
+ }
22
+ .cm-s-jupyter .CodeMirror-guttermarker-subtle {
23
+ color: #d0d0d0;
24
+ }
25
+ .cm-s-jupyter .CodeMirror-linenumber {
26
+ color: #606366;
27
+ }
28
+ .cm-s-jupyter .CodeMirror-matchingbracket {
29
+ background-color: #3b514d;
30
+ color: #ffef28 !important;
31
+ font-weight: bold;
32
+ }
33
+
34
+ .cm-s-jupyter div.CodeMirror-selected {
35
+ background: #214283;
36
+ }
37
+
38
+ .cm-s-jupyter span.cm-type {
39
+ color: #aabbcc;
40
+ font-weight: bold;
41
+ }
42
+
43
+ /* override - improve borders of the dir listing */
44
+ .jp-DirListing-header {
45
+ border-top: var(--jp-border-width) solid var(--jp-border-color1);
46
+ border-bottom: 2px solid var(--jp-border-color1);
47
+ z-index: 0;
48
+ }
49
+
50
+ /* override - execution time extension styling enhancement */
51
+ .execute-time {
52
+ padding: 2px 1px 1px 3px; /* makes text in execute time padded from left but otherwise small */
53
+ /* margin: 1px 1px 1px 1px; makes border around execute time thicker */
54
+ background: var(--jp-layout-color0);
55
+ border-top: 0px solid var(--jp-cell-editor-border-color);
56
+ }
57
+
58
+ /* override - add-tab button on the tab bar */
59
+ .lm-TabBar .lm-TabBar-addButton {
60
+ padding-bottom: 5px; /* make height the same as tabs */
61
+ }
62
+
63
+ /* override - editor tabs - make light border around tabs */
64
+ .lm-DockPanel-tabBar .lm-TabBar-tab, .lm-TabPanel-tabBar .lm-TabBar-tab {
65
+ border: var(--jp-border-width) solid var(--jp-border-color0);
66
+ border-bottom: 0px; /* removed bottom border */
67
+ }
68
+
69
+ /* override - remove border from markdown selected output cell */
70
+ .jp-MarkdownOutput {
71
+ border-width: 0px;
72
+ }
73
+
74
+ /* override - turn border off of the cell input area */
75
+ .jp-InputArea-editor {
76
+ border: none;
77
+ }
78
+
79
+ /* override - settings restore button */
80
+ .jp-SettingsHeader-buttonbar > .jp-RestoreButton {
81
+ color: var(--jp-content-link-color);
82
+ }
83
+
84
+ /* override - output area scrolling fixes - related to output area
85
+ * showing unexpected and unwanted scrollbar */
86
+ .jp-OutputArea-child,
87
+ .jp-OutputArea-output,
88
+ .jp-Cell-outputArea,
89
+ .jp-OutputArea-output.jp-OutputArea-executeResult {
90
+ max-height: none !important;
91
+ overflow: visible !important;
92
+ }
93
+
94
+ .jp-Cell.jp-mod-outputsScrolled .jp-Cell-outputArea {
95
+ max-height: none !important;
96
+ }
97
+
98
+ .jp-OutputArea {
99
+ overflow: visible !important;
100
+ }
101
+
102
+ /* EOF */
@@ -0,0 +1,18 @@
1
+ /*-----------------------------------------------------------------------------
2
+ | Copyright (c) Max Klein.
3
+ | Distributed under the terms of the Modified BSD License.
4
+ |----------------------------------------------------------------------------*/
5
+
6
+ @import "./custom.css";
7
+ @import "./variables.css";
8
+
9
+ /* Set the default typography for monospace elements */
10
+ tt,
11
+ code,
12
+ kbd,
13
+ samp,
14
+ pre {
15
+ font-family: var(--jp-code-font-family);
16
+ font-size: var(--jp-code-font-size);
17
+ line-height: var(--jp-code-line-height);
18
+ }
@@ -0,0 +1,84 @@
1
+ /*-----------------------------------------------------------------------------
2
+ | Copyright (c) Max Klein.
3
+ | Distributed under the terms of the Modified BSD License.
4
+ |----------------------------------------------------------------------------*/
5
+
6
+ /*
7
+ * scrollbars.css has been pushed to upstream JupyterLab core as of
8
+ * jlab-1.0. This file is kept here for historical purposes
9
+ */
10
+
11
+ /*
12
+ * mozilla CSS
13
+ */
14
+
15
+ /* use standard opaque scrollbars for most nodes */
16
+ :root {
17
+ scrollbar-color: rgb(var(--jp-scrollbar-thumb-color))
18
+ var(--jp-scrollbar-background-color);
19
+ }
20
+
21
+ /* for code nodes, use a transparent style of scrollbar */
22
+ .CodeMirror-hscrollbar,
23
+ .CodeMirror-vscrollbar {
24
+ scrollbar-color: rgba(var(--jp-scrollbar-thumb-color), 0.5) transparent;
25
+ }
26
+
27
+ /*
28
+ * webkit CSS
29
+ */
30
+
31
+ /* use standard opaque scrollbars for most nodes */
32
+
33
+ ::-webkit-scrollbar,
34
+ ::-webkit-scrollbar-corner {
35
+ background: var(--jp-scrollbar-background-color);
36
+ }
37
+
38
+ ::-webkit-scrollbar-thumb {
39
+ background: rgb(var(--jp-scrollbar-thumb-color));
40
+ border: var(--jp-scrollbar-thumb-margin) solid transparent;
41
+ background-clip: content-box;
42
+ border-radius: var(--jp-scrollbar-thumb-radius);
43
+ }
44
+
45
+ ::-webkit-scrollbar-track:horizontal {
46
+ border-left: var(--jp-scrollbar-endpad) solid
47
+ var(--jp-scrollbar-background-color);
48
+ border-right: var(--jp-scrollbar-endpad) solid
49
+ var(--jp-scrollbar-background-color);
50
+ }
51
+
52
+ ::-webkit-scrollbar-track:vertical {
53
+ border-top: var(--jp-scrollbar-endpad) solid
54
+ var(--jp-scrollbar-background-color);
55
+ border-bottom: var(--jp-scrollbar-endpad) solid
56
+ var(--jp-scrollbar-background-color);
57
+ }
58
+
59
+ /* for code nodes, use a transparent style of scrollbar */
60
+
61
+ .CodeMirror-hscrollbar::-webkit-scrollbar,
62
+ .CodeMirror-hscrollbar::-webkit-scrollbar-corner,
63
+ .CodeMirror-vscrollbar::-webkit-scrollbar,
64
+ .CodeMirror-hscrollbar::-webkit-scrollbar-corner {
65
+ background-color: transparent;
66
+ }
67
+
68
+ .CodeMirror-hscrollbar::-webkit-scrollbar-thumb,
69
+ .CodeMirror-vscrollbar::-webkit-scrollbar-thumb {
70
+ background: rgba(var(--jp-scrollbar-thumb-color), 0.5);
71
+ border: var(--jp-scrollbar-thumb-margin) solid transparent;
72
+ background-clip: content-box;
73
+ border-radius: var(--jp-scrollbar-thumb-radius);
74
+ }
75
+
76
+ .CodeMirror-hscrollbar::-webkit-scrollbar-track:horizontal {
77
+ border-left: var(--jp-scrollbar-endpad) solid transparent;
78
+ border-right: var(--jp-scrollbar-endpad) solid transparent;
79
+ }
80
+
81
+ .CodeMirror-vscrollbar::-webkit-scrollbar-track:vertical {
82
+ border-top: var(--jp-scrollbar-endpad) solid transparent;
83
+ border-bottom: var(--jp-scrollbar-endpad) solid transparent;
84
+ }
@@ -0,0 +1,438 @@
1
+ /*-----------------------------------------------------------------------------
2
+ | Copyright (c) Max Klein.
3
+ | Distributed under the terms of the Modified BSD License.
4
+ |----------------------------------------------------------------------------*/
5
+
6
+ /*
7
+ The following CSS variables define the main, public API for styling JupyterLab.
8
+ These variables should be used by all plugins wherever possible. In other
9
+ words, plugins should not define custom colors, sizes, etc unless absolutely
10
+ necessary. This enables users to change the visual theme of JupyterLab
11
+ by changing these variables.
12
+
13
+ Many variables appear in an ordered sequence (0,1,2,3). These sequences
14
+ are designed to work well together, so for example, `--jp-border-color1` should
15
+ be used with `--jp-layout-color1`. The numbers have the following meanings:
16
+
17
+ * 0: super-primary, reserved for special emphasis
18
+ * 1: primary, most important under normal situations
19
+ * 2: secondary, next most important under normal situations
20
+ * 3: tertiary, next most important under normal situations
21
+
22
+ Throughout JupyterLab, we are mostly following principles from Google's
23
+ Material Design when selecting colors. We are not, however, following
24
+ all of MD as it is not optimized for dense, information rich UIs.
25
+ */
26
+
27
+ :root {
28
+ /* Elevation
29
+ *
30
+ * We style box-shadows using Material Design's idea of elevation. These particular numbers are taken from here:
31
+ *
32
+ * https://github.com/material-components/material-components-web
33
+ * https://material-components-web.appspot.com/elevation.html
34
+ */
35
+
36
+ /* The dark theme shadows need a bit of work, but this will probably also require work on the core layout
37
+ * colors used in the theme as well. */
38
+ --jp-shadow-base-lightness: 32;
39
+ --jp-shadow-umbra-color: rgba(
40
+ var(--jp-shadow-base-lightness),
41
+ var(--jp-shadow-base-lightness),
42
+ var(--jp-shadow-base-lightness),
43
+ 0.2
44
+ );
45
+ --jp-shadow-penumbra-color: rgba(
46
+ var(--jp-shadow-base-lightness),
47
+ var(--jp-shadow-base-lightness),
48
+ var(--jp-shadow-base-lightness),
49
+ 0.14
50
+ );
51
+ --jp-shadow-ambient-color: rgba(
52
+ var(--jp-shadow-base-lightness),
53
+ var(--jp-shadow-base-lightness),
54
+ var(--jp-shadow-base-lightness),
55
+ 0.12
56
+ );
57
+ --jp-elevation-z0: none;
58
+ --jp-elevation-z1: 0px 2px 1px -1px var(--jp-shadow-umbra-color),
59
+ 0px 1px 1px 0px var(--jp-shadow-penumbra-color),
60
+ 0px 1px 3px 0px var(--jp-shadow-ambient-color);
61
+ --jp-elevation-z2: 0px 3px 1px -2px var(--jp-shadow-umbra-color),
62
+ 0px 2px 2px 0px var(--jp-shadow-penumbra-color),
63
+ 0px 1px 5px 0px var(--jp-shadow-ambient-color);
64
+ --jp-elevation-z4: 0px 2px 4px -1px var(--jp-shadow-umbra-color),
65
+ 0px 4px 5px 0px var(--jp-shadow-penumbra-color),
66
+ 0px 1px 10px 0px var(--jp-shadow-ambient-color);
67
+ --jp-elevation-z6: 0px 3px 5px -1px var(--jp-shadow-umbra-color),
68
+ 0px 6px 10px 0px var(--jp-shadow-penumbra-color),
69
+ 0px 1px 18px 0px var(--jp-shadow-ambient-color);
70
+ --jp-elevation-z8: 0px 5px 5px -3px var(--jp-shadow-umbra-color),
71
+ 0px 8px 10px 1px var(--jp-shadow-penumbra-color),
72
+ 0px 3px 14px 2px var(--jp-shadow-ambient-color);
73
+ --jp-elevation-z12: 0px 7px 8px -4px var(--jp-shadow-umbra-color),
74
+ 0px 12px 17px 2px var(--jp-shadow-penumbra-color),
75
+ 0px 5px 22px 4px var(--jp-shadow-ambient-color);
76
+ --jp-elevation-z16: 0px 8px 10px -5px var(--jp-shadow-umbra-color),
77
+ 0px 16px 24px 2px var(--jp-shadow-penumbra-color),
78
+ 0px 6px 30px 5px var(--jp-shadow-ambient-color);
79
+ --jp-elevation-z20: 0px 10px 13px -6px var(--jp-shadow-umbra-color),
80
+ 0px 20px 31px 3px var(--jp-shadow-penumbra-color),
81
+ 0px 8px 38px 7px var(--jp-shadow-ambient-color);
82
+ --jp-elevation-z24: 0px 11px 15px -7px var(--jp-shadow-umbra-color),
83
+ 0px 24px 38px 3px var(--jp-shadow-penumbra-color),
84
+ 0px 9px 46px 8px var(--jp-shadow-ambient-color);
85
+
86
+ /* Borders
87
+ *
88
+ * The following variables, specify the visual styling of borders in JupyterLab.
89
+ */
90
+
91
+ --jp-border-width: 1px; /* stellars customisation */
92
+
93
+ /* stellars customisation from:
94
+
95
+ --jp-border-color0: var(--md-grey-700);
96
+ --jp-border-color1: var(--md-grey-700);
97
+ --jp-border-color2: var(--md-grey-800);
98
+ --jp-border-color3: var(--md-grey-900);
99
+ */
100
+
101
+ --jp-border-color0: var(--jp-layout-color3);
102
+ --jp-border-color1: var(--jp-layout-color2);
103
+ --jp-border-color2: var(--jp-layout-color2);
104
+ --jp-border-color3: var(--jp-layout-color0);
105
+
106
+ --jp-border-radius: 2px;
107
+ /* --jp-toolbar-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 1); */ /* stellars customisation, remove to return to defaults */
108
+
109
+ /* UI Fonts
110
+ *
111
+ * The UI font CSS variables are used for the typography all of the JupyterLab
112
+ * user interface elements that are not directly user generated content.
113
+ *
114
+ * The font sizing here is done assuming that the body font size of --jp-ui-font-size1
115
+ * is applied to a parent element. When children elements, such as headings, are sized
116
+ * in em all things will be computed relative to that body size.
117
+ */
118
+
119
+ --jp-ui-font-scale-factor: 1.2;
120
+ --jp-ui-font-size0: 0.83333em;
121
+ --jp-ui-font-size1: 13px; /* Base font size */
122
+ --jp-ui-font-size2: 1.2em;
123
+ --jp-ui-font-size3: 1.44em;
124
+
125
+ --jp-ui-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica,
126
+ Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
127
+
128
+ /*
129
+ * Use these font colors against the corresponding main layout colors.
130
+ * In a light theme, these go from dark to light.
131
+ */
132
+
133
+ --jp-ui-font-color0: rgb(195, 195, 195);
134
+ --jp-ui-font-color1: rgb(165, 165, 165);
135
+ --jp-ui-font-color2: rgb(125, 135, 145); /* stellars customisation, line numbers, was 125,125... */
136
+ --jp-ui-font-color3: rgb(90, 90, 90);
137
+
138
+ /* Defaults use Material Design specification */
139
+ /*
140
+ * --jp-ui-font-color0: #a9b7c6;
141
+ * --jp-ui-font-color1: var(--md-grey-300);
142
+ * --jp-ui-font-color2: var(--md-grey-500);
143
+ * --jp-ui-font-color3: var(--md-grey-700);
144
+ *
145
+ * --jp-ui-font-color0: rgba(195, 195, 195, 1);
146
+ * --jp-ui-font-color1: rgba(195, 195, 195, 0.87);
147
+ * --jp-ui-font-color2: rgba(195, 195, 195, 0.54);
148
+ * --jp-ui-font-color3: rgba(195, 195, 195, 0.38);
149
+ */
150
+
151
+ /*
152
+ * Use these against the brand/accent/warn/error colors.
153
+ * These will typically go from light to darker, in both a dark and light theme.
154
+ */
155
+
156
+ --jp-ui-inverse-font-color0: rgba(30, 33, 36, 1);
157
+ --jp-ui-inverse-font-color1: rgba(30, 33, 36, 0.8);
158
+ --jp-ui-inverse-font-color2: rgba(30, 33, 36, 0.5);
159
+ --jp-ui-inverse-font-color3: rgba(30, 33, 36, 0.3);
160
+
161
+ /* Content Fonts
162
+ *
163
+ * Content font variables are used for typography of user generated content.
164
+ *
165
+ * The font sizing here is done assuming that the body font size of --jp-content-font-size1
166
+ * is applied to a parent element. When children elements, such as headings, are sized
167
+ * in em all things will be computed relative to that body size.
168
+ */
169
+
170
+ --jp-content-line-height: 1.6;
171
+ --jp-content-font-scale-factor: 1.2;
172
+ --jp-content-font-size0: 0.83333em;
173
+ --jp-content-font-size1: 14px; /* Base font size */
174
+ --jp-content-font-size2: 1.2em;
175
+ --jp-content-font-size3: 1.44em;
176
+ --jp-content-font-size4: 1.728em;
177
+ --jp-content-font-size5: 2.0736em;
178
+
179
+ /* This gives a magnification of about 125% in presentation mode over normal. */
180
+ --jp-content-presentation-font-size1: 1.25em;
181
+
182
+ --jp-content-heading-line-height: 1;
183
+ --jp-content-heading-margin-top: 1.2em;
184
+ --jp-content-heading-margin-bottom: 0.8em;
185
+ --jp-content-heading-font-weight: 500;
186
+
187
+ /* Shades of the default font color */
188
+ --jp-content-font-color0: rgba(187, 187, 187, 1);
189
+ --jp-content-font-color1: rgba(192, 192, 192, 1); /* code, stellars customisation from (187,187...) */
190
+ --jp-content-font-color2: rgba(187, 187, 187, 0.7);
191
+ --jp-content-font-color3: rgba(187, 187, 187, 0.5);
192
+
193
+ --jp-content-link-color: var(--md-blue-300);
194
+
195
+ --jp-content-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
196
+ Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
197
+ "Segoe UI Symbol";
198
+
199
+ /*
200
+ * Code Fonts
201
+ *
202
+ * Code font variables are used for typography of code and other monospaces content.
203
+ */
204
+
205
+ --jp-code-font-size: 15px;
206
+ --jp-code-line-height: 1.3077; /* 17px for 15px base */
207
+ --jp-code-padding: 0.385em; /* 5px for 15px base */
208
+ --jp-code-font-family-default: Consolas, Menlo, Monaco, "Lucida Console",
209
+ "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
210
+ "Courier New", monospace, serif;
211
+ --jp-code-font-family: var(--jp-code-font-family-default);
212
+
213
+ /* This gives a magnification of about 125% in presentation mode over normal. */
214
+ --jp-code-presentation-font-size: 1.25em;
215
+
216
+ /* may need to tweak cursor width if you change font size */
217
+ --jp-code-cursor-width0: 2px; /*0.107em;*/
218
+ --jp-code-cursor-width1: 3px; /*0.154em;*/
219
+ --jp-code-cursor-width2: 6px; /*0.308em;*/
220
+
221
+ /* Layout
222
+ *
223
+ * The following are the main layout colors use in JupyterLab. In a light
224
+ * theme these would go from light to dark.
225
+ */
226
+
227
+ /* stellars customisation */
228
+ --jp-layout-color0: #252b32; /* terminal, main notebook */
229
+ --jp-layout-color1: #303841; /* panel and toolbar */
230
+ --jp-layout-color2: #404b54; /*var(--md-grey-800); border of the screen and line numbers gutter 46525c */
231
+ --jp-layout-color3: #4d5a65; /*var(--md-grey-700); */
232
+ --jp-layout-color4: #5d6d7a; /*var(--md-grey-600); */
233
+ --jp-layout-color5: #768591;
234
+
235
+ /* Inverse Layout
236
+ *
237
+ * The following are the inverse layout colors use in JupyterLab. In a light
238
+ * theme these would go from dark to light.
239
+ */
240
+
241
+ --jp-inverse-layout-color0: white;
242
+ --jp-inverse-layout-color1: white;
243
+ --jp-inverse-layout-color2: var(--md-grey-200);
244
+ --jp-inverse-layout-color3: var(--md-grey-400);
245
+ --jp-inverse-layout-color4: var(--md-grey-600);
246
+
247
+ /* Brand/accent */
248
+
249
+ --jp-brand-color0: var(--md-blue-700);
250
+ --jp-brand-color1: var(--md-blue-500);
251
+ --jp-brand-color2: var(--md-blue-300);
252
+ --jp-brand-color3: var(--md-blue-100);
253
+ --jp-brand-color4: var(--md-blue-50);
254
+
255
+ --jp-accent-color0: var(--md-green-700);
256
+ --jp-accent-color1: var(--md-green-500);
257
+ --jp-accent-color2: var(--md-green-300);
258
+ --jp-accent-color3: var(--md-green-100);
259
+
260
+ /* State colors (warn, error, success, info) */
261
+ --jp-warn-color0: var(--md-orange-700);
262
+ --jp-warn-color1: var(--md-orange-500);
263
+ --jp-warn-color2: var(--md-orange-300);
264
+ --jp-warn-color3: var(--md-orange-100);
265
+
266
+ --jp-error-color0: var(--md-red-700);
267
+ --jp-error-color1: var(--md-red-500);
268
+ --jp-error-color2: var(--md-red-300);
269
+ --jp-error-color3: var(--md-red-100);
270
+
271
+ --jp-success-color0: var(--md-green-700);
272
+ --jp-success-color1: var(--md-green-500);
273
+ --jp-success-color2: var(--md-green-300);
274
+ --jp-success-color3: var(--md-green-100);
275
+
276
+ --jp-info-color0: var(--md-cyan-700);
277
+ --jp-info-color1: var(--md-cyan-500);
278
+ --jp-info-color2: var(--md-cyan-300);
279
+ --jp-info-color3: var(--md-cyan-100);
280
+
281
+ /* Cell specific styles */
282
+
283
+ --jp-cell-padding: 5px;
284
+
285
+ --jp-cell-collapser-width: 8px;
286
+ --jp-cell-collapser-min-height: 20px;
287
+ --jp-cell-collapser-not-active-hover-opacity: 0.6;
288
+
289
+ --jp-cell-editor-background: var(--jp-layout-color1);
290
+ --jp-cell-editor-border-color: var(--jp-layout-color1); /* stellars customisation from --md-grey-700 */
291
+ --jp-cell-editor-box-shadow: inset 0 0 2px var(--md-blue-300);
292
+ --jp-cell-editor-active-background: var(--jp-layout-color0);
293
+ --jp-cell-editor-active-border-color: var(--jp-brand-color1);
294
+
295
+ --jp-cell-prompt-width: 64px;
296
+ --jp-cell-prompt-font-family: var(--jp-code-font-family);
297
+ --jp-cell-prompt-letter-spacing: 0px;
298
+ --jp-cell-prompt-opacity: 1;
299
+ --jp-cell-prompt-not-active-opacity: 1;
300
+ --jp-cell-prompt-not-active-font-color: var(--md-grey-300);
301
+
302
+ /* A custom blend of MD grey and blue 600
303
+ * See https://meyerweb.com/eric/tools/color-blend/#546E7A:1E88E5:5:hex */
304
+ --jp-cell-inprompt-font-color: #307fc1;
305
+ /* A custom blend of MD grey and orange 600
306
+ * https://meyerweb.com/eric/tools/color-blend/#546E7A:F4511E:5:hex */
307
+ --jp-cell-outprompt-font-color: #bf5b3d;
308
+
309
+ /* Notebook specific styles */
310
+
311
+ --jp-notebook-padding: 10px;
312
+ --jp-notebook-select-background: var(--md-green-700); /* CUSTOM was --jp-layout-color1 */
313
+ --jp-notebook-multiselected-color: rgba(33, 150, 243, 0.24);
314
+
315
+ /* The scroll padding is calculated to fill enough space at the bottom of the
316
+ notebook to show one single-line cell (with appropriate padding) at the top
317
+ when the notebook is scrolled all the way to the bottom. We also subtract one
318
+ pixel so that no scrollbar appears if we have just one single-line cell in the
319
+ notebook. This padding is to enable a 'scroll past end' feature in a notebook.
320
+ */
321
+ --jp-notebook-scroll-padding: calc(
322
+ 100% - var(--jp-code-font-size) * var(--jp-code-line-height) -
323
+ var(--jp-code-padding) - var(--jp-cell-padding) - 1px
324
+ );
325
+
326
+ /* Rendermime styles */
327
+
328
+ --jp-rendermime-error-background: rgba(244, 67, 54, 0.28);
329
+ --jp-rendermime-table-row-background: var(--md-grey-900);
330
+ --jp-rendermime-table-row-hover-background: rgba(3, 169, 244, 0.2);
331
+
332
+ /* Dialog specific styles */
333
+
334
+ --jp-dialog-background: rgba(0, 0, 0, 0.6);
335
+
336
+ /* Console specific styles */
337
+
338
+ --jp-console-padding: 10px;
339
+
340
+ /* Toolbar specific styles */
341
+
342
+ --jp-toolbar-border-color: var(--jp-border-color2);
343
+ --jp-toolbar-micro-height: 8px;
344
+ --jp-toolbar-background: var(--jp-layout-color1);
345
+ --jp-toolbar-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.8);
346
+ --jp-toolbar-header-margin: 4px 4px 0px 4px;
347
+ --jp-toolbar-active-background: var(--jp-layout-color0);
348
+
349
+ --jp-accept-color-hover: var(--jp-brand-color0); /* stellars customisation, added as of JL4.3, hover color for + button */
350
+ --jp-switch-color: var(--jp-layout-color4); /* stellars customisation, modified to use layout colors */
351
+ --jp-switch-true-position-color: var(--jp-brand-color1); /* stellars customisation, was --jp-warn-color0 */
352
+
353
+ /* Statusbar specific styles */
354
+
355
+ --jp-statusbar-height: 24px;
356
+
357
+ /* Input field styles */
358
+
359
+ --jp-input-box-shadow: inset 0 0 2px var(--md-blue-300);
360
+ --jp-input-active-background: var(--jp-layout-color0);
361
+ --jp-input-hover-background: var(--jp-layout-color2);
362
+ --jp-input-background: var(--md-grey-800);
363
+ --jp-input-border-color: var(--jp-border-color1);
364
+ --jp-input-active-border-color: var(--jp-brand-color1);
365
+ --jp-input-active-box-shadow-color: rgba(19, 124, 189, 0.3);
366
+
367
+ /* General editor styles */
368
+
369
+ --jp-editor-selected-background: var(--jp-layout-color2);
370
+ --jp-editor-selected-focused-background: #214283;
371
+ --jp-editor-cursor-color: #a9b7c6; /*{ border-left: 1px solid var(--jp-ui-font-color0) };*/
372
+
373
+
374
+ /* Sublime Dark Theme (Mariana) inspired CodeMirror specific styles */
375
+ --jp-mirror-editor-keyword-color: #ba72ba; /* pink pale pink*/
376
+ --jp-mirror-editor-atom-color: #5FB3B3; /* blue5 */
377
+ --jp-mirror-editor-number-color: #E06C75; /* sublime uses bright orange #f9ae57, we use red #E06C75 */
378
+ --jp-mirror-editor-def-color: #59b4b4; /* blue */
379
+ --jp-mirror-editor-variable-color: #ec5550; /* text_fg color D8DEE9, sublime uses ec5550 for 'self' and others */
380
+ --jp-mirror-editor-variable-2-color: #88C0D0; /* blue5 */
381
+ --jp-mirror-editor-variable-3-color: #81A1C1; /* blue-vibrant */
382
+ --jp-mirror-editor-punctuation-color: #D8DEE9; /* matches text_fg color */
383
+ --jp-mirror-editor-property-color: #36a0f4; /* blue from button_bg 66b6f7, sublime uses ;f9a04e, we use less contrastive #e8a76c but switched to blue #36a0f4; */
384
+ --jp-mirror-editor-operator-color: #E06C75; /* red2 */
385
+ --jp-mirror-editor-comment-color: #7d8c9b; /* blue6 was a6acb9 changed to #707c88; and then to #7d8c9b*/
386
+ --jp-mirror-editor-string-color: #678e45; /* green using #82ac5e, sublime promotes lighter #A3BE8C */
387
+ --jp-mirror-editor-string-2-color: #678e45; /* additional strings */
388
+ --jp-mirror-editor-meta-color: #81A1C1; /* link_fg for meta */
389
+ --jp-mirror-editor-qualifier-color: #88C0D0; /* blue button_bg */
390
+ --jp-mirror-editor-builtin-color: #f8837b; /* using sublime pale pink #f8837b; switched to more saturated #ba72ba; */
391
+ --jp-mirror-editor-bracket-color: #D8DEE9; /* text_fg color */
392
+ --jp-mirror-editor-tag-color: #c695c6; /* pink */
393
+ --jp-mirror-editor-attribute-color: #c695c6; /* pink for attributes */
394
+
395
+ --jp-mirror-editor-header-color: var(--md-blue-500);
396
+ --jp-mirror-editor-quote-color: var(--md-green-300);
397
+
398
+ --jp-mirror-editor-link-color: #cc78FF;
399
+ --jp-mirror-editor-error-color: #bc3f3c;
400
+ --jp-mirror-editor-hr-color: #999;
401
+
402
+ /* Vega extension styles */
403
+
404
+ --jp-vega-background: var(--md-grey-400);
405
+
406
+ /* Sidebar-related styles */
407
+
408
+ --jp-sidebar-min-width: 250px;
409
+
410
+ /* Search-related styles */
411
+
412
+ --jp-search-toggle-off-opacity: 0.6;
413
+ --jp-search-toggle-hover-opacity: 0.8;
414
+ --jp-search-toggle-on-opacity: 1;
415
+ --jp-search-selected-match-background-color: rgb(255, 225, 0);
416
+ --jp-search-selected-match-color: black;
417
+ --jp-search-unselected-match-background-color: var(
418
+ --jp-inverse-layout-color0
419
+ );
420
+ --jp-search-unselected-match-color: var(--jp-ui-inverse-font-color0);
421
+
422
+ /* scrollbar related styles. Supports every browser except Edge. */
423
+
424
+ --jp-scrollbar-background-color: #333840;
425
+ --jp-scrollbar-thumb-color: 82, 90, 100; /* need to specify thumb color as an RGB triplet 68, 75, 83; */
426
+ --jp-scrollbar-endpad: 3px; /* the minimum gap between the thumb and the ends of a scrollbar */
427
+
428
+ /* hacks for setting the thumb shape. These do nothing in Firefox */
429
+
430
+ --jp-scrollbar-thumb-margin: 3.5px; /* the space in between the sides of the thumb and the track */
431
+ --jp-scrollbar-thumb-radius: 9px; /* set to a large-ish value for rounded endcaps on the thumb */
432
+
433
+ /* Icon colors that work well with light or dark backgrounds */
434
+ --jp-icon-contrast-color0: var(--md-purple-600);
435
+ --jp-icon-contrast-color1: var(--md-green-600);
436
+ --jp-icon-contrast-color2: var(--md-pink-600);
437
+ --jp-icon-contrast-color3: var(--md-blue-600);
438
+ }