@brunosouzas/stackledger 0.6.0 → 0.8.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.
Files changed (70) hide show
  1. package/README.md +18 -16
  2. package/dist/discovery/snapshot.d.ts +1 -1
  3. package/dist/discovery/snapshot.js +5 -3
  4. package/dist/discovery/snapshot.js.map +1 -1
  5. package/dist/discovery/sources/apps.d.ts +16 -0
  6. package/dist/discovery/sources/apps.js +13 -8
  7. package/dist/discovery/sources/apps.js.map +1 -1
  8. package/dist/discovery/sources/launchd.d.ts +1 -0
  9. package/dist/discovery/sources/launchd.js +128 -11
  10. package/dist/discovery/sources/launchd.js.map +1 -1
  11. package/dist/discovery/types.d.ts +4 -1
  12. package/dist/discovery/types.js +2 -0
  13. package/dist/discovery/types.js.map +1 -1
  14. package/dist/drift-formats.js +2 -0
  15. package/dist/drift-formats.js.map +1 -1
  16. package/dist/drift.d.ts +4 -1
  17. package/dist/drift.js +19 -2
  18. package/dist/drift.js.map +1 -1
  19. package/dist/map/ink.d.ts +4 -2
  20. package/dist/map/ink.js.map +1 -1
  21. package/dist/map/neighbourhood.js +3 -2
  22. package/dist/map/neighbourhood.js.map +1 -1
  23. package/dist/map/pieces.d.ts +4 -3
  24. package/dist/map/pieces.js.map +1 -1
  25. package/dist/map/strip.js +3 -3
  26. package/dist/map/strip.js.map +1 -1
  27. package/dist/map/themes.js +18 -15
  28. package/dist/map/themes.js.map +1 -1
  29. package/dist/map/xml.js +6 -0
  30. package/dist/map/xml.js.map +1 -1
  31. package/dist/scaffold.js +26 -4
  32. package/dist/scaffold.js.map +1 -1
  33. package/dist/site/build.d.ts +33 -1
  34. package/dist/site/build.js +64 -24
  35. package/dist/site/build.js.map +1 -1
  36. package/dist/site/command.d.ts +2 -1
  37. package/dist/site/command.js +3 -2
  38. package/dist/site/command.js.map +1 -1
  39. package/dist/site/loopback.d.ts +7 -0
  40. package/dist/site/loopback.js +49 -0
  41. package/dist/site/loopback.js.map +1 -0
  42. package/dist/site/relative.d.ts +29 -0
  43. package/dist/site/relative.js +215 -1
  44. package/dist/site/relative.js.map +1 -1
  45. package/examples/catalogue-repository/.github/workflows/stackledger.yml +1 -1
  46. package/examples/catalogue-repository/README.md +3 -3
  47. package/examples/northwind-machine/snapshot.json +25 -4
  48. package/npm-shrinkwrap.json +30 -21
  49. package/package.json +5 -5
  50. package/site/public/brand-mark-dark.svg +4 -5
  51. package/site/public/favicon.svg +4 -4
  52. package/site/public/home-banner.svg +73 -84
  53. package/site/public/link-icons/email-dark.svg +3 -5
  54. package/site/public/link-icons/email-light.svg +3 -4
  55. package/site/public/link-icons/github-dark.svg +2 -4
  56. package/site/public/link-icons/github-light.svg +2 -3
  57. package/site/public/link-icons/linkedin-dark.svg +4 -6
  58. package/site/public/link-icons/linkedin-light.svg +4 -5
  59. package/site/public/link-icons/website-dark.svg +4 -6
  60. package/site/public/link-icons/website-light.svg +4 -5
  61. package/site/public/symbol-dark.svg +5 -0
  62. package/site/public/symbol-light.svg +5 -0
  63. package/site/src/components/Footer.astro +4 -3
  64. package/site/src/components/Themed.astro +6 -3
  65. package/site/src/layouts/Base.astro +8 -2
  66. package/site/src/styles/base.css +18 -3
  67. package/site/src/styles/pages.css +0 -6
  68. package/site/src/styles/tokens.css +19 -22
  69. package/skills/stackledger/SKILL.md +1 -1
  70. package/site/src/styles/fonts.css +0 -60
@@ -1,8 +1,6 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 46 46" width="46" height="46"><g transform="translate(0 0) scale(1)" stroke="none">
2
- <rect x="4" y="4" width="41" height="41" rx="11" fill="#4C5CB8" stroke="none"/>
3
- <rect x="0.5" y="0.5" width="41" height="41" rx="11" fill="#EEF2FF" stroke="none"/>
4
- <rect x="2" y="2" width="38" height="38" rx="9" fill="#8FB2FF" stroke="#0A1033" stroke-width="2.5"/>
5
- <rect x="12" y="18.5" width="4" height="11.5" rx="1" fill="#0A1033" stroke="none"/>
6
- <circle cx="14" cy="13.8" r="2.4" fill="#0A1033" stroke="none"/>
7
- <path d="M19.5,30 V18.5 H23.5 V20.3 C24.5,19 26.2,18.1 28,18.1 C31.2,18.1 32.5,20.2 32.5,23.6 V30 H28.5 V24.3 C28.5,22.7 27.8,21.9 26.6,21.9 C25.2,21.9 23.5,22.8 23.5,24.7 V30 Z" fill="#0A1033" stroke="none"/>
2
+ <rect x="2" y="2" width="38" height="38" rx="9" fill="#FFFFFF" stroke="#ADA79D" stroke-width="2.5"/>
3
+ <rect x="12" y="18.5" width="4" height="11.5" rx="1" fill="#121212" stroke="none"/>
4
+ <circle cx="14" cy="13.8" r="2.4" fill="#121212" stroke="none"/>
5
+ <path d="M19.5,30 V18.5 H23.5 V20.3 C24.5,19 26.2,18.1 28,18.1 C31.2,18.1 32.5,20.2 32.5,23.6 V30 H28.5 V24.3 C28.5,22.7 27.8,21.9 26.6,21.9 C25.2,21.9 23.5,22.8 23.5,24.7 V30 Z" fill="#121212" stroke="none"/>
8
6
  </g></svg>
@@ -1,7 +1,6 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 46 46" width="46" height="46"><g transform="translate(0 0) scale(1)" stroke="none">
2
- <rect x="5" y="5" width="38" height="38" rx="9" fill="#0A1033" stroke="none"/>
3
- <rect x="2" y="2" width="38" height="38" rx="9" fill="#8FB2FF" stroke="#0A1033" stroke-width="2.5"/>
4
- <rect x="12" y="18.5" width="4" height="11.5" rx="1" fill="#0A1033" stroke="none"/>
5
- <circle cx="14" cy="13.8" r="2.4" fill="#0A1033" stroke="none"/>
6
- <path d="M19.5,30 V18.5 H23.5 V20.3 C24.5,19 26.2,18.1 28,18.1 C31.2,18.1 32.5,20.2 32.5,23.6 V30 H28.5 V24.3 C28.5,22.7 27.8,21.9 26.6,21.9 C25.2,21.9 23.5,22.8 23.5,24.7 V30 Z" fill="#0A1033" stroke="none"/>
2
+ <rect x="2" y="2" width="38" height="38" rx="9" fill="#FFFFFF" stroke="#121212" stroke-width="2.5"/>
3
+ <rect x="12" y="18.5" width="4" height="11.5" rx="1" fill="#121212" stroke="none"/>
4
+ <circle cx="14" cy="13.8" r="2.4" fill="#121212" stroke="none"/>
5
+ <path d="M19.5,30 V18.5 H23.5 V20.3 C24.5,19 26.2,18.1 28,18.1 C31.2,18.1 32.5,20.2 32.5,23.6 V30 H28.5 V24.3 C28.5,22.7 27.8,21.9 26.6,21.9 C25.2,21.9 23.5,22.8 23.5,24.7 V30 Z" fill="#121212" stroke="none"/>
7
6
  </g></svg>
@@ -1,8 +1,6 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 46 46" width="46" height="46"><g transform="translate(0 0) scale(1)" stroke="none">
2
- <rect x="4" y="4" width="41" height="41" rx="11" fill="#4C5CB8" stroke="none"/>
3
- <rect x="0.5" y="0.5" width="41" height="41" rx="11" fill="#EEF2FF" stroke="none"/>
4
- <rect x="2" y="2" width="38" height="38" rx="9" fill="#3DDC84" stroke="#0A1033" stroke-width="2.5"/>
5
- <circle cx="21" cy="21" r="10.5" fill="#FFFFFF" stroke="#0A1033" stroke-width="2.5"/>
6
- <ellipse cx="21" cy="21" rx="4.6" ry="10.5" fill="none" stroke="#0A1033" stroke-width="2"/>
7
- <path d="M10.5 21H31.5M12.5 15.5H29.5M12.5 26.5H29.5" fill="none" stroke="#0A1033" stroke-width="2" stroke-linecap="round"/>
2
+ <rect x="2" y="2" width="38" height="38" rx="9" fill="#FFFFFF" stroke="#ADA79D" stroke-width="2.5"/>
3
+ <circle cx="21" cy="21" r="10.5" fill="#FFFFFF" stroke="#121212" stroke-width="2.5"/>
4
+ <ellipse cx="21" cy="21" rx="4.6" ry="10.5" fill="none" stroke="#121212" stroke-width="2"/>
5
+ <path d="M10.5 21H31.5M12.5 15.5H29.5M12.5 26.5H29.5" fill="none" stroke="#121212" stroke-width="2" stroke-linecap="round"/>
8
6
  </g></svg>
@@ -1,7 +1,6 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 46 46" width="46" height="46"><g transform="translate(0 0) scale(1)" stroke="none">
2
- <rect x="5" y="5" width="38" height="38" rx="9" fill="#0A1033" stroke="none"/>
3
- <rect x="2" y="2" width="38" height="38" rx="9" fill="#3DDC84" stroke="#0A1033" stroke-width="2.5"/>
4
- <circle cx="21" cy="21" r="10.5" fill="#FFFFFF" stroke="#0A1033" stroke-width="2.5"/>
5
- <ellipse cx="21" cy="21" rx="4.6" ry="10.5" fill="none" stroke="#0A1033" stroke-width="2"/>
6
- <path d="M10.5 21H31.5M12.5 15.5H29.5M12.5 26.5H29.5" fill="none" stroke="#0A1033" stroke-width="2" stroke-linecap="round"/>
2
+ <rect x="2" y="2" width="38" height="38" rx="9" fill="#FFFFFF" stroke="#121212" stroke-width="2.5"/>
3
+ <circle cx="21" cy="21" r="10.5" fill="#FFFFFF" stroke="#121212" stroke-width="2.5"/>
4
+ <ellipse cx="21" cy="21" rx="4.6" ry="10.5" fill="none" stroke="#121212" stroke-width="2"/>
5
+ <path d="M10.5 21H31.5M12.5 15.5H29.5M12.5 26.5H29.5" fill="none" stroke="#121212" stroke-width="2" stroke-linecap="round"/>
7
6
  </g></svg>
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32"><g transform="translate(0 0) scale(1)">
2
+ <rect x="5" y="3" width="5.5" height="26" rx="2.75" fill="#F1EEE8"/>
3
+ <circle cx="17.5" cy="20.5" r="7.3" fill="none" stroke="#F1EEE8" stroke-width="4.6"/>
4
+ <circle cx="27.5" cy="9" r="2.8" fill="#FF7A45"/>
5
+ </g></svg>
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32"><g transform="translate(0 0) scale(1)">
2
+ <rect x="5" y="3" width="5.5" height="26" rx="2.75" fill="#121212"/>
3
+ <circle cx="17.5" cy="20.5" r="7.3" fill="none" stroke="#121212" stroke-width="4.6"/>
4
+ <circle cx="27.5" cy="9" r="2.8" fill="#E04E17"/>
5
+ </g></svg>
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  // Footer from brunosouzas.com (Astroplate theme, MIT): brand and links, then the view, the
3
- // stackledger version and the theme credit. No links to other sites (site-security): only the home
4
- // page's configured links leave the site.
3
+ // stackledger version, the parent brand's endorsement (its symbol, one image per theme like the
4
+ // header mark, and "by Bruno Souza", not a link: catalogue-site, Parent brand endorsement) and the
5
+ // theme credit. No links to other sites (site-security): only the home page's configured links leave the site.
5
6
  import { href, site } from '../lib/site';
6
7
 
7
8
  interface Props {
@@ -20,6 +21,6 @@ const { root } = Astro.props;
20
21
  </ul>
21
22
  </div>
22
23
  <div class="footer-bottom">
23
- <p class="container">{site.view} view · stackledger {site.version} · Look based on the Astroplate theme (MIT)</p>
24
+ <p class="container">{site.view} view · stackledger {site.version} · <span class="endorsement"><img class="symbol-mark themed-light" src={href(root, 'symbol-light.svg')} alt="" width="16" height="16" /><img class="symbol-mark themed-dark" src={href(root, 'symbol-dark.svg')} alt="" width="16" height="16" /> by Bruno Souza</span> · Look based on the Astroplate theme (MIT)</p>
24
25
  </div>
25
26
  </footer>
@@ -1,8 +1,11 @@
1
1
  ---
2
2
  // One stackledger-rendered SVG per theme; CSS shows the one that matches the page theme.
3
- // set:html is allowed only here, for line badges and for the interface icons: these SVGs come from
4
- // src/map/*.ts, which escape every catalogue text themselves, or from src/site/ui-icons.ts, which
5
- // holds no catalogue text (site-security, Escaped catalogue text).
3
+ // stackledger's templates use set:html only here, for line badges and for the interface icons: these
4
+ // SVGs come from src/map/*.ts, which escape every catalogue text themselves, or from
5
+ // src/site/ui-icons.ts, which holds no catalogue text (site-security, Escaped catalogue text).
6
+ // Astro's own <Font> component (in Base.astro) also writes its CSS raw (<style set:html>), from the
7
+ // fonts configuration alone, never catalogue text; the build moves that CSS into _astro/fonts.css
8
+ // before the scan, which still refuses any other <style> (src/site/relative.ts, moveFontCss).
6
9
  interface Props {
7
10
  light: string;
8
11
  dark: string;
@@ -1,8 +1,11 @@
1
1
  ---
2
2
  // Shared page shell (catalogue-site, Layout): fixed CSP and noindex metas, header, main, footer.
3
3
  // Structure from brunosouzas.com's Layout.astro (Astroplate theme, MIT, see LICENSE-astroplate).
4
- // No inline code: the theme script is a bundled file, styles are imported files.
5
- import '../styles/fonts.css';
4
+ // No inline code: the theme script is a bundled file, styles are imported files. The fonts come from
5
+ // Astro's Fonts API (src/site/build.ts): its <Font> components write inline <style> elements, which
6
+ // the build moves into _astro/fonts.css before the scan (catalogue-site, Font delivery). They come
7
+ // after the CSP meta, so the stylesheet link and the preloads are requested under the policy.
8
+ import { Font } from 'astro:assets';
6
9
  import '../styles/tokens.css';
7
10
  import '../styles/override.css';
8
11
  import '../styles/base.css';
@@ -35,6 +38,9 @@ const root = rootFor(Astro.url.pathname);
35
38
  <meta name="viewport" content="width=device-width, initial-scale=1" />
36
39
  <meta name="color-scheme" content="light dark" />
37
40
  <title>{home ? site.title : `${title} | ${site.title}`}</title>
41
+ <Font cssVariable="--font-primary" preload={[{ weight: 400, style: 'normal' }]} />
42
+ <Font cssVariable="--font-secondary" preload={[{ weight: 700, style: 'normal' }]} />
43
+ <Font cssVariable="--font-mono" />
38
44
  <link rel="icon" type="image/svg+xml" href={href(root, 'favicon.svg')} />
39
45
  <script>
40
46
  import '../scripts/theme.ts';
@@ -90,10 +90,18 @@ dt {
90
90
  }
91
91
 
92
92
  code {
93
+ font-family: var(--font-mono);
93
94
  font-size: 0.9em;
94
95
  overflow-wrap: anywhere;
95
96
  }
96
97
 
98
+ /* The map and the diagrams name the design system's plain family ('Source Sans 3') in their
99
+ font-family attribute; the Fonts API renames the shipped face, so the page points them at it.
100
+ A CSS rule overrides a presentation attribute; standalone SVG files keep the plain names. */
101
+ svg[font-family] {
102
+ font-family: var(--font-primary);
103
+ }
104
+
97
105
  :focus-visible {
98
106
  outline: 3px solid var(--color-accent);
99
107
  outline-offset: 2px;
@@ -179,6 +187,11 @@ code {
179
187
  text-decoration: none;
180
188
  }
181
189
 
190
+ /* The wordmark: the header's site title in Source Serif 4 italic 700 (catalogue-site, Wordmark). */
191
+ .header .navbar-brand {
192
+ font-style: italic;
193
+ }
194
+
182
195
  .navbar-nav {
183
196
  display: flex;
184
197
  flex-wrap: wrap;
@@ -286,6 +299,11 @@ code {
286
299
  margin: 0;
287
300
  }
288
301
 
302
+ /* The parent brand's symbol sits on the text line, before "by Bruno Souza". */
303
+ .symbol-mark {
304
+ vertical-align: -0.15em;
305
+ }
306
+
289
307
  /* Buttons and form controls. */
290
308
 
291
309
  .btn {
@@ -296,7 +314,6 @@ code {
296
314
  padding: 0.35rem 0.9rem;
297
315
  border: var(--frame-outline);
298
316
  border-radius: var(--radius);
299
- box-shadow: var(--frame-shadow);
300
317
  background: transparent;
301
318
  color: var(--color-text-dark);
302
319
  font: inherit;
@@ -390,7 +407,6 @@ tbody tr:last-child td {
390
407
  border: var(--frame-outline);
391
408
  border-radius: var(--radius);
392
409
  background: var(--color-body);
393
- box-shadow: var(--frame-shadow);
394
410
  }
395
411
 
396
412
  .plain-list {
@@ -415,7 +431,6 @@ tbody tr:last-child td {
415
431
  padding: 0 0.6rem;
416
432
  border: var(--frame-outline);
417
433
  border-radius: 1rem;
418
- box-shadow: var(--frame-shadow);
419
434
  font-size: 0.9rem;
420
435
  }
421
436
 
@@ -129,12 +129,6 @@
129
129
  font-weight: 400;
130
130
  }
131
131
 
132
- /* A pressed chip sits down on its shadow; in dark it keeps its rim. */
133
- .line-chips .btn[aria-pressed="true"] {
134
- box-shadow: var(--frame-pressed);
135
- transform: translate(var(--ds-shadow-small), var(--ds-shadow-small));
136
- }
137
-
138
132
  .map-symbols {
139
133
  display: flex;
140
134
  flex-wrap: wrap;
@@ -1,7 +1,10 @@
1
- /* Design tokens: every colour, font and size of the site (catalogue-site, Look and theme).
2
- Colours, fonts and type scale come from @brunosouzas/design-system (the site tokens of
3
- brunosouzas.com), copied by the build next to this file as ds-tokens.css; the accent and the
4
- focus colour are stackledger's own additions.
1
+ /* Design tokens: every colour and size of the site (catalogue-site, Look and theme).
2
+ The font variables (--font-primary, --font-secondary, --font-mono) are not defined here: Astro's
3
+ Fonts API defines them in _astro/fonts.css, and a definition here, loaded later, would win.
4
+ Colours and type scale come from @brunosouzas/design-system (the site tokens of
5
+ brunosouzas.com), copied by the build next to this file as ds-tokens.css; the accent, which is
6
+ also the focus colour, is stackledger's own brand colour in the package
7
+ (--ds-brand-<theme>-stackledger-accent).
5
8
  Light is the default. Dark applies when the reader chose it (data-theme="dark" on <html>), or
6
9
  when the system prefers dark and the reader made no choice. Those dark rules are more specific
7
10
  than :root, so override.css (spec.site.colors, also :root) changes the light theme only. */
@@ -12,7 +15,7 @@
12
15
  color-scheme: light;
13
16
 
14
17
  --color-primary: var(--ds-site-light-primary);
15
- --color-accent: #000f9f;
18
+ --color-accent: var(--ds-brand-light-stackledger-accent);
16
19
  --color-body: var(--ds-site-light-body);
17
20
  --color-border: var(--ds-site-light-border);
18
21
  --color-light: var(--ds-site-light-light);
@@ -20,12 +23,10 @@
20
23
  --color-text: var(--ds-site-light-text);
21
24
  --color-text-dark: var(--ds-site-light-text-dark);
22
25
  --color-text-light: var(--ds-site-light-text-light);
23
- --color-on-primary: #ffffff;
26
+ /* Text over primary (the text colour since design system 0.8.0): the page's body colour. */
27
+ --color-on-primary: var(--ds-site-light-body);
24
28
  --color-map-credit: var(--ds-surface-light-backdrop-credit);
25
29
 
26
- --font-primary: var(--ds-site-font-primary);
27
- --font-secondary: var(--ds-site-font-secondary);
28
-
29
30
  --text-base: var(--ds-site-font-size-base);
30
31
  --text-base-sm: var(--ds-site-font-size-base-small);
31
32
  --text-h6: calc(var(--ds-site-heading-h6) * 1rem);
@@ -41,18 +42,16 @@
41
42
  --radius: 0.5rem;
42
43
  --container: 1320px;
43
44
 
44
- /* The identity's ink frame (cards, buttons, chips): ink outline and hard shadow. */
45
+ /* The identity's ink frame (cards, buttons, chips): an outline, no shadow and no rim (the design
46
+ system's shadow and rim width tokens are 0). */
45
47
  --frame-outline: var(--ds-outline-small) solid var(--ds-color-ink);
46
- --frame-shadow: var(--ds-shadow-small) var(--ds-shadow-small) 0 var(--ds-surface-light-shadow);
47
- /* What a frame keeps when it is pressed down onto its shadow: nothing in light, the rim in dark. */
48
- --frame-pressed: none;
49
48
  }
50
49
 
51
50
  :root[data-theme="dark"] {
52
51
  color-scheme: dark;
53
52
 
54
53
  --color-primary: var(--ds-site-dark-primary);
55
- --color-accent: #9da8ff;
54
+ --color-accent: var(--ds-brand-dark-stackledger-accent);
56
55
  --color-body: var(--ds-site-dark-body);
57
56
  --color-border: var(--ds-site-dark-border);
58
57
  --color-light: var(--ds-site-dark-light);
@@ -60,12 +59,11 @@
60
59
  --color-text: var(--ds-site-dark-text);
61
60
  --color-text-dark: var(--ds-site-dark-text-dark);
62
61
  --color-text-light: var(--ds-site-dark-text-light);
63
- --color-on-primary: #040404;
62
+ --color-on-primary: var(--ds-site-dark-body);
64
63
  --color-map-credit: var(--ds-surface-dark-backdrop-credit);
65
64
 
66
- /* On a dark page the ink outline gets a light rim and the shadow turns indigo, as on the map. */
67
- --frame-shadow: 0 0 0 var(--ds-surface-dark-rim-width) var(--ds-surface-dark-rim), var(--ds-shadow-small) var(--ds-shadow-small) 0 var(--ds-surface-dark-shadow);
68
- --frame-pressed: 0 0 0 var(--ds-surface-dark-rim-width) var(--ds-surface-dark-rim);
65
+ /* Ink vanishes on the dark page: the frame takes the dark surface's muted colour, as on the map. */
66
+ --frame-outline: var(--ds-outline-small) solid var(--ds-surface-dark-muted);
69
67
  }
70
68
 
71
69
  @media (prefers-color-scheme: dark) {
@@ -73,7 +71,7 @@
73
71
  color-scheme: dark;
74
72
 
75
73
  --color-primary: var(--ds-site-dark-primary);
76
- --color-accent: #9da8ff;
74
+ --color-accent: var(--ds-brand-dark-stackledger-accent);
77
75
  --color-body: var(--ds-site-dark-body);
78
76
  --color-border: var(--ds-site-dark-border);
79
77
  --color-light: var(--ds-site-dark-light);
@@ -81,10 +79,9 @@
81
79
  --color-text: var(--ds-site-dark-text);
82
80
  --color-text-dark: var(--ds-site-dark-text-dark);
83
81
  --color-text-light: var(--ds-site-dark-text-light);
84
- --color-on-primary: #040404;
82
+ --color-on-primary: var(--ds-site-dark-body);
85
83
  --color-map-credit: var(--ds-surface-dark-backdrop-credit);
86
84
 
87
- --frame-shadow: 0 0 0 var(--ds-surface-dark-rim-width) var(--ds-surface-dark-rim), var(--ds-shadow-small) var(--ds-shadow-small) 0 var(--ds-surface-dark-shadow);
88
- --frame-pressed: 0 0 0 var(--ds-surface-dark-rim-width) var(--ds-surface-dark-rim);
85
+ --frame-outline: var(--ds-outline-small) solid var(--ds-surface-dark-muted);
89
86
  }
90
87
  }
@@ -130,7 +130,7 @@ Two stations cannot share a cell. A stop without a position, or a position for a
130
130
 
131
131
  1. On the Mac: `node dist/cli.js discover` (read-only; it writes only `~/.stackledger/<machine>/snapshot.json`). Never commit the snapshot: it holds the user name and paths.
132
132
  2. `node dist/cli.js drift /path/to/catalogue --format json` and read the object:
133
- - `notDeclared`: each entry's `annotation` is the line to add, for example `stackledger/cask: northwind-editor`. When `suggestedComponents` is not empty, add the annotation to those components (an app their cask installs). An entry with `note: cannot be annotated` cannot be matched; mention it, do not work around it.
133
+ - `notDeclared`: each entry's `annotation` is the line to add, for example `stackledger/cask: northwind-editor`. When `suggestedComponents` is not empty, add the annotation to those components (an app their cask installs). An entry with `note: cannot be annotated` cannot be matched; mention it, do not work around it. For a launchd entry, `program` and `script` say what the job runs (`script` is the file an interpreter such as `python3` or `bash` runs); use them to find what the job belongs to, and never copy them into a component. A launchd entry with scope `app-agent`, `app-daemon` or `app-login-item` is a helper an app declares (it may not be enabled); its `suggestedComponents` name the app's component, which is where its `stackledger/launchd` annotation goes.
134
134
  - `missing`: a component lists something not installed. Ask whether it was removed (its `lifecycle` may need to change) or the identifier is wrong; `incomplete: true` means the source skipped some entries, so it may be installed after all.
135
135
  - `notChecked`: the source was skipped or failed on that Mac. Conclude nothing.
136
136
  - `shared`: two components claim one item; `validate` warns too. Ask which one owns it.
@@ -1,60 +0,0 @@
1
- /* Heebo (text) and Signika (headings), the fonts of brunosouzas.com, and Lato (the map and the
2
- diagrams, as in the site's illustrations), from the @fontsource packages (SIL Open Font License 1.1).
3
- The build copies the files into src/fonts/; Vite emits them next to the stylesheet in _astro/ and
4
- the build makes these url()s relative. No font is fetched from the network. */
5
-
6
- @font-face {
7
- font-family: "Heebo";
8
- font-style: normal;
9
- font-weight: 400;
10
- font-display: swap;
11
- src: url("../fonts/heebo-latin-400-normal.woff2") format("woff2");
12
- }
13
-
14
- @font-face {
15
- font-family: "Heebo";
16
- font-style: normal;
17
- font-weight: 600;
18
- font-display: swap;
19
- src: url("../fonts/heebo-latin-600-normal.woff2") format("woff2");
20
- }
21
-
22
- @font-face {
23
- font-family: "Signika";
24
- font-style: normal;
25
- font-weight: 500;
26
- font-display: swap;
27
- src: url("../fonts/signika-latin-500-normal.woff2") format("woff2");
28
- }
29
-
30
- @font-face {
31
- font-family: "Signika";
32
- font-style: normal;
33
- font-weight: 700;
34
- font-display: swap;
35
- src: url("../fonts/signika-latin-700-normal.woff2") format("woff2");
36
- }
37
-
38
- @font-face {
39
- font-family: "Lato";
40
- font-style: normal;
41
- font-weight: 400;
42
- font-display: swap;
43
- src: url("../fonts/lato-latin-400-normal.woff2") format("woff2");
44
- }
45
-
46
- @font-face {
47
- font-family: "Lato";
48
- font-style: normal;
49
- font-weight: 700;
50
- font-display: swap;
51
- src: url("../fonts/lato-latin-700-normal.woff2") format("woff2");
52
- }
53
-
54
- @font-face {
55
- font-family: "Lato";
56
- font-style: normal;
57
- font-weight: 900;
58
- font-display: swap;
59
- src: url("../fonts/lato-latin-900-normal.woff2") format("woff2");
60
- }