jupyterlab-redis-theme 0.1.0__tar.gz

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.
Files changed (37) hide show
  1. jupyterlab_redis_theme-0.1.0/.gitignore +13 -0
  2. jupyterlab_redis_theme-0.1.0/.nvmrc +1 -0
  3. jupyterlab_redis_theme-0.1.0/.yarnrc.yml +2 -0
  4. jupyterlab_redis_theme-0.1.0/CHANGELOG.md +6 -0
  5. jupyterlab_redis_theme-0.1.0/LICENSE +29 -0
  6. jupyterlab_redis_theme-0.1.0/PKG-INFO +135 -0
  7. jupyterlab_redis_theme-0.1.0/README.md +85 -0
  8. jupyterlab_redis_theme-0.1.0/install.json +5 -0
  9. jupyterlab_redis_theme-0.1.0/jupyterlab_redis_theme/__init__.py +13 -0
  10. jupyterlab_redis_theme-0.1.0/jupyterlab_redis_theme/_version.py +4 -0
  11. jupyterlab_redis_theme-0.1.0/jupyterlab_redis_theme/labextension/package.json +74 -0
  12. jupyterlab_redis_theme-0.1.0/jupyterlab_redis_theme/labextension/static/509.467ec2af19394b0d82c2.js +1 -0
  13. jupyterlab_redis_theme-0.1.0/jupyterlab_redis_theme/labextension/static/remoteEntry.683c2e396949aadbe047.js +1 -0
  14. jupyterlab_redis_theme-0.1.0/jupyterlab_redis_theme/labextension/static/style.js +4 -0
  15. jupyterlab_redis_theme-0.1.0/jupyterlab_redis_theme/labextension/static/third-party-licenses.json +3 -0
  16. jupyterlab_redis_theme-0.1.0/jupyterlab_redis_theme/labextension/themes/jupyterlab-redis-theme/0f7b8a91153f621a5e43.woff2 +0 -0
  17. jupyterlab_redis_theme-0.1.0/jupyterlab_redis_theme/labextension/themes/jupyterlab-redis-theme/8a5ae143219460729b43.woff2 +0 -0
  18. jupyterlab_redis_theme-0.1.0/jupyterlab_redis_theme/labextension/themes/jupyterlab-redis-theme/cbdbf3bc6101155a4edc.woff2 +0 -0
  19. jupyterlab_redis_theme-0.1.0/jupyterlab_redis_theme/labextension/themes/jupyterlab-redis-theme/d9928fe868454e83c24e.woff2 +0 -0
  20. jupyterlab_redis_theme-0.1.0/jupyterlab_redis_theme/labextension/themes/jupyterlab-redis-theme/dc250c461bde78626d88.woff2 +0 -0
  21. jupyterlab_redis_theme-0.1.0/jupyterlab_redis_theme/labextension/themes/jupyterlab-redis-theme/index.css +317 -0
  22. jupyterlab_redis_theme-0.1.0/jupyterlab_redis_theme/labextension/themes/jupyterlab-redis-theme/index.js +0 -0
  23. jupyterlab_redis_theme-0.1.0/package.json +70 -0
  24. jupyterlab_redis_theme-0.1.0/pyproject.toml +59 -0
  25. jupyterlab_redis_theme-0.1.0/scripts/generate_css.py +349 -0
  26. jupyterlab_redis_theme-0.1.0/src/index.ts +47 -0
  27. jupyterlab_redis_theme-0.1.0/style/fonts/OFL-SpaceGrotesk.txt +93 -0
  28. jupyterlab_redis_theme-0.1.0/style/fonts/OFL-SpaceMono.txt +93 -0
  29. jupyterlab_redis_theme-0.1.0/style/fonts/Space-Grotesk-README.txt +67 -0
  30. jupyterlab_redis_theme-0.1.0/style/fonts/SpaceGrotesk-VariableFont_wght.woff2 +0 -0
  31. jupyterlab_redis_theme-0.1.0/style/fonts/SpaceMono-Bold.woff2 +0 -0
  32. jupyterlab_redis_theme-0.1.0/style/fonts/SpaceMono-BoldItalic.woff2 +0 -0
  33. jupyterlab_redis_theme-0.1.0/style/fonts/SpaceMono-Italic.woff2 +0 -0
  34. jupyterlab_redis_theme-0.1.0/style/fonts/SpaceMono-Regular.woff2 +0 -0
  35. jupyterlab_redis_theme-0.1.0/style/index.css +316 -0
  36. jupyterlab_redis_theme-0.1.0/tsconfig.json +26 -0
  37. jupyterlab_redis_theme-0.1.0/yarn.lock +3142 -0
@@ -0,0 +1,13 @@
1
+ node_modules/
2
+ lib/
3
+ *.tsbuildinfo
4
+ jupyterlab_redis_theme/labextension
5
+ jupyterlab_redis_theme/_version.py
6
+ dist/
7
+ *.egg-info/
8
+ __pycache__/
9
+ .pnp.*
10
+ .yarn/
11
+ build/
12
+ .venv/
13
+ .DS_Store
@@ -0,0 +1 @@
1
+ 24
@@ -0,0 +1,2 @@
1
+ nodeLinker: node-modules
2
+ enableImmutableInstalls: false
@@ -0,0 +1,6 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0
4
+
5
+ - Fonts (Space Grotesk, Space Mono; SIL OFL 1.1) are bundled, so no network is needed.
6
+ - Redis Light and Redis Dark themes for JupyterLab 4.
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2026, Redis Ltd.
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.
@@ -0,0 +1,135 @@
1
+ Metadata-Version: 2.5
2
+ Name: jupyterlab_redis_theme
3
+ Version: 0.1.0
4
+ Dynamic: Keywords
5
+ Summary: Redis-branded Light and Dark themes for JupyterLab
6
+ Project-URL: Homepage, https://github.com/nic-gibson/jupyterlab-redis-theme
7
+ Project-URL: Bug Tracker, https://github.com/nic-gibson/jupyterlab-redis-theme/issues
8
+ Project-URL: Repository, https://github.com/nic-gibson/jupyterlab-redis-theme.git
9
+ Author-email: Nic Gibson <nic.gibson@redis.com>
10
+ License: BSD 3-Clause License
11
+
12
+ Copyright (c) 2026, Redis Ltd.
13
+ All rights reserved.
14
+
15
+ Redistribution and use in source and binary forms, with or without
16
+ modification, are permitted provided that the following conditions are met:
17
+
18
+ 1. Redistributions of source code must retain the above copyright notice, this
19
+ list of conditions and the following disclaimer.
20
+
21
+ 2. Redistributions in binary form must reproduce the above copyright notice,
22
+ this list of conditions and the following disclaimer in the documentation
23
+ and/or other materials provided with the distribution.
24
+
25
+ 3. Neither the name of the copyright holder nor the names of its
26
+ contributors may be used to endorse or promote products derived from
27
+ this software without specific prior written permission.
28
+
29
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
30
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
32
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
33
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
34
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
35
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
36
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
37
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
38
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39
+ License-File: LICENSE
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: Framework :: Jupyter :: JupyterLab :: Extensions :: Themes
46
+ Classifier: License :: OSI Approved :: BSD License
47
+ Classifier: Programming Language :: Python :: 3
48
+ Requires-Python: >=3.9
49
+ Description-Content-Type: text/markdown
50
+
51
+ # jupyterlab-redis-theme
52
+
53
+ Redis Light and Redis Dark themes for JupyterLab 4, built from the
54
+ `redis-brand-ui` guidelines (brand.redis.io).
55
+
56
+ ## Install
57
+
58
+ From PyPI (no Node.js needed; the extension is prebuilt):
59
+
60
+ ```bash
61
+ pip install jupyterlab-redis-theme
62
+ jupyter labextension list # should show jupyterlab-redis-theme enabled
63
+ ```
64
+
65
+ From a checkout (needs Python 3.9+, Node.js and JupyterLab 4):
66
+
67
+ ```bash
68
+ pip install .
69
+ ```
70
+
71
+ Then in JupyterLab: **Settings → Theme → Redis Light / Redis Dark**.
72
+
73
+ Development: `pip install -e . && jupyter labextension develop . --overwrite`,
74
+ then `jlpm watch`. Regenerate the CSS with `jlpm css` (needs `python` on PATH); the generated file is committed so normal builds do not need it.
75
+
76
+ ## How it works
77
+
78
+ Each theme loads JupyterLab's built-in Light/Dark theme first (so every
79
+ `--jp-*` variable stays defined and tracks JupyterLab upgrades), then
80
+ `style/index.css`, which overrides colours, fonts and a few widgets. That file
81
+ is **generated** — edit `scripts/generate_css.py` and run `jlpm css`.
82
+ The generator also checks WCAG contrast for every text/background pair and
83
+ fails the build if one drops below AA.
84
+
85
+ ## Design decisions
86
+
87
+ - **Hyper `#FF4438` is an accent, not a fill for text.** White on Hyper/Deep
88
+ Hyper fails AA, so selected file rows and primary dialog buttons use
89
+ navy/neutral fills with a Hyper edge, per the brand guide's button pattern.
90
+ Hyper drives tab indicators, the cursor, focus rings and active cell borders.
91
+ - **No generated red scale.** Selections and tints are mixes of `#B9C2C6`.
92
+ - **Fonts:** Space Grotesk (UI) and Space Mono (code) are bundled as woff2 in
93
+ `style/fonts/`, so the theme works offline and makes no Google Fonts requests.
94
+ See [Third-party fonts](#third-party-fonts).
95
+ - **Logo:** not shipped (brand guide: never recreate it). Download the official
96
+ `Redis_Mark_*_RGB.svg` from <https://brand.redis.io/document/18>, save as
97
+ `style/redis-mark.svg`, and uncomment the logo block in the generator.
98
+ - **Deviations from the web brand guide:** the 44px target applies to dialog
99
+ buttons only (JupyterLab toolbars are dense by design); spacing is JupyterLab's
100
+ own grid, not 8px.
101
+
102
+ ## Third-party fonts
103
+
104
+ The fonts in `style/fonts/` are not covered by this package's BSD-3-Clause
105
+ licence. Both are distributed under the SIL Open Font License 1.1:
106
+
107
+ - Space Grotesk, Copyright 2020 The Space Grotesk Project Authors
108
+ (<https://github.com/floriankarsten/space-grotesk>): `style/fonts/OFL-SpaceGrotesk.txt`
109
+ - Space Mono, Copyright 2016 The Space Mono Project Authors
110
+ (<https://github.com/googlefonts/spacemono>): `style/fonts/OFL-SpaceMono.txt`
111
+
112
+ The font files are unmodified upstream woff2 files. The licence texts ship in
113
+ the wheel under `share/jupyter/labextensions/jupyterlab-redis-theme/licenses/`.
114
+ If you replace or subset a font, re-read its OFL first.
115
+
116
+ ## Provisional values — needs design review
117
+
118
+ - Dark palette uses the guide's *product extension* tokens, not official brand colours.
119
+ - Syntax-highlight hues (violet, teal, blue, green) are **not** from the brand
120
+ guide, which defines none; they are chosen to pass 4.5:1 and live in one dict
121
+ in the generator.
122
+ - Neutral tints (`bg2`, editor background, selections) are computed mixes.
123
+ - This theme has not been reviewed against `redis-product-ui`, which the brand
124
+ guide says governs developer-tool UIs.
125
+
126
+ ## Releasing
127
+
128
+ 1. Bump `version` in `package.json` (the Python version is derived from it) and
129
+ add an entry to `CHANGELOG.md`.
130
+ 2. Commit, then tag and push: `git tag v0.1.1 && git push origin main v0.1.1`.
131
+ 3. The `Release` workflow builds the sdist and wheel and publishes to PyPI via
132
+ trusted publishing. One-time setup: on PyPI, add a trusted publisher for this
133
+ repository with workflow `release.yml` and environment `pypi`.
134
+
135
+ Check a build locally first with `python -m build && twine check dist/*`.
@@ -0,0 +1,85 @@
1
+ # jupyterlab-redis-theme
2
+
3
+ Redis Light and Redis Dark themes for JupyterLab 4, built from the
4
+ `redis-brand-ui` guidelines (brand.redis.io).
5
+
6
+ ## Install
7
+
8
+ From PyPI (no Node.js needed; the extension is prebuilt):
9
+
10
+ ```bash
11
+ pip install jupyterlab-redis-theme
12
+ jupyter labextension list # should show jupyterlab-redis-theme enabled
13
+ ```
14
+
15
+ From a checkout (needs Python 3.9+, Node.js and JupyterLab 4):
16
+
17
+ ```bash
18
+ pip install .
19
+ ```
20
+
21
+ Then in JupyterLab: **Settings → Theme → Redis Light / Redis Dark**.
22
+
23
+ Development: `pip install -e . && jupyter labextension develop . --overwrite`,
24
+ then `jlpm watch`. Regenerate the CSS with `jlpm css` (needs `python` on PATH); the generated file is committed so normal builds do not need it.
25
+
26
+ ## How it works
27
+
28
+ Each theme loads JupyterLab's built-in Light/Dark theme first (so every
29
+ `--jp-*` variable stays defined and tracks JupyterLab upgrades), then
30
+ `style/index.css`, which overrides colours, fonts and a few widgets. That file
31
+ is **generated** — edit `scripts/generate_css.py` and run `jlpm css`.
32
+ The generator also checks WCAG contrast for every text/background pair and
33
+ fails the build if one drops below AA.
34
+
35
+ ## Design decisions
36
+
37
+ - **Hyper `#FF4438` is an accent, not a fill for text.** White on Hyper/Deep
38
+ Hyper fails AA, so selected file rows and primary dialog buttons use
39
+ navy/neutral fills with a Hyper edge, per the brand guide's button pattern.
40
+ Hyper drives tab indicators, the cursor, focus rings and active cell borders.
41
+ - **No generated red scale.** Selections and tints are mixes of `#B9C2C6`.
42
+ - **Fonts:** Space Grotesk (UI) and Space Mono (code) are bundled as woff2 in
43
+ `style/fonts/`, so the theme works offline and makes no Google Fonts requests.
44
+ See [Third-party fonts](#third-party-fonts).
45
+ - **Logo:** not shipped (brand guide: never recreate it). Download the official
46
+ `Redis_Mark_*_RGB.svg` from <https://brand.redis.io/document/18>, save as
47
+ `style/redis-mark.svg`, and uncomment the logo block in the generator.
48
+ - **Deviations from the web brand guide:** the 44px target applies to dialog
49
+ buttons only (JupyterLab toolbars are dense by design); spacing is JupyterLab's
50
+ own grid, not 8px.
51
+
52
+ ## Third-party fonts
53
+
54
+ The fonts in `style/fonts/` are not covered by this package's BSD-3-Clause
55
+ licence. Both are distributed under the SIL Open Font License 1.1:
56
+
57
+ - Space Grotesk, Copyright 2020 The Space Grotesk Project Authors
58
+ (<https://github.com/floriankarsten/space-grotesk>): `style/fonts/OFL-SpaceGrotesk.txt`
59
+ - Space Mono, Copyright 2016 The Space Mono Project Authors
60
+ (<https://github.com/googlefonts/spacemono>): `style/fonts/OFL-SpaceMono.txt`
61
+
62
+ The font files are unmodified upstream woff2 files. The licence texts ship in
63
+ the wheel under `share/jupyter/labextensions/jupyterlab-redis-theme/licenses/`.
64
+ If you replace or subset a font, re-read its OFL first.
65
+
66
+ ## Provisional values — needs design review
67
+
68
+ - Dark palette uses the guide's *product extension* tokens, not official brand colours.
69
+ - Syntax-highlight hues (violet, teal, blue, green) are **not** from the brand
70
+ guide, which defines none; they are chosen to pass 4.5:1 and live in one dict
71
+ in the generator.
72
+ - Neutral tints (`bg2`, editor background, selections) are computed mixes.
73
+ - This theme has not been reviewed against `redis-product-ui`, which the brand
74
+ guide says governs developer-tool UIs.
75
+
76
+ ## Releasing
77
+
78
+ 1. Bump `version` in `package.json` (the Python version is derived from it) and
79
+ add an entry to `CHANGELOG.md`.
80
+ 2. Commit, then tag and push: `git tag v0.1.1 && git push origin main v0.1.1`.
81
+ 3. The `Release` workflow builds the sdist and wheel and publishes to PyPI via
82
+ trusted publishing. One-time setup: on PyPI, add a trusted publisher for this
83
+ repository with workflow `release.yml` and environment `pypi`.
84
+
85
+ Check a build locally first with `python -m build && twine check dist/*`.
@@ -0,0 +1,5 @@
1
+ {
2
+ "packageManager": "python",
3
+ "packageName": "jupyterlab_redis_theme",
4
+ "uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package jupyterlab_redis_theme"
5
+ }
@@ -0,0 +1,13 @@
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.
6
+ import warnings
7
+
8
+ warnings.warn("Importing 'jupyterlab_redis_theme' outside a proper installation.")
9
+ __version__ = "dev"
10
+
11
+
12
+ def _jupyter_labextension_paths():
13
+ return [{"src": "labextension", "dest": "jupyterlab-redis-theme"}]
@@ -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 = '0.1.0'
@@ -0,0 +1,74 @@
1
+ {
2
+ "name": "jupyterlab-redis-theme",
3
+ "version": "0.1.0",
4
+ "description": "Redis-branded Light and Dark themes for JupyterLab",
5
+ "homepage": "https://github.com/nic-gibson/jupyterlab-redis-theme",
6
+ "bugs": {
7
+ "url": "https://github.com/nic-gibson/jupyterlab-redis-theme/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/nic-gibson/jupyterlab-redis-theme.git"
12
+ },
13
+ "keywords": [
14
+ "jupyter",
15
+ "jupyterlab",
16
+ "jupyterlab-extension",
17
+ "jupyterlab-theme",
18
+ "redis"
19
+ ],
20
+ "license": "BSD-3-Clause",
21
+ "author": {
22
+ "name": "Nic Gibson",
23
+ "email": "nic.gibson@redis.com"
24
+ },
25
+ "files": [
26
+ "lib/**/*.{d.ts,js,js.map}",
27
+ "style/**/*.{css,svg,woff2,txt}"
28
+ ],
29
+ "main": "lib/index.js",
30
+ "types": "lib/index.d.ts",
31
+ "scripts": {
32
+ "css": "python scripts/generate_css.py",
33
+ "build": "jlpm build:lib && jlpm build:labextension:dev",
34
+ "build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
35
+ "build:labextension": "jupyter labextension build .",
36
+ "build:labextension:dev": "jupyter labextension build --development True .",
37
+ "build:lib": "tsc --sourceMap",
38
+ "build:lib:prod": "tsc",
39
+ "clean": "jlpm clean:lib",
40
+ "clean:lib": "rimraf lib tsconfig.tsbuildinfo",
41
+ "clean:labextension": "rimraf jupyterlab_redis_theme/labextension jupyterlab_redis_theme/_version.py",
42
+ "clean:all": "jlpm clean:lib && jlpm clean:labextension",
43
+ "install:extension": "jlpm build",
44
+ "watch": "run-p watch:src watch:labextension",
45
+ "watch:src": "tsc -w --sourceMap",
46
+ "watch:labextension": "jupyter labextension watch ."
47
+ },
48
+ "dependencies": {
49
+ "@jupyterlab/application": "^4.0.0",
50
+ "@jupyterlab/apputils": "^4.0.0"
51
+ },
52
+ "devDependencies": {
53
+ "@jupyterlab/builder": "^4.0.0",
54
+ "npm-run-all2": "^7.0.1",
55
+ "rimraf": "^5.0.1",
56
+ "typescript": "~5.5.4"
57
+ },
58
+ "sideEffects": false,
59
+ "publishConfig": {
60
+ "access": "public"
61
+ },
62
+ "jupyterlab": {
63
+ "extension": true,
64
+ "outputDir": "jupyterlab_redis_theme/labextension",
65
+ "themePath": "style/index.css",
66
+ "_build": {
67
+ "load": "static/remoteEntry.683c2e396949aadbe047.js",
68
+ "extension": "./extension"
69
+ }
70
+ },
71
+ "engines": {
72
+ "node": ">=20"
73
+ }
74
+ }
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkjupyterlab_redis_theme=self.webpackChunkjupyterlab_redis_theme||[]).push([[509],{509(e,t,a){a.r(t);var s=a(563);const i="jupyterlab-redis-theme",r={id:`${i}:plugin`,description:"Redis-branded Light and Dark themes.",requires:[s.IThemeManager],autoStart:!0,activate:(e,t)=>{const a=`${i}/index.css`,s=(e,s,i)=>{t.register({name:e,isLight:s,load:async()=>{await t.loadCSS(i),await t.loadCSS(a)},unload:()=>Promise.resolve(void 0)})};s("Redis Light",!0,"@jupyterlab/theme-light-extension/index.css"),s("Redis Dark",!1,"@jupyterlab/theme-dark-extension/index.css")}};a.d(t,["default",0,r])}}]);
@@ -0,0 +1 @@
1
+ var _JUPYTERLAB;(()=>{"use strict";var e={915(e,t,r){const n={"./index":()=>r.e(509).then(()=>()=>r(509)),"./extension":()=>r.e(509).then(()=>()=>r(509))},o=(e,t)=>(r.R=t,t=r.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t),i=(e,t)=>{if(!r.S)return;const n="default",o=r.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[n]=e,r.I(n,t)};r.d(t,{get:()=>o,init:()=>i})}};const t={};function r(n){const o=t[n];if(void 0!==o)return o.exports;const i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.m=e,r.c=t,r.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{if(Array.isArray(t))for(var n=0;n<t.length;){var o=t[n++],i=t[n++],s=0===i?{enumerable:!0,value:t[n++]}:{enumerable:!0,get:i};r.o(e,o)||Object.defineProperty(e,o,s)}else for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>e+".467ec2af19394b0d82c2.js?v=467ec2af19394b0d82c2",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="jupyterlab-redis-theme:";r.l=(n,o,i,s)=>{if(e[n])return void e[n].push(o);let a,u;if(void 0!==i){const e=document.getElementsByTagName("script");for(var l=0;l<e.length;l++){const r=e[l];if(r.getAttribute("src")==n||r.getAttribute("data-webpack")==t+i){a=r;break}}}a||(u=!0,a=document.createElement("script"),a.charset="utf-8",r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",t+i),a.src=n),e[n]=[o];const c=(t,r)=>{a.onerror=a.onload=null,clearTimeout(f);const o=e[n];if(delete e[n],a.parentNode?.removeChild(a),o?.forEach(e=>e(r)),t)return t(r)},f=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),u&&document.head.appendChild(a)}})(),r.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{r.S={};const e={},t={};r.I=(n,o)=>{o||(o=[]);let i=t[n];if(i||(i=t[n]={}),o.indexOf(i)>=0)return;if(o.push(i),e[n])return e[n];r.o(r.S,n)||(r.S[n]={});const s=r.S[n],a="jupyterlab-redis-theme",u=[];return"default"===n&&((e,t,n,o)=>{const i=s[e]=s[e]||{},u=i[t];(!u||!u.loaded&&(1!=!u.eager?o:a>u.from))&&(i[t]={get:()=>r.e(509).then(()=>()=>r(509)),from:a,eager:!1})})("jupyterlab-redis-theme","0.1.0"),e[n]=u.length?Promise.all(u).then(()=>e[n]=1):1}})(),(()=>{let e;r.g.importScripts&&(e=r.g.location+"");const t=r.g.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const r=t.getElementsByTagName("script");if(r.length){let t=r.length-1;for(;t>-1&&(!e||!/^https?:/.test(e));)e=r[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),r.p=e})(),(()=>{var e=e=>{var t=e=>e.split(".").map(e=>+e==e?+e:e),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},t=e=>{var r=e[0],n="";if(1===e.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var o=1,i=1;i<e.length;i++)o--,n+="u"==(typeof(a=e[i]))[0]?"-":(o>0?".":"")+(o=2,a);return n}var s=[];for(i=1;i<e.length;i++){var a=e[i];s.push(0===a?"not("+u()+")":1===a?"("+u()+" || "+u()+")":2===a?s.pop()+" "+s.pop():t(a))}return u();function u(){return s.pop().replace(/^\((.+)\)$/,"$1")}},n=(t,r)=>{if(0 in t){r=e(r);var o=t[0],i=o<0;i&&(o=-o-1);for(var s=0,a=1,u=!0;;a++,s++){var l,c,f=a<t.length?(typeof t[a])[0]:"";if(s>=r.length||"o"==(c=(typeof(l=r[s]))[0]))return!u||("u"==f?a>o&&!i:""==f!=i);if("u"==c){if(!u||"u"!=f)return!1}else if(u)if(f==c)if(a<=o){if(l!=t[a])return!1}else{if(i?l>t[a]:l<t[a])return!1;l!=t[a]&&(u=!1)}else if("s"!=f&&"n"!=f){if(i||a<=o)return!1;u=!1,a--}else{if(a<=o||c<f!=i)return!1;u=!1}else"s"!=f&&"n"!=f&&(u=!1,a--)}}var d=[],p=d.pop.bind(d);for(s=1;s<t.length;s++){var h=t[s];d.push(1==h?p()|p():2==h?p()&p():h?n(h,r):!p())}return!!p()};const o=(t,r,n)=>{const o=n?(e=>Object.keys(e).reduce((t,r)=>(e[r].eager&&(t[r]=e[r]),t),{}))(t[r]):t[r];return Object.keys(o).reduce((t,r)=>!t||!o[t].loaded&&((t,r)=>{t=e(t),r=e(r);for(var n=0;;){if(n>=t.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=t[n],i=(typeof o)[0];if(n>=r.length)return"u"==i;var s=r[n],a=(typeof s)[0];if(i!=a)return"o"==i&&"n"==a||"s"==a||"u"==i;if("o"!=i&&"u"!=i&&o!=s)return o<s;n++}})(t,r)?r:t,0)},i=(e,t,r)=>r?r():((e,t)=>(e=>{throw new Error(e)})("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),s=(e=>function(t,n,o,i,s){const a=r.I(t);return a?.then&&!o?a.then(e.bind(e,t,r.S[t],n,!1,i,s)):e(t,r.S[t],n,o,i,s)})((e,s,a,u,l,c)=>{if(!((e,t)=>e&&r.o(e,t))(s,a))return i(e,a,c);const f=o(s,a,u);return n(l,f)||(p=((e,r,n,o)=>"Unsatisfied version "+n+" from "+(n&&e[r][n].from)+" of shared singleton module "+r+" (required "+t(o)+")")(s,a,f,l),"undefined"!=typeof console&&console.warn&&console.warn(p)),(d=s[a][f]).loaded=1,d.get();var d,p}),a={},u={563:()=>s("default","@jupyterlab/apputils",!1,[1,4,1,13])},l={509:[563]},c={};r.f.consumes=(e,t)=>{r.o(l,e)&&l[e].forEach(e=>{if(r.o(a,e))return t.push(a[e]);if(!c[e]){const n=t=>{a[e]=0,r.m[e]=n=>{delete r.c[e],n.exports=t()}};c[e]=!0;const o=t=>{delete a[e],r.m[e]=n=>{throw delete r.c[e],t}};try{const r=u[e]();r.then?t.push(a[e]=r.then(n).catch(o)):n(r)}catch(e){o(e)}}})}})(),(()=>{const e={161:0};r.f.j=(t,n)=>{let o=r.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{const i=new Promise((r,n)=>o=e[t]=[r,n]);n.push(o[2]=i);const s=new Error,a=n=>{if(r.o(e,t)&&(o=e[t],0!==o&&(e[t]=void 0),o)){const e=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",s.name="ChunkLoadError",s.type=e,s.request=r,s.event=n,o[1](s)}};r.l(r.p+r.u(t),a,"chunk-"+t,t)}};const t=(t,n)=>{let[o,i,s]=n;var a,u,l=0;if(o.some(t=>0!==e[t])){for(a in i)r.o(i,a)&&(r.m[a]=i[a]);s&&s(r)}for(t&&t(n);l<o.length;l++)u=o[l],r.o(e,u)&&e[u]&&e[u][0](),e[u]=0},n=self.webpackChunkjupyterlab_redis_theme=self.webpackChunkjupyterlab_redis_theme||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();let n=r(915);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["jupyterlab-redis-theme"]=n})();
@@ -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
+