@jupyterlab/theme-light-extension 4.0.0-alpha.8 → 4.0.0-beta.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/theme-light-extension",
3
- "version": "4.0.0-alpha.8",
3
+ "version": "4.0.0-beta.0",
4
4
  "description": "JupyterLab - Default Light Theme",
5
5
  "homepage": "https://github.com/jupyterlab/jupyterlab",
6
6
  "bugs": {
@@ -23,7 +23,8 @@
23
23
  "lib/*.js.map",
24
24
  "lib/*.js",
25
25
  "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
26
- "style/index.js"
26
+ "style/index.js",
27
+ "src/**/*.{ts,tsx}"
27
28
  ],
28
29
  "scripts": {
29
30
  "build": "tsc -b",
@@ -31,14 +32,14 @@
31
32
  "watch": "tsc -b --watch"
32
33
  },
33
34
  "dependencies": {
34
- "@jupyterlab/application": "^4.0.0-alpha.8",
35
- "@jupyterlab/apputils": "^4.0.0-alpha.8",
36
- "@jupyterlab/translation": "^4.0.0-alpha.8"
35
+ "@jupyterlab/application": "^4.0.0-beta.0",
36
+ "@jupyterlab/apputils": "^4.0.0-beta.0",
37
+ "@jupyterlab/translation": "^4.0.0-beta.0"
37
38
  },
38
39
  "devDependencies": {
39
40
  "rimraf": "~3.0.0",
40
- "typedoc": "~0.22.10",
41
- "typescript": "~4.5.2"
41
+ "typedoc": "~0.23.25",
42
+ "typescript": "~5.0.2"
42
43
  },
43
44
  "publishConfig": {
44
45
  "access": "public"
package/src/index.ts ADDED
@@ -0,0 +1,40 @@
1
+ // Copyright (c) Jupyter Development Team.
2
+ // Distributed under the terms of the Modified BSD License.
3
+ /**
4
+ * @packageDocumentation
5
+ * @module theme-light-extension
6
+ */
7
+
8
+ import {
9
+ JupyterFrontEnd,
10
+ JupyterFrontEndPlugin
11
+ } from '@jupyterlab/application';
12
+ import { IThemeManager } from '@jupyterlab/apputils';
13
+ import { ITranslator } from '@jupyterlab/translation';
14
+
15
+ /**
16
+ * A plugin for the Jupyter Light Theme.
17
+ */
18
+ const plugin: JupyterFrontEndPlugin<void> = {
19
+ id: '@jupyterlab/theme-light-extension:plugin',
20
+ requires: [IThemeManager, ITranslator],
21
+ activate: (
22
+ app: JupyterFrontEnd,
23
+ manager: IThemeManager,
24
+ translator: ITranslator
25
+ ) => {
26
+ const trans = translator.load('jupyterlab');
27
+ const style = '@jupyterlab/theme-light-extension/index.css';
28
+ manager.register({
29
+ name: 'JupyterLab Light',
30
+ displayName: trans.__('JupyterLab Light'),
31
+ isLight: true,
32
+ themeScrollbars: false,
33
+ load: () => manager.loadCSS(style),
34
+ unload: () => Promise.resolve(undefined)
35
+ });
36
+ },
37
+ autoStart: true
38
+ };
39
+
40
+ export default plugin;
@@ -337,7 +337,7 @@ all of MD as it is not optimized for dense, information rich UIs.
337
337
  --jp-mirror-editor-number-color: #080;
338
338
  --jp-mirror-editor-def-color: #00f;
339
339
  --jp-mirror-editor-variable-color: var(--md-grey-900);
340
- --jp-mirror-editor-variable-2-color: #05a;
340
+ --jp-mirror-editor-variable-2-color: rgb(0, 54, 109);
341
341
  --jp-mirror-editor-variable-3-color: #085;
342
342
  --jp-mirror-editor-punctuation-color: #05a;
343
343
  --jp-mirror-editor-property-color: #05a;
@@ -407,4 +407,17 @@ all of MD as it is not optimized for dense, information rich UIs.
407
407
  --jp-reject-color-normal: var(--md-grey-600);
408
408
  --jp-reject-color-hover: var(--md-grey-700);
409
409
  --jp-reject-color-active: var(--md-grey-800);
410
+
411
+ /* File or activity icons and switch semantic variables */
412
+ --jp-jupyter-icon-color: #f37626;
413
+ --jp-notebook-icon-color: #f37626;
414
+ --jp-json-icon-color: var(--md-orange-700);
415
+ --jp-console-icon-background-color: var(--md-blue-700);
416
+ --jp-console-icon-color: white;
417
+ --jp-terminal-icon-background-color: var(--md-grey-800);
418
+ --jp-terminal-icon-color: var(--md-grey-200);
419
+ --jp-text-editor-icon-color: var(--md-grey-700);
420
+ --jp-inspector-icon-color: var(--md-grey-700);
421
+ --jp-switch-color: var(--md-grey-400);
422
+ --jp-switch-true-position-color: var(--md-orange-900);
410
423
  }