stellars-jupyterlab-sublime-theme 1.0.1__py3-none-any.whl

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.

Potentially problematic release.


This version of stellars-jupyterlab-sublime-theme might be problematic. Click here for more details.

Files changed (14) hide show
  1. stellars_jupyterlab_sublime_theme/__init__.py +16 -0
  2. stellars_jupyterlab_sublime_theme/_version.py +4 -0
  3. stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/install.json +5 -0
  4. stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/package.json +192 -0
  5. stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/static/509.d8cdae86757ffaf9fc38.js +1 -0
  6. stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/static/remoteEntry.41520a2c20da53ad31e8.js +1 -0
  7. stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/static/style.js +4 -0
  8. stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/static/third-party-licenses.json +3 -0
  9. stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/themes/@stellars/jupyterlab_sublime_theme/index.css +581 -0
  10. stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/themes/@stellars/jupyterlab_sublime_theme/index.js +0 -0
  11. stellars_jupyterlab_sublime_theme-1.0.1.dist-info/METADATA +154 -0
  12. stellars_jupyterlab_sublime_theme-1.0.1.dist-info/RECORD +14 -0
  13. stellars_jupyterlab_sublime_theme-1.0.1.dist-info/WHEEL +4 -0
  14. stellars_jupyterlab_sublime_theme-1.0.1.dist-info/licenses/LICENSE +29 -0
@@ -0,0 +1,16 @@
1
+ try:
2
+ from ._version import __version__
3
+ except ImportError:
4
+ # Fallback when using the package in dev mode without installing
5
+ # in editable mode with pip. It is highly recommended to install
6
+ # the package from a stable release or in editable mode: https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs
7
+ import warnings
8
+ warnings.warn("Importing 'stellars_jupyterlab_sublime_theme' outside a proper installation.")
9
+ __version__ = "dev"
10
+
11
+
12
+ def _jupyter_labextension_paths():
13
+ return [{
14
+ "src": "labextension",
15
+ "dest": "@stellars/jupyterlab_sublime_theme"
16
+ }]
@@ -0,0 +1,4 @@
1
+ # This file is auto-generated by Hatchling. As such, do not:
2
+ # - modify
3
+ # - track in version control e.g. be sure to add to .gitignore
4
+ __version__ = VERSION = '1.0.1'
@@ -0,0 +1,5 @@
1
+ {
2
+ "packageManager": "python",
3
+ "packageName": "stellars_jupyterlab_sublime_theme",
4
+ "uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package stellars_jupyterlab_sublime_theme"
5
+ }
@@ -0,0 +1,192 @@
1
+ {
2
+ "name": "@stellars/jupyterlab_sublime_theme",
3
+ "version": "1.0.1",
4
+ "description": "Sublime dark theme based on Darcula, 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
+ "_build": {
95
+ "load": "static/remoteEntry.41520a2c20da53ad31e8.js",
96
+ "extension": "./extension"
97
+ }
98
+ },
99
+ "eslintIgnore": [
100
+ "node_modules",
101
+ "dist",
102
+ "coverage",
103
+ "**/*.d.ts"
104
+ ],
105
+ "eslintConfig": {
106
+ "extends": [
107
+ "eslint:recommended",
108
+ "plugin:@typescript-eslint/eslint-recommended",
109
+ "plugin:@typescript-eslint/recommended",
110
+ "plugin:prettier/recommended"
111
+ ],
112
+ "parser": "@typescript-eslint/parser",
113
+ "parserOptions": {
114
+ "project": "tsconfig.json",
115
+ "sourceType": "module"
116
+ },
117
+ "plugins": [
118
+ "@typescript-eslint"
119
+ ],
120
+ "rules": {
121
+ "@typescript-eslint/naming-convention": [
122
+ "error",
123
+ {
124
+ "selector": "interface",
125
+ "format": [
126
+ "PascalCase"
127
+ ],
128
+ "custom": {
129
+ "regex": "^I[A-Z]",
130
+ "match": true
131
+ }
132
+ }
133
+ ],
134
+ "@typescript-eslint/no-unused-vars": [
135
+ "warn",
136
+ {
137
+ "args": "none"
138
+ }
139
+ ],
140
+ "@typescript-eslint/no-explicit-any": "off",
141
+ "@typescript-eslint/no-namespace": "off",
142
+ "@typescript-eslint/no-use-before-define": "off",
143
+ "@typescript-eslint/quotes": [
144
+ "error",
145
+ "single",
146
+ {
147
+ "avoidEscape": true,
148
+ "allowTemplateLiterals": false
149
+ }
150
+ ],
151
+ "curly": [
152
+ "error",
153
+ "all"
154
+ ],
155
+ "eqeqeq": "error",
156
+ "prefer-arrow-callback": "error"
157
+ }
158
+ },
159
+ "prettier": {
160
+ "singleQuote": true,
161
+ "trailingComma": "none",
162
+ "arrowParens": "avoid",
163
+ "endOfLine": "auto",
164
+ "overrides": [
165
+ {
166
+ "files": "package.json",
167
+ "options": {
168
+ "tabWidth": 4
169
+ }
170
+ }
171
+ ]
172
+ },
173
+ "stylelint": {
174
+ "extends": [
175
+ "stylelint-config-recommended",
176
+ "stylelint-config-standard",
177
+ "stylelint-prettier/recommended"
178
+ ],
179
+ "plugins": [
180
+ "stylelint-csstree-validator"
181
+ ],
182
+ "rules": {
183
+ "csstree/validator": true,
184
+ "property-no-vendor-prefix": null,
185
+ "selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
186
+ "selector-no-vendor-prefix": null,
187
+ "value-no-vendor-prefix": null,
188
+ "alpha-value-notation": null,
189
+ "color-function-notation": null
190
+ }
191
+ }
192
+ }
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_stellars_jupyterlab_sublime_theme=self.webpackChunk_stellars_jupyterlab_sublime_theme||[]).push([[509],{509:(e,l,s)=>{s.r(l),s.d(l,{default:()=>t});const t={id:"@stellars/jupyterlab_sublime_theme:plugin",description:"Sublime dark theme based on Darcula, tweaked by Stellars",autoStart:!0,requires:[s(200).IThemeManager],activate:(e,l)=>{console.log("JupyterLab extension @stellars/jupyterlab_sublime_theme is activated!"),l.register({name:"Stellars Sublime",themeScrollbars:!0,isLight:!1,load:()=>l.loadCSS("@stellars/jupyterlab_sublime_theme/index.css"),unload:()=>Promise.resolve(void 0)})}}}}]);
@@ -0,0 +1 @@
1
+ var _JUPYTERLAB;(()=>{"use strict";var e,r,t,n,o,a,i,l,u,s,f,p,d,c,h,v,m,b,g,y={819:(e,r,t)=>{var n={"./index":()=>Promise.all([t.e(200),t.e(509)]).then((()=>()=>t(509))),"./extension":()=>Promise.all([t.e(200),t.e(509)]).then((()=>()=>t(509)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},w={};function _(e){var r=w[e];if(void 0!==r)return r.exports;var t=w[e]={exports:{}};return y[e](t,t.exports,_),t.exports}_.m=y,_.c=w,_.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return _.d(r,{a:r}),r},_.d=(e,r)=>{for(var t in r)_.o(r,t)&&!_.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},_.f={},_.e=e=>Promise.all(Object.keys(_.f).reduce(((r,t)=>(_.f[t](e,r),r)),[])),_.u=e=>e+"."+{200:"efc25c4bd997f8419588",509:"d8cdae86757ffaf9fc38"}[e]+".js?v="+{200:"efc25c4bd997f8419588",509:"d8cdae86757ffaf9fc38"}[e],_.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),_.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@stellars/jupyterlab_sublime_theme:",_.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==o)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var f=u[s];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+o){i=f;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,_.nc&&i.setAttribute("nonce",_.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var p=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},_.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{_.S={};var e={},r={};_.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];_.o(_.S,t)||(_.S[t]={});var a=_.S[t],i="@stellars/jupyterlab_sublime_theme",l=[];return"default"===t&&((e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(1!=!l.eager?n:i>l.from))&&(o[r]={get:()=>Promise.all([_.e(200),_.e(509)]).then((()=>()=>_(509))),from:i,eager:!1})})("@stellars/jupyterlab_sublime_theme","1.0.1"),e[t]=l.length?Promise.all(l).then((()=>e[t]=1)):1}}})(),(()=>{var e;_.g.importScripts&&(e=_.g.location+"");var r=_.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),_.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?i.pop()+" "+i.pop():o(l))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,l=1,u=!0;;l++,i++){var s,f,p=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(f=(typeof(s=r[i]))[0]))return!u||("u"==p?l>n&&!o:""==p!=o);if("u"==f){if(!u||"u"!=p)return!1}else if(u)if(p==f)if(l<=n){if(s!=e[l])return!1}else{if(o?s>e[l]:s<e[l])return!1;s!=e[l]&&(u=!1)}else if("s"!=p&&"n"!=p){if(o||l<=n)return!1;u=!1,l--}else{if(l<=n||f<p!=o)return!1;u=!1}else"s"!=p&&"n"!=p&&(u=!1,l--)}}var d=[],c=d.pop.bind(d);for(i=1;i<e.length;i++){var h=e[i];d.push(1==h?c()|c():2==h?c()&c():h?a(h,r):!c())}return!!c()},i=(e,r)=>e&&_.o(e,r),l=e=>(e.loaded=1,e.get()),u=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),s=(e,r,t)=>{var o=t?u(e[r]):e[r];return Object.keys(o).reduce(((e,r)=>!e||!o[e].loaded&&n(e,r)?r:e),0)},f=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",p=e=>{throw new Error(e)},d=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},c=(e,r,t)=>t?t():((e,r)=>p("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),h=(e=>function(r,t,n,o,a){var i=_.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,_.S[r],t,!1,o,a)):e(r,_.S[r],t,n,o,a)})(((e,r,t,n,o,u)=>{if(!i(r,t))return c(e,t,u);var p=s(r,t,n);return a(o,p)||d(f(r,t,p,o)),l(r[t][p])})),v={},m={200:()=>h("default","@jupyterlab/apputils",!1,[1,4,3,5])},b={200:[200]},g={},_.f.consumes=(e,r)=>{_.o(b,e)&&b[e].forEach((e=>{if(_.o(v,e))return r.push(v[e]);if(!g[e]){var t=r=>{v[e]=0,_.m[e]=t=>{delete _.c[e],t.exports=r()}};g[e]=!0;var n=r=>{delete v[e],_.m[e]=t=>{throw delete _.c[e],r}};try{var o=m[e]();o.then?r.push(v[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}}))},(()=>{var e={820:0};_.f.j=(r,t)=>{var n=_.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(200!=r){var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=_.p+_.u(r),i=new Error;_.l(a,(t=>{if(_.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}else e[r]=0};var r=(r,t)=>{var n,o,[a,i,l]=t,u=0;if(a.some((r=>0!==e[r]))){for(n in i)_.o(i,n)&&(_.m[n]=i[n]);l&&l(_)}for(r&&r(t);u<a.length;u++)o=a[u],_.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunk_stellars_jupyterlab_sublime_theme=self.webpackChunk_stellars_jupyterlab_sublime_theme||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var S=_(819);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["@stellars/jupyterlab_sublime_theme"]=S})();
@@ -0,0 +1,4 @@
1
+ /* This is a generated file of CSS imports */
2
+ /* It was generated by @jupyterlab/builder in Build.ensureAssets() */
3
+
4
+
@@ -0,0 +1,581 @@
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
+ /*
44
+ .cm-s-jupyter span.cm-keyword { color: #CC7832; line-height: 1em; font-weight: bold; }
45
+ .cm-s-jupyter span.cm-atom { color: #CC7832; }
46
+ .cm-s-jupyter span.cm-number { color: #6897BB; }
47
+ .cm-s-jupyter span.cm-def { color: #A9B7C6; font-style: italic; }
48
+ .cm-s-jupyter span.cm-variable { color: #A9B7C6; }
49
+ .cm-s-jupyter span.cm-variable-2 { color: #A9B7C6; }
50
+ .cm-s-jupyter span.cm-variable-3 { color: #9876AA; }
51
+ .cm-s-jupyter span.cm-special { color: #FF9E59; }
52
+ .cm-s-jupyter span.cm-property { color: #FFC66D; }
53
+ .cm-s-jupyter span.cm-operator { color: #A9B7C6; }
54
+ .cm-s-jupyter span.cm-comment { color: #61A151; font-style: italic; }
55
+ .cm-s-jupyter span.cm-string { color: #6A8759; }
56
+ .cm-s-jupyter span.cm-string-2 { color: #6A8759; }
57
+ .cm-s-jupyter span.cm-meta { color: #BBB529; }
58
+ .cm-s-jupyter span.cm-qualifier { color: #6A8759; }
59
+ .cm-s-jupyter span.cm-builtin { color: #FF9E59; }
60
+ .cm-s-jupyter span.cm-bracket { color: #A9B7C6; }
61
+ .cm-s-jupyter span.cm-tag { color: #629755; font-weight: bold; font-style: italic; text-decoration: underline; }
62
+ .cm-s-jupyter span.cm-attribute { color: #6897bb; }
63
+
64
+ .cm-s-jupyter span.cm-link { color: #CC7832; }
65
+ .cm-s-jupyter span.cm-error { color: #BC3F3C; }
66
+
67
+ .cm-s-jupyter .CodeMirror-gutters { background: #313335; border-right: 1px solid #313335; }
68
+
69
+ .cm-s-jupyter { font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;}
70
+ .cm-s-jupyter.CodeMirror { background: #2B2B2B; color: #A9B7C6; }
71
+
72
+ .CodeMirror-hints.jupyter {
73
+ font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
74
+ color: #9C9E9E;
75
+ background-color: #3B3E3F !important;
76
+ }
77
+
78
+ .CodeMirror-hints.jupyter .CodeMirror-hint-active {
79
+ background-color: #494D4E !important;
80
+ color: #9C9E9E !important;
81
+ }
82
+ */
83
+
84
+ /*-----------------------------------------------------------------------------
85
+ | Copyright (c) Max Klein.
86
+ | Distributed under the terms of the Modified BSD License.
87
+ |----------------------------------------------------------------------------*/
88
+
89
+ /*
90
+ The following CSS variables define the main, public API for styling JupyterLab.
91
+ These variables should be used by all plugins wherever possible. In other
92
+ words, plugins should not define custom colors, sizes, etc unless absolutely
93
+ necessary. This enables users to change the visual theme of JupyterLab
94
+ by changing these variables.
95
+
96
+ Many variables appear in an ordered sequence (0,1,2,3). These sequences
97
+ are designed to work well together, so for example, `--jp-border-color1` should
98
+ be used with `--jp-layout-color1`. The numbers have the following meanings:
99
+
100
+ * 0: super-primary, reserved for special emphasis
101
+ * 1: primary, most important under normal situations
102
+ * 2: secondary, next most important under normal situations
103
+ * 3: tertiary, next most important under normal situations
104
+
105
+ Throughout JupyterLab, we are mostly following principles from Google's
106
+ Material Design when selecting colors. We are not, however, following
107
+ all of MD as it is not optimized for dense, information rich UIs.
108
+ */
109
+
110
+ :root {
111
+ /* Elevation
112
+ *
113
+ * We style box-shadows using Material Design's idea of elevation. These particular numbers are taken from here:
114
+ *
115
+ * https://github.com/material-components/material-components-web
116
+ * https://material-components-web.appspot.com/elevation.html
117
+ */
118
+
119
+ /* The dark theme shadows need a bit of work, but this will probably also require work on the core layout
120
+ * colors used in the theme as well. */
121
+ --jp-shadow-base-lightness: 32;
122
+ --jp-shadow-umbra-color: rgba(
123
+ var(--jp-shadow-base-lightness),
124
+ var(--jp-shadow-base-lightness),
125
+ var(--jp-shadow-base-lightness),
126
+ 0.2
127
+ );
128
+ --jp-shadow-penumbra-color: rgba(
129
+ var(--jp-shadow-base-lightness),
130
+ var(--jp-shadow-base-lightness),
131
+ var(--jp-shadow-base-lightness),
132
+ 0.14
133
+ );
134
+ --jp-shadow-ambient-color: rgba(
135
+ var(--jp-shadow-base-lightness),
136
+ var(--jp-shadow-base-lightness),
137
+ var(--jp-shadow-base-lightness),
138
+ 0.12
139
+ );
140
+ --jp-elevation-z0: none;
141
+ --jp-elevation-z1: 0px 2px 1px -1px var(--jp-shadow-umbra-color),
142
+ 0px 1px 1px 0px var(--jp-shadow-penumbra-color),
143
+ 0px 1px 3px 0px var(--jp-shadow-ambient-color);
144
+ --jp-elevation-z2: 0px 3px 1px -2px var(--jp-shadow-umbra-color),
145
+ 0px 2px 2px 0px var(--jp-shadow-penumbra-color),
146
+ 0px 1px 5px 0px var(--jp-shadow-ambient-color);
147
+ --jp-elevation-z4: 0px 2px 4px -1px var(--jp-shadow-umbra-color),
148
+ 0px 4px 5px 0px var(--jp-shadow-penumbra-color),
149
+ 0px 1px 10px 0px var(--jp-shadow-ambient-color);
150
+ --jp-elevation-z6: 0px 3px 5px -1px var(--jp-shadow-umbra-color),
151
+ 0px 6px 10px 0px var(--jp-shadow-penumbra-color),
152
+ 0px 1px 18px 0px var(--jp-shadow-ambient-color);
153
+ --jp-elevation-z8: 0px 5px 5px -3px var(--jp-shadow-umbra-color),
154
+ 0px 8px 10px 1px var(--jp-shadow-penumbra-color),
155
+ 0px 3px 14px 2px var(--jp-shadow-ambient-color);
156
+ --jp-elevation-z12: 0px 7px 8px -4px var(--jp-shadow-umbra-color),
157
+ 0px 12px 17px 2px var(--jp-shadow-penumbra-color),
158
+ 0px 5px 22px 4px var(--jp-shadow-ambient-color);
159
+ --jp-elevation-z16: 0px 8px 10px -5px var(--jp-shadow-umbra-color),
160
+ 0px 16px 24px 2px var(--jp-shadow-penumbra-color),
161
+ 0px 6px 30px 5px var(--jp-shadow-ambient-color);
162
+ --jp-elevation-z20: 0px 10px 13px -6px var(--jp-shadow-umbra-color),
163
+ 0px 20px 31px 3px var(--jp-shadow-penumbra-color),
164
+ 0px 8px 38px 7px var(--jp-shadow-ambient-color);
165
+ --jp-elevation-z24: 0px 11px 15px -7px var(--jp-shadow-umbra-color),
166
+ 0px 24px 38px 3px var(--jp-shadow-penumbra-color),
167
+ 0px 9px 46px 8px var(--jp-shadow-ambient-color);
168
+
169
+ /* Borders
170
+ *
171
+ * The following variables, specify the visual styling of borders in JupyterLab.
172
+ */
173
+
174
+ --jp-border-width: 1px;
175
+ --jp-border-color0: var(--md-grey-700);
176
+ --jp-border-color1: var(--md-grey-700);
177
+ --jp-border-color2: var(--md-grey-800);
178
+ --jp-border-color3: var(--md-grey-900);
179
+ --jp-border-radius: 2px;
180
+
181
+ /* UI Fonts
182
+ *
183
+ * The UI font CSS variables are used for the typography all of the JupyterLab
184
+ * user interface elements that are not directly user generated content.
185
+ *
186
+ * The font sizing here is done assuming that the body font size of --jp-ui-font-size1
187
+ * is applied to a parent element. When children elements, such as headings, are sized
188
+ * in em all things will be computed relative to that body size.
189
+ */
190
+
191
+ --jp-ui-font-scale-factor: 1.2;
192
+ --jp-ui-font-size0: 0.83333em;
193
+ --jp-ui-font-size1: 13px; /* Base font size */
194
+ --jp-ui-font-size2: 1.2em;
195
+ --jp-ui-font-size3: 1.44em;
196
+
197
+ --jp-ui-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica,
198
+ Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
199
+
200
+ /*
201
+ * Use these font colors against the corresponding main layout colors.
202
+ * In a light theme, these go from dark to light.
203
+ */
204
+
205
+ --jp-ui-font-color0: rgb(195, 195, 195);
206
+ --jp-ui-font-color1: rgb(165, 165, 165);
207
+ --jp-ui-font-color2: rgb(125, 125, 125);
208
+ --jp-ui-font-color3: rgb(90, 90, 90);
209
+
210
+ /* Defaults use Material Design specification */
211
+ /*
212
+ * --jp-ui-font-color0: #a9b7c6;
213
+ * --jp-ui-font-color1: var(--md-grey-300);
214
+ * --jp-ui-font-color2: var(--md-grey-500);
215
+ * --jp-ui-font-color3: var(--md-grey-700);
216
+ *
217
+ * --jp-ui-font-color0: rgba(195, 195, 195, 1);
218
+ * --jp-ui-font-color1: rgba(195, 195, 195, 0.87);
219
+ * --jp-ui-font-color2: rgba(195, 195, 195, 0.54);
220
+ * --jp-ui-font-color3: rgba(195, 195, 195, 0.38);
221
+ */
222
+
223
+ /*
224
+ * Use these against the brand/accent/warn/error colors.
225
+ * These will typically go from light to darker, in both a dark and light theme.
226
+ */
227
+
228
+ --jp-ui-inverse-font-color0: rgba(30, 33, 36, 1);
229
+ --jp-ui-inverse-font-color1: rgba(30, 33, 36, 0.8);
230
+ --jp-ui-inverse-font-color2: rgba(30, 33, 36, 0.5);
231
+ --jp-ui-inverse-font-color3: rgba(30, 33, 36, 0.3);
232
+
233
+ /* Content Fonts
234
+ *
235
+ * Content font variables are used for typography of user generated content.
236
+ *
237
+ * The font sizing here is done assuming that the body font size of --jp-content-font-size1
238
+ * is applied to a parent element. When children elements, such as headings, are sized
239
+ * in em all things will be computed relative to that body size.
240
+ */
241
+
242
+ --jp-content-line-height: 1.6;
243
+ --jp-content-font-scale-factor: 1.2;
244
+ --jp-content-font-size0: 0.83333em;
245
+ --jp-content-font-size1: 14px; /* Base font size */
246
+ --jp-content-font-size2: 1.2em;
247
+ --jp-content-font-size3: 1.44em;
248
+ --jp-content-font-size4: 1.728em;
249
+ --jp-content-font-size5: 2.0736em;
250
+
251
+ /* This gives a magnification of about 125% in presentation mode over normal. */
252
+ --jp-content-presentation-font-size1: 1.25em;
253
+
254
+ --jp-content-heading-line-height: 1;
255
+ --jp-content-heading-margin-top: 1.2em;
256
+ --jp-content-heading-margin-bottom: 0.8em;
257
+ --jp-content-heading-font-weight: 500;
258
+
259
+ /* Shades of the default font color */
260
+ --jp-content-font-color0: rgba(187, 187, 187, 1);
261
+ --jp-content-font-color1: rgba(187, 187, 187, 1);
262
+ --jp-content-font-color2: rgba(187, 187, 187, 0.7);
263
+ --jp-content-font-color3: rgba(187, 187, 187, 0.5);
264
+
265
+ --jp-content-link-color: var(--md-blue-300);
266
+
267
+ --jp-content-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
268
+ Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
269
+ "Segoe UI Symbol";
270
+
271
+ /*
272
+ * Code Fonts
273
+ *
274
+ * Code font variables are used for typography of code and other monospaces content.
275
+ */
276
+
277
+ --jp-code-font-size: 15px;
278
+ --jp-code-line-height: 1.3077; /* 17px for 15px base */
279
+ --jp-code-padding: 0.385em; /* 5px for 15px base */
280
+ --jp-code-font-family-default: Consolas, Menlo, Monaco, "Lucida Console",
281
+ "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
282
+ "Courier New", monospace, serif;
283
+ --jp-code-font-family: var(--jp-code-font-family-default);
284
+
285
+ /* This gives a magnification of about 125% in presentation mode over normal. */
286
+ --jp-code-presentation-font-size: 1.25em;
287
+
288
+ /* may need to tweak cursor width if you change font size */
289
+ --jp-code-cursor-width0: 2px; /*0.107em;*/
290
+ --jp-code-cursor-width1: 3px; /*0.154em;*/
291
+ --jp-code-cursor-width2: 6px; /*0.308em;*/
292
+
293
+ /* Layout
294
+ *
295
+ * The following are the main layout colors use in JupyterLab. In a light
296
+ * theme these would go from light to dark.
297
+ */
298
+
299
+ /* --jp-layout-color0: #2b2b2b;
300
+ --jp-layout-color1: #313335;
301
+ --jp-layout-color2: #3c3f41;
302
+ --jp-layout-color3: #555758;
303
+ --jp-layout-color4: #626465;
304
+ --jp-layout-color5: #a9b7c6; */
305
+
306
+ /* stellars customisation */
307
+ --jp-layout-color0: #252b32; /* terminal, main notebook */
308
+ --jp-layout-color1: #303841; /* panel and toolbar */
309
+ --jp-layout-color2: #404b54; /*var(--md-grey-800); border of the screen and line numbers gutter 46525c */
310
+ --jp-layout-color3: #4d5a65; /*var(--md-grey-700); */
311
+ --jp-layout-color4: #626465; /*var(--md-grey-600); */
312
+ --jp-layout-color5: #a9b7c6;
313
+
314
+ /* Inverse Layout
315
+ *
316
+ * The following are the inverse layout colors use in JupyterLab. In a light
317
+ * theme these would go from dark to light.
318
+ */
319
+
320
+ --jp-inverse-layout-color0: white;
321
+ --jp-inverse-layout-color1: white;
322
+ --jp-inverse-layout-color2: var(--md-grey-200);
323
+ --jp-inverse-layout-color3: var(--md-grey-400);
324
+ --jp-inverse-layout-color4: var(--md-grey-600);
325
+
326
+ /* Brand/accent */
327
+
328
+ --jp-brand-color0: var(--md-blue-700);
329
+ --jp-brand-color1: var(--md-blue-500);
330
+ --jp-brand-color2: var(--md-blue-300);
331
+ --jp-brand-color3: var(--md-blue-100);
332
+ --jp-brand-color4: var(--md-blue-50);
333
+
334
+ --jp-accent-color0: var(--md-green-700);
335
+ --jp-accent-color1: var(--md-green-500);
336
+ --jp-accent-color2: var(--md-green-300);
337
+ --jp-accent-color3: var(--md-green-100);
338
+
339
+ /* State colors (warn, error, success, info) */
340
+ --jp-warn-color0: var(--md-orange-700);
341
+ --jp-warn-color1: var(--md-orange-500);
342
+ --jp-warn-color2: var(--md-orange-300);
343
+ --jp-warn-color3: var(--md-orange-100);
344
+
345
+ --jp-error-color0: var(--md-red-700);
346
+ --jp-error-color1: var(--md-red-500);
347
+ --jp-error-color2: var(--md-red-300);
348
+ --jp-error-color3: var(--md-red-100);
349
+
350
+ --jp-success-color0: var(--md-green-700);
351
+ --jp-success-color1: var(--md-green-500);
352
+ --jp-success-color2: var(--md-green-300);
353
+ --jp-success-color3: var(--md-green-100);
354
+
355
+ --jp-info-color0: var(--md-cyan-700);
356
+ --jp-info-color1: var(--md-cyan-500);
357
+ --jp-info-color2: var(--md-cyan-300);
358
+ --jp-info-color3: var(--md-cyan-100);
359
+
360
+ /* Cell specific styles */
361
+
362
+ --jp-cell-padding: 5px;
363
+
364
+ --jp-cell-collapser-width: 8px;
365
+ --jp-cell-collapser-min-height: 20px;
366
+ --jp-cell-collapser-not-active-hover-opacity: 0.6;
367
+
368
+ --jp-cell-editor-background: var(--jp-layout-color1);
369
+ --jp-cell-editor-border-color: var(--md-grey-700);
370
+ --jp-cell-editor-box-shadow: inset 0 0 2px var(--md-blue-300);
371
+ --jp-cell-editor-active-background: var(--jp-layout-color0);
372
+ --jp-cell-editor-active-border-color: var(--jp-brand-color1);
373
+
374
+ --jp-cell-prompt-width: 64px;
375
+ --jp-cell-prompt-font-family: var(--jp-code-font-family);
376
+ --jp-cell-prompt-letter-spacing: 0px;
377
+ --jp-cell-prompt-opacity: 1;
378
+ --jp-cell-prompt-not-active-opacity: 1;
379
+ --jp-cell-prompt-not-active-font-color: var(--md-grey-300);
380
+
381
+ /* A custom blend of MD grey and blue 600
382
+ * See https://meyerweb.com/eric/tools/color-blend/#546E7A:1E88E5:5:hex */
383
+ --jp-cell-inprompt-font-color: #307fc1;
384
+ /* A custom blend of MD grey and orange 600
385
+ * https://meyerweb.com/eric/tools/color-blend/#546E7A:F4511E:5:hex */
386
+ --jp-cell-outprompt-font-color: #bf5b3d;
387
+
388
+ /* Notebook specific styles */
389
+
390
+ --jp-notebook-padding: 10px;
391
+ --jp-notebook-select-background: var(--jp-layout-color1);
392
+ --jp-notebook-multiselected-color: rgba(33, 150, 243, 0.24);
393
+
394
+ /* The scroll padding is calculated to fill enough space at the bottom of the
395
+ notebook to show one single-line cell (with appropriate padding) at the top
396
+ when the notebook is scrolled all the way to the bottom. We also subtract one
397
+ pixel so that no scrollbar appears if we have just one single-line cell in the
398
+ notebook. This padding is to enable a 'scroll past end' feature in a notebook.
399
+ */
400
+ --jp-notebook-scroll-padding: calc(
401
+ 100% - var(--jp-code-font-size) * var(--jp-code-line-height) -
402
+ var(--jp-code-padding) - var(--jp-cell-padding) - 1px
403
+ );
404
+
405
+ /* Rendermime styles */
406
+
407
+ --jp-rendermime-error-background: rgba(244, 67, 54, 0.28);
408
+ --jp-rendermime-table-row-background: var(--md-grey-900);
409
+ --jp-rendermime-table-row-hover-background: rgba(3, 169, 244, 0.2);
410
+
411
+ /* Dialog specific styles */
412
+
413
+ --jp-dialog-background: rgba(0, 0, 0, 0.6);
414
+
415
+ /* Console specific styles */
416
+
417
+ --jp-console-padding: 10px;
418
+
419
+ /* Toolbar specific styles */
420
+
421
+ --jp-toolbar-border-color: var(--jp-border-color2);
422
+ --jp-toolbar-micro-height: 8px;
423
+ --jp-toolbar-background: var(--jp-layout-color1);
424
+ --jp-toolbar-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.8);
425
+ --jp-toolbar-header-margin: 4px 4px 0px 4px;
426
+ --jp-toolbar-active-background: var(--jp-layout-color0);
427
+
428
+ /* Statusbar specific styles */
429
+
430
+ --jp-statusbar-height: 24px;
431
+
432
+ /* Input field styles */
433
+
434
+ --jp-input-box-shadow: inset 0 0 2px var(--md-blue-300);
435
+ --jp-input-active-background: var(--jp-layout-color0);
436
+ --jp-input-hover-background: var(--jp-layout-color2);
437
+ --jp-input-background: var(--md-grey-800);
438
+ --jp-input-border-color: var(--jp-border-color1);
439
+ --jp-input-active-border-color: var(--jp-brand-color1);
440
+ --jp-input-active-box-shadow-color: rgba(19, 124, 189, 0.3);
441
+
442
+ /* General editor styles */
443
+
444
+ --jp-editor-selected-background: var(--jp-layout-color2);
445
+ --jp-editor-selected-focused-background: #214283;
446
+ --jp-editor-cursor-color: #a9b7c6; /*{ border-left: 1px solid var(--jp-ui-font-color0) };*/
447
+
448
+ /*
449
+ .cm-s-darcula .CodeMirror-cursor { border-left: 1px solid #A9B7C6; }
450
+ .cm-s-darcula .CodeMirror-activeline-background { background: #323232; }
451
+ .cm-s-darcula .CodeMirror-gutters { background: #313335; border-right: 1px solid #313335; }
452
+ .cm-s-darcula .CodeMirror-guttermarker { color: #FFEE80; }
453
+ .cm-s-darcula .CodeMirror-guttermarker-subtle { color: #D0D0D0; }
454
+ .cm-s-darcula .CodeMirrir-linenumber { color: #606366; }
455
+ .cm-s-darcula .CodeMirror-matchingbracket { background-color: #3B514D; color: #FFEF28 !important; font-weight: bold; }
456
+
457
+ .cm-s-darcula div.CodeMirror-selected { background: #214283; }
458
+
459
+ .CodeMirror-hints.darcula {
460
+ font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
461
+ color: #9C9E9E;
462
+ background-color: #3B3E3F !important;
463
+ }
464
+
465
+ .CodeMirror-hints.darcula .CodeMirror-hint-active {
466
+ background-color: #494D4E !important;
467
+ color: #9C9E9E !important;
468
+ }
469
+
470
+ .cm-s-darcula { font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;}
471
+ .cm-s-darcula.CodeMirror { background: #2B2B2B; color: #A9B7C6; }
472
+
473
+ .cm-s-darcula span.cm-keyword { color: #CC7832; line-height: 1em; font-weight: bold; }
474
+ .cm-s-darcula span.cm-atom { color: #CC7832; }
475
+ .cm-s-darcula span.cm-number { color: #6897BB; }
476
+ .cm-s-darcula span.cm-def { color: #A9B7C6; font-style: italic; }
477
+ .cm-s-darcula span.cm-variable { color: #A9B7C6; }
478
+ .cm-s-darcula span.cm-variable-2 { color: #A9B7C6; }
479
+ .cm-s-darcula span.cm-variable-3 { color: #9876AA; }
480
+ .cm-s-darcula span.cm-special { color: #FF9E59; }
481
+ .cm-s-darcula span.cm-property { color: #FFC66D; }
482
+ .cm-s-darcula span.cm-operator { color: #A9B7C6; }
483
+ .cm-s-darcula span.cm-comment { color: #61A151; font-style: italic; }
484
+ .cm-s-darcula span.cm-string { color: #6A8759; }
485
+ .cm-s-darcula span.cm-string-2 { color: #6A8759; }
486
+ .cm-s-darcula span.cm-meta { color: #BBB529; }
487
+ .cm-s-darcula span.cm-qualifier { color: #6A8759; }
488
+ .cm-s-darcula span.cm-builtin { color: #FF9E59; }
489
+ .cm-s-darcula span.cm-bracket { color: #A9B7C6; }
490
+ .cm-s-darcula span.cm-tag { color: #629755; font-weight: bold; font-style: italic; text-decoration: underline; }
491
+ .cm-s-darcula span.cm-attribute { color: #6897bb; }
492
+
493
+ .cm-s-darcula span.cm-link { color: #CC7832; }
494
+ .cm-s-darcula span.cm-error { color: #BC3F3C; }
495
+
496
+ .cm-s-darcula span.cm-type { color: #AABBCC; font-weight: bold; }
497
+ */
498
+
499
+ /* Code mirror specific styles */
500
+ --jp-mirror-editor-keyword-color: #cc7832;
501
+ --jp-mirror-editor-atom-color: #cc7832;
502
+ --jp-mirror-editor-number-color: #6897bb;
503
+ --jp-mirror-editor-def-color: #ffc66d;
504
+ --jp-mirror-editor-variable-color: #a9b7c6;
505
+ --jp-mirror-editor-variable-2-color: #94558d;
506
+ --jp-mirror-editor-variable-3-color: #9876aa;
507
+ --jp-mirror-editor-punctuation-color: #ff9e59;
508
+ --jp-mirror-editor-property-color: #a9b7c6;
509
+ --jp-mirror-editor-operator-color: #a9b7c6;
510
+ --jp-mirror-editor-comment-color: #808080;
511
+ --jp-mirror-editor-string-color: #6a8759;
512
+ --jp-mirror-editor-string-2-color: #6a8759;
513
+ --jp-mirror-editor-meta-color: #bbb529;
514
+ --jp-mirror-editor-qualifier-color: #6a8759;
515
+ --jp-mirror-editor-builtin-color: #ff9e59;
516
+ --jp-mirror-editor-bracket-color: #a9b7c6;
517
+ --jp-mirror-editor-tag-color: #629755;
518
+ --jp-mirror-editor-attribute-color: #6897bb;
519
+
520
+ --jp-mirror-editor-header-color: var(--md-blue-500);
521
+ --jp-mirror-editor-quote-color: var(--md-green-300);
522
+
523
+ /* --jp-mirror-editor-link-color: #cc7832; CUSTOM */
524
+ --jp-mirror-editor-link-color: #cc78FF;
525
+ --jp-mirror-editor-error-color: #bc3f3c;
526
+ --jp-mirror-editor-hr-color: #999;
527
+
528
+ /* Vega extension styles */
529
+
530
+ --jp-vega-background: var(--md-grey-400);
531
+
532
+ /* Sidebar-related styles */
533
+
534
+ --jp-sidebar-min-width: 250px;
535
+
536
+ /* Search-related styles */
537
+
538
+ --jp-search-toggle-off-opacity: 0.6;
539
+ --jp-search-toggle-hover-opacity: 0.8;
540
+ --jp-search-toggle-on-opacity: 1;
541
+ --jp-search-selected-match-background-color: rgb(255, 225, 0);
542
+ --jp-search-selected-match-color: black;
543
+ --jp-search-unselected-match-background-color: var(
544
+ --jp-inverse-layout-color0
545
+ );
546
+ --jp-search-unselected-match-color: var(--jp-ui-inverse-font-color0);
547
+
548
+ /* scrollbar related styles. Supports every browser except Edge. */
549
+
550
+ --jp-scrollbar-background-color: #333840;
551
+ --jp-scrollbar-thumb-color: 82, 90, 100; /* need to specify thumb color as an RGB triplet 68, 75, 83; */
552
+ --jp-scrollbar-endpad: 3px; /* the minimum gap between the thumb and the ends of a scrollbar */
553
+
554
+ /* hacks for setting the thumb shape. These do nothing in Firefox */
555
+
556
+ --jp-scrollbar-thumb-margin: 3.5px; /* the space in between the sides of the thumb and the track */
557
+ --jp-scrollbar-thumb-radius: 9px; /* set to a large-ish value for rounded endcaps on the thumb */
558
+
559
+ /* Icon colors that work well with light or dark backgrounds */
560
+ --jp-icon-contrast-color0: var(--md-purple-600);
561
+ --jp-icon-contrast-color1: var(--md-green-600);
562
+ --jp-icon-contrast-color2: var(--md-pink-600);
563
+ --jp-icon-contrast-color3: var(--md-blue-600);
564
+ }
565
+
566
+ /*-----------------------------------------------------------------------------
567
+ | Copyright (c) Max Klein.
568
+ | Distributed under the terms of the Modified BSD License.
569
+ |----------------------------------------------------------------------------*/
570
+
571
+ /* Set the default typography for monospace elements */
572
+ tt,
573
+ code,
574
+ kbd,
575
+ samp,
576
+ pre {
577
+ font-family: var(--jp-code-font-family);
578
+ font-size: var(--jp-code-font-size);
579
+ line-height: var(--jp-code-line-height);
580
+ }
581
+
@@ -0,0 +1,154 @@
1
+ Metadata-Version: 2.3
2
+ Name: stellars_jupyterlab_sublime_theme
3
+ Version: 1.0.1
4
+ Summary: Sublime dark theme based on Darcula, tweaked by Stellars
5
+ Project-URL: Homepage, https://github.com/stellarshenson/jupyterlab_stellars_sublime_theme
6
+ Project-URL: Bug Tracker, https://github.com/stellarshenson/jupyterlab_stellars_sublime_theme/issues
7
+ Project-URL: Repository, https://github.com/stellarshenson/jupyterlab_stellars_sublime_theme.git
8
+ Author-email: Konrad Jelen <konrad.jelen@gmail.com>
9
+ License: BSD 3-Clause License
10
+
11
+ Copyright (c) 2024, Konrad Jelen
12
+ All rights reserved.
13
+
14
+ Redistribution and use in source and binary forms, with or without
15
+ modification, are permitted provided that the following conditions are met:
16
+
17
+ 1. Redistributions of source code must retain the above copyright notice, this
18
+ list of conditions and the following disclaimer.
19
+
20
+ 2. Redistributions in binary form must reproduce the above copyright notice,
21
+ this list of conditions and the following disclaimer in the documentation
22
+ and/or other materials provided with the distribution.
23
+
24
+ 3. Neither the name of the copyright holder nor the names of its
25
+ contributors may be used to endorse or promote products derived from
26
+ this software without specific prior written permission.
27
+
28
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
29
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
31
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
32
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
34
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
35
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
36
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38
+ License-File: LICENSE
39
+ Keywords: jupyter,jupyterlab,jupyterlab-extension
40
+ Classifier: Framework :: Jupyter
41
+ Classifier: Framework :: Jupyter :: JupyterLab
42
+ Classifier: Framework :: Jupyter :: JupyterLab :: 4
43
+ Classifier: Framework :: Jupyter :: JupyterLab :: Extensions
44
+ Classifier: Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt
45
+ Classifier: License :: OSI Approved :: BSD License
46
+ Classifier: Programming Language :: Python
47
+ Classifier: Programming Language :: Python :: 3
48
+ Classifier: Programming Language :: Python :: 3.8
49
+ Classifier: Programming Language :: Python :: 3.9
50
+ Classifier: Programming Language :: Python :: 3.10
51
+ Classifier: Programming Language :: Python :: 3.11
52
+ Classifier: Programming Language :: Python :: 3.12
53
+ Requires-Python: >=3.8
54
+ Description-Content-Type: text/markdown
55
+
56
+ # Stellars Jupyterlab Sublime Theme
57
+
58
+ [![Github Actions Status](/workflows/Build/badge.svg)](/actions/workflows/build.yml)
59
+
60
+ **Dark Gray-blue clone based on Sublime Text Editor**
61
+
62
+ Dark Sublime Text Editor theme clone for jupyterlab based on [Sublime Text Editor](https://www.sublimetext.com).
63
+ This theme has simple, dark gray-blue clean colours and minimal intruision into the standard jupyterlab styling.
64
+ Base theme on which this one was built is the original [Jupyterlab Darcula theme](https://github.com/telamonian/theme-darcula)
65
+
66
+ Project is based on the latest [jupyterlab extension template](https://github.com/jupyterlab/extension-template) and built with with copier.
67
+
68
+ ![](screenshot-stellars-sublime.png)
69
+ ## Requirements
70
+
71
+ - JupyterLab >= 4.0.0
72
+
73
+ ## Install
74
+
75
+ To install the extension, execute:
76
+
77
+ ```bash
78
+ pip install stellars_jupyterlab_sublime_theme
79
+ ```
80
+
81
+ ## Uninstall
82
+
83
+ To remove the extension, execute:
84
+
85
+ ```bash
86
+ pip uninstall stellars_jupyterlab_sublime_theme
87
+ ```
88
+
89
+ ## Contributing
90
+
91
+ ### Development install
92
+
93
+ Note: You will need NodeJS to build the extension package.
94
+
95
+ #### Dependencies
96
+ - install nodejs with conda: `conda install nodejs`
97
+ - install jupyterlab: `conda install jupyterlab`
98
+ - install maketools: `conda install make`
99
+ - install build and setuptools: `pip install build setuptools`
100
+
101
+ #### Build
102
+
103
+ - invoke `make` to build the `.whl` package
104
+ - invoke `make clean` to run cleanup & uninstall
105
+ - invoke `make install` to build and install extension
106
+ - invoke `make uninstall` to uninstall extension
107
+
108
+ #### Development
109
+
110
+ The `jlpm` command is JupyterLab's pinned version of
111
+ [yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use
112
+ `yarn` or `npm` in lieu of `jlpm` below.
113
+
114
+ ```bash
115
+ # Clone the repo to your local environment
116
+ # Change directory to the stellars_jupyterlab_sublime_theme directory
117
+ # Install package in development mode
118
+ pip install -e "."
119
+ # Link your development version of the extension with JupyterLab
120
+ jupyter labextension develop . --overwrite
121
+ # Rebuild extension Typescript source after making changes
122
+ jlpm build
123
+ ```
124
+
125
+ 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.
126
+
127
+ ```bash
128
+ # Watch the source directory in one terminal, automatically rebuilding when needed
129
+ jlpm watch
130
+ # Run JupyterLab in another terminal
131
+ jupyter lab
132
+ ```
133
+
134
+ 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).
135
+
136
+ 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:
137
+
138
+ ```bash
139
+ jupyter lab build --minimize=False
140
+ ```
141
+
142
+ ### Development uninstall
143
+
144
+ ```bash
145
+ pip uninstall stellars_jupyterlab_sublime_theme
146
+ ```
147
+
148
+ In development mode, you will also need to remove the symlink created by `jupyter labextension develop`
149
+ command. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`
150
+ folder is located. Then you can remove the symlink named `@stellars/jupyterlab_sublime_theme` within that folder.
151
+
152
+ ### Packaging the extension
153
+
154
+ See [RELEASE](RELEASE.md)
@@ -0,0 +1,14 @@
1
+ stellars_jupyterlab_sublime_theme/__init__.py,sha256=ix6uzciYX7CFjx1TuE4oLplohXIMgnIS1tvmvIK2eoQ,625
2
+ stellars_jupyterlab_sublime_theme/_version.py,sha256=m7juaewkLVe-1Tr3vJin_WnNj-hrLM4BT2ccsYWhH34,171
3
+ stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/package.json,sha256=Ge2tlXj3ySTA5E3RrHqbWQI5j2y0cpMgA2XXdV5YaVs,5774
4
+ stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/static/509.d8cdae86757ffaf9fc38.js,sha256=2M2uhnV_-vn8OPyHdJt-RxGWSS8EJAOnNWhFG-UN2tQ,630
5
+ stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/static/remoteEntry.41520a2c20da53ad31e8.js,sha256=QVIKLCDaU60x6HFPTfYnXPplZssdlGU-CMF58lIwCRg,6743
6
+ stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/static/style.js,sha256=-CQt0ZTPaCTvrRiLcznxflAbfvIKlOVzjOos-muaXQ8,118
7
+ stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/static/third-party-licenses.json,sha256=MNToQfru1YnHAie-2Virp23yWsc5co3qG0IzrO6SEfw,20
8
+ stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/themes/@stellars/jupyterlab_sublime_theme/index.css,sha256=MNS6bEPW4Rz51qSh025kea__lUpN5ZnC3GvrtUImGV8,22358
9
+ stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/themes/@stellars/jupyterlab_sublime_theme/index.js,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ stellars_jupyterlab_sublime_theme-1.0.1.data/data/share/jupyter/labextensions/@stellars/jupyterlab_sublime_theme/install.json,sha256=9hAljgeR60riIaovDzEdQQ_ZJke2GN1T3tN_7EcNM8o,227
11
+ stellars_jupyterlab_sublime_theme-1.0.1.dist-info/METADATA,sha256=Gx_2VFMhXj7SYBYHTsrR8BVbvMk4urwulRtS-PBCEj0,6443
12
+ stellars_jupyterlab_sublime_theme-1.0.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
13
+ stellars_jupyterlab_sublime_theme-1.0.1.dist-info/licenses/LICENSE,sha256=MLqt9HRycP6pWogg_RV4fictkLedziOztWQcCCcVtEI,1520
14
+ stellars_jupyterlab_sublime_theme-1.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.25.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -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.