@philomelcc/dsh-workbench 0.1.5 → 0.1.6
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/client.js +51 -7
- package/package.json +1 -1
package/client.js
CHANGED
|
@@ -442,10 +442,10 @@ window.__ModuleLoader__.load({
|
|
|
442
442
|
// localStorage by us.
|
|
443
443
|
const PAPER_KEY = 'dsh-workbench:paper';
|
|
444
444
|
const PAPER_TOKENS = {
|
|
445
|
-
'--dsw-alias-bg-base': '#
|
|
446
|
-
'--dsw-alias-bg-layer-1': '#
|
|
447
|
-
'--dsw-alias-bg-layer-2': '#
|
|
448
|
-
'--dsw-alias-bg-overlay': '#
|
|
445
|
+
'--dsw-alias-bg-base': '#f7f3ea',
|
|
446
|
+
'--dsw-alias-bg-layer-1': '#f2ece0',
|
|
447
|
+
'--dsw-alias-bg-layer-2': '#ece5d6',
|
|
448
|
+
'--dsw-alias-bg-overlay': '#faf5e9',
|
|
449
449
|
'--dsw-alias-border-l1': '#d8cfba',
|
|
450
450
|
'--dsw-alias-border-l2': '#c6bba2',
|
|
451
451
|
'--dsw-alias-brand-primary': '#8a6a45',
|
|
@@ -455,11 +455,33 @@ window.__ModuleLoader__.load({
|
|
|
455
455
|
'--dsw-alias-state-warn-primary': '#a8792c',
|
|
456
456
|
'--dsw-alias-state-success-primary': '#4f7a5a',
|
|
457
457
|
'--dsw-alias-state-idle-primary': '#a49a89',
|
|
458
|
-
'--dsw-specific-sidebar-fill': '#
|
|
458
|
+
'--dsw-specific-sidebar-fill': '#f2ece0',
|
|
459
459
|
// Chat bubbles: the light base uses a pale DeepSeek blue, which looks
|
|
460
460
|
// wrong on paper. These two are outside the alias layer.
|
|
461
|
-
'--dsw-specific-bubble': '#
|
|
462
|
-
'--dsw-specific-bubble-highlight': '#
|
|
461
|
+
'--dsw-specific-bubble': '#f2ecdf',
|
|
462
|
+
'--dsw-specific-bubble-highlight': '#e9dfcb',
|
|
463
|
+
// Pale blue surfaces the alias list does not cover: command chips,
|
|
464
|
+
// reference pills, selected file tabs, "load earlier", tool cards.
|
|
465
|
+
'--dsw-alias-state-business-tertiary': '#f1e9da',
|
|
466
|
+
'--dsw-alias-state-business-primary': '#8a6a45',
|
|
467
|
+
'--dsw-specific-sidebar-nav-item-active-accent': '#f1e9da',
|
|
468
|
+
'--dsw-specific-sidebar-nav-item-active': '#efe9db',
|
|
469
|
+
'--dsw-specific-selector': '#f1e9da',
|
|
470
|
+
'--dsw-specific-input-major': '#f2ece0',
|
|
471
|
+
'--dsw-specific-tip': '#f7f2e7',
|
|
472
|
+
'--dsw-specific-menu': '#fcf9f3',
|
|
473
|
+
// The neutral greys are blue-tinted. Buttons ("load earlier"), inputs,
|
|
474
|
+
// chips and cards read their pale surfaces from this ramp, so warm it up
|
|
475
|
+
// too; deep steps stay untouched because they are text/borders.
|
|
476
|
+
'--dsw-static-neutral-bluish-00': '#fbf6ea',
|
|
477
|
+
'--dsw-static-neutral-bluish-50': '#faf6ee',
|
|
478
|
+
'--dsw-static-neutral-bluish-55': '#f8f4ea',
|
|
479
|
+
'--dsw-static-neutral-bluish-60': '#f7f3ea',
|
|
480
|
+
'--dsw-static-neutral-bluish-75': '#f4eee1',
|
|
481
|
+
'--dsw-static-neutral-bluish-90': '#f2ecdf',
|
|
482
|
+
'--dsw-static-neutral-bluish-100': '#efe9db',
|
|
483
|
+
'--dsw-static-neutral-bluish-150': '#ece6d7',
|
|
484
|
+
'--dsw-static-neutral-bluish-200': '#e7dfcd',
|
|
463
485
|
};
|
|
464
486
|
|
|
465
487
|
// Swatches double as both the current-state indicator and the toggle.
|
|
@@ -508,6 +530,11 @@ window.__ModuleLoader__.load({
|
|
|
508
530
|
try { paperDispose(); } catch (_error) { /* already gone */ }
|
|
509
531
|
paperDispose = null;
|
|
510
532
|
}
|
|
533
|
+
// Marker for paper-only rules (code surfaces) that tokens cannot reach.
|
|
534
|
+
try {
|
|
535
|
+
if (on) document.body.setAttribute('data-wb-paper', '1');
|
|
536
|
+
else document.body.removeAttribute('data-wb-paper');
|
|
537
|
+
} catch (_error) { /* body not ready */ }
|
|
511
538
|
}
|
|
512
539
|
|
|
513
540
|
function ThemeSwitcher() {
|
|
@@ -1164,6 +1191,23 @@ div[data-row-key^="session:"]:has(svg[data-state="ongoing"]) svg[data-state="ong
|
|
|
1164
1191
|
.dsh-glow-on > span:first-child > svg {
|
|
1165
1192
|
display: none !important;
|
|
1166
1193
|
}
|
|
1194
|
+
/* paper: every card-like surface follows the paper base; the code surface is
|
|
1195
|
+
deeper and overrides the card rule below (same specificity, later wins). */
|
|
1196
|
+
body[data-wb-paper="1"] [class*="_tile"],
|
|
1197
|
+
body[data-wb-paper="1"] [class*="_card"],
|
|
1198
|
+
body[data-wb-paper="1"] [class*="_Card"],
|
|
1199
|
+
body[data-wb-paper="1"] [class*="_fileCard"],
|
|
1200
|
+
body[data-wb-paper="1"] [class*="hz8-rW_header"] {
|
|
1201
|
+
background: #f2ece0 !important;
|
|
1202
|
+
}
|
|
1203
|
+
body[data-wb-paper="1"] .md-code-block,
|
|
1204
|
+
body[data-wb-paper="1"] pre,
|
|
1205
|
+
body[data-wb-paper="1"] [class*="_header_1mqf1"] {
|
|
1206
|
+
background: #ece2cc !important;
|
|
1207
|
+
}
|
|
1208
|
+
body[data-wb-paper="1"] :not(pre) > code {
|
|
1209
|
+
background: #efe6d4 !important;
|
|
1210
|
+
}
|
|
1167
1211
|
`;
|
|
1168
1212
|
|
|
1169
1213
|
function installGlow(ctx) {
|
package/package.json
CHANGED