Skip to content

Commit 6577783

Browse files
committed
[fix.dirac.σ.D9+] preserve FASCIA while Workspace absorbs workbench
The new Workspace hierarchy is the product spine, but the canonical 1339 FASCIA remains its visual contract. Self-hosting the exact fonts and tokens prevents silent brand drift, while the registry coverage gate ensures the original workbench surfaces stay reachable through Design, Structures, and Runs instead of being replaced or lost.
1 parent a094591 commit 6577783

22 files changed

Lines changed: 165 additions & 69 deletions

‎scripts/build.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const Apps = [
3030
{ kind: 'app', name: 'viewer', themes: ['light', 'dark', 'blue'], entryRoot: './src/apps.reference.viewer-demos.vendored-readonly/viewer' },
3131
{ kind: 'app', name: 'docking-viewer', entryRoot: './src/apps.reference.viewer-demos.vendored-readonly/docking-viewer' },
3232
{ kind: 'app', name: 'mesoscale-explorer', entryRoot: './src/apps.reference.viewer-demos.vendored-readonly/mesoscale-explorer' },
33-
{ kind: 'app', name: 'dirac', filename: 'dirac.js', entryRoot: './src/app.frontend.facets.molstar-rdkit.editable', staticDirs: ['assets/rdkit'], staticFiles: ['theme-fascia.css','theme-fascia.js','theme-dark.css','theme-toggle.js','workspace-shell.css','addons.css','palette.js'] },
33+
{ kind: 'app', name: 'dirac', filename: 'dirac.js', entryRoot: './src/app.frontend.facets.molstar-rdkit.editable', staticDirs: ['assets/rdkit', 'fonts'], staticFiles: ['fonts.css','fascia-tokens.css','theme-fascia.css','theme-fascia.js','workspace-shell.css','addons.css','palette.js'] },
3434
{ kind: 'app', name: 'mvs-stories', globalName: 'mvsStories', filename: 'mvs-stories.js', entryRoot: './src/apps.reference.viewer-demos.vendored-readonly/mvs-stories' },
3535

3636
// Examples
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
/*
2+
* FASCIA TOKENS — canonical visual source of truth.
3+
* Synchronized from /home/ivan/dirac-sandbox/fascia/tokens.css.
4+
*/
5+
:root {
6+
color-scheme: light;
7+
8+
--face: #e9e7e2;
9+
--face-2: #e3e1dc;
10+
--plate: #f2f1ec;
11+
--plate-2: #e8e6e1;
12+
--well: #f1f0eb;
13+
--paper: #f7f6f2;
14+
--white: #fbfaf6;
15+
--pressed: #dedcd7;
16+
17+
--line: #c9c8c2;
18+
--line-soft: #d7d6d0;
19+
--line-dot: #bcbbb4;
20+
21+
--ink: #1d1d1a;
22+
--ink-2: #6d6c65;
23+
--etch: #94938a;
24+
--ink-off: #b3b2aa;
25+
26+
--red: #c24842;
27+
--red-wash: #f5e7e6;
28+
--red-deep: #96352f;
29+
--amber: #8a6a2f;
30+
--live: #2f2e2a;
31+
32+
--sans: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
33+
--mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
34+
--doto: 'Doto', 'IBM Plex Mono', ui-monospace, monospace;
35+
36+
--t-etch: 7.5px;
37+
--ls-etch: .24em;
38+
--t-tag: 8.5px;
39+
--ls-tag: .20em;
40+
--t-meta: 9.5px;
41+
--ls-meta: .10em;
42+
--t-body: 11.5px;
43+
--ls-body: .01em;
44+
--t-lead: 13px;
45+
--ls-lead: .01em;
46+
--t-h3: 12px;
47+
--ls-h3: .18em;
48+
--t-h2: 15px;
49+
--ls-h2: .10em;
50+
--t-h1: 22px;
51+
--ls-h1: .06em;
52+
53+
--s1: 4px;
54+
--s2: 8px;
55+
--s3: 12px;
56+
--s4: 16px;
57+
--s5: 20px;
58+
--s6: 24px;
59+
--s8: 32px;
60+
--s10: 40px;
61+
--s12: 48px;
62+
--r0: 0;
63+
--r1: 3px;
64+
--r2: 5px;
65+
--r3: 8px;
66+
67+
--rise-1: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(0, 0, 0, .05), 0 1px 2px rgba(29, 29, 26, .12);
68+
--rise-2: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(0, 0, 0, .05), 0 1px 2px rgba(29, 29, 26, .12), 0 8px 18px rgba(29, 29, 26, .06);
69+
--rise-3: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 4px rgba(29, 29, 26, .14), 0 18px 40px rgba(29, 29, 26, .14);
70+
--sink-1: inset 0 2px 4px rgba(29, 29, 26, .10), 0 1px 0 rgba(255, 255, 255, .85);
71+
--sink-2: inset 0 2px 6px rgba(29, 29, 26, .13), inset 0 1px 2px rgba(29, 29, 26, .14), 0 1px 0 rgba(255, 255, 255, .8);
72+
--hold: inset 0 2px 3px rgba(29, 29, 26, .20);
73+
--dots: radial-gradient(circle at 1.5px 1.5px, rgba(29, 29, 26, .075) 1px, transparent 1.45px);
74+
--dots-fine: radial-gradient(circle at 1px 1px, rgba(29, 29, 26, .10) .7px, transparent 1.1px);
75+
76+
--scene-bg: #f1f0eb;
77+
--scene-body: #8e8d87;
78+
--scene-anno: #c24842;
79+
--scene-anno-quiet: #6d6c65;
80+
}

‎src/app.frontend.facets.molstar-rdkit.editable/fonts.css‎

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)