jupyterlab_mechanicum_dark_theme 1.0.3 → 1.0.5
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/README.md +2 -2
- package/package.json +1 -1
- package/style/mechanicum.css +40 -2
package/README.md
CHANGED
|
@@ -37,12 +37,12 @@ Recite it once before a long training run. Recite it twice before a demo.
|
|
|
37
37
|
|
|
38
38
|
## What the theme changes
|
|
39
39
|
|
|
40
|
-
- **Text areas** - the editor, the notebook, the terminal and the file list are flat and nearly black, with parchment-coloured text. No pattern lies behind text
|
|
40
|
+
- **Text areas** - the editor, the notebook, the terminal and the file list are flat and nearly black, with parchment-coloured text; the terminal's default text is the grey-green of an old terminal. No pattern lies behind text
|
|
41
41
|
- **Panels and toolbars** - crimson cloth with gold stitching
|
|
42
42
|
- **Top bar** - the Cog Mechanicum as the icon in the top-left corner, the menu in capitals, and a frieze of Latin mottos in the free middle of the bar
|
|
43
43
|
- **Fonts** - the theme sets no font: all text keeps the font of JupyterLab
|
|
44
44
|
- **Activity bars** - plain iron; the open panel's icon stands on crimson
|
|
45
|
-
- **Tabs of the main area** - the open tab is a crimson banner with a thin gold edge, on a bar of plain iron
|
|
45
|
+
- **Tabs of the main area** - the open tab is a crimson banner with a thin gold edge, on a bar of plain iron; the strip under the tab bar continues the banner
|
|
46
46
|
- **Launcher** - a thin strip of riveted steel across the top: the Cog Mechanicum, a skull that is half bone and half machine in a gear, between the words `ADEPTUS` and `MECHANICUS` in gold, steel plates with a gold rail beside it and hazard stripes at both ends; section titles over an embroidered band, cards as stitched patches with gears in the corners
|
|
47
47
|
- **Notebook** - headings in gold with an embroidered band, a red first letter in the title, gears as list bullets, a crimson ribbon and a purity seal on the active cell
|
|
48
48
|
- **Dialogs and menus** - cloth with a stitched hem; a purity seal hangs in the corner of every dialog
|
package/package.json
CHANGED
package/style/mechanicum.css
CHANGED
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
--mech-crimson: #7d241e;
|
|
22
22
|
--mech-crimson-dark: #4f1512;
|
|
23
23
|
--mech-iron: #14100f;
|
|
24
|
+
--mech-banner-foot: #5c1a16; /* the bottom of the selected tab and the strip under the tab bar */
|
|
25
|
+
--mech-phosphor: #9eb59c; /* terminal text, the grey-green of an old terminal: 8.4 on the terminal background */
|
|
26
|
+
--mech-parchment: var(
|
|
27
|
+
--jp-ui-font-color0
|
|
28
|
+
); /* the theme's own value, kept for the children of body */
|
|
24
29
|
}
|
|
25
30
|
|
|
26
31
|
/* only the background: selected code keeps its colours */
|
|
@@ -28,6 +33,21 @@
|
|
|
28
33
|
background: var(--mech-crimson);
|
|
29
34
|
}
|
|
30
35
|
|
|
36
|
+
/* ---------------------------------------------------------------------------
|
|
37
|
+
* Terminal: the grey-green text of an old terminal
|
|
38
|
+
* ------------------------------------------------------------------------- */
|
|
39
|
+
|
|
40
|
+
/* the terminal reads its text colour from --jp-ui-font-color0 as computed on body. The value
|
|
41
|
+
changes on body alone: the children of body get the theme's value back, so no other text
|
|
42
|
+
changes colour */
|
|
43
|
+
body {
|
|
44
|
+
--jp-ui-font-color0: var(--mech-phosphor);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
body > * {
|
|
48
|
+
--jp-ui-font-color0: var(--mech-parchment);
|
|
49
|
+
}
|
|
50
|
+
|
|
31
51
|
/* ---------------------------------------------------------------------------
|
|
32
52
|
* Cloth: the frame of the application is crimson cloth
|
|
33
53
|
* ------------------------------------------------------------------------- */
|
|
@@ -144,13 +164,31 @@
|
|
|
144
164
|
color: var(--jp-ui-font-color0);
|
|
145
165
|
}
|
|
146
166
|
|
|
167
|
+
/* the gold line runs along the top and the sides. The bottom has none, so the tab joins
|
|
168
|
+
the strip under it */
|
|
147
169
|
.lm-DockPanel-tabBar .lm-TabBar-tab.lm-mod-current {
|
|
148
|
-
background: linear-gradient(#872a22,
|
|
170
|
+
background: linear-gradient(#872a22, var(--mech-banner-foot));
|
|
149
171
|
border-color: var(--mech-gold-dark);
|
|
150
|
-
box-shadow:
|
|
172
|
+
box-shadow:
|
|
173
|
+
inset 0 1px 0 rgba(227, 200, 120, 0.28),
|
|
174
|
+
inset 1px 0 0 rgba(227, 200, 120, 0.28),
|
|
175
|
+
inset -1px 0 0 rgba(227, 200, 120, 0.28);
|
|
151
176
|
color: #f6ecce;
|
|
152
177
|
}
|
|
153
178
|
|
|
179
|
+
/* the strip under the tab bar of a panel with no toolbar buttons, such as a terminal: it
|
|
180
|
+
continues the selected tab, as in the sibling themes */
|
|
181
|
+
.jp-MainAreaWidget > .jp-Toolbar.jp-Toolbar-micro {
|
|
182
|
+
background: var(--mech-banner-foot);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/* a tab coloured by jupyterlab_colourful_tab_extension. The extension sets a background
|
|
186
|
+
colour only, so the gradient and the gold line are removed and the colour fills the tab */
|
|
187
|
+
.lm-DockPanel-tabBar .lm-TabBar-tab.lm-mod-current[class*='jp-colourful-tab-'] {
|
|
188
|
+
background-image: none;
|
|
189
|
+
box-shadow: none;
|
|
190
|
+
}
|
|
191
|
+
|
|
154
192
|
/* stylelint-disable no-descending-specificity */
|
|
155
193
|
|
|
156
194
|
/* ---------------------------------------------------------------------------
|