@cameronsjo/artificer 0.21.0 → 0.22.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/README.md +1 -1
- package/package.json +1 -1
- package/reference/SKILL.md +1 -1
- package/src/artificer-whimsy.js +1 -1
- package/src/artificer.css +48 -2
- package/src/primitives.json +11 -2
- package/src/tokens.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Artificer · Design System Handoff
|
|
2
2
|
|
|
3
3
|
Cameron's personal design system, packaged for use in real codebases.
|
|
4
|
-
**v0.
|
|
4
|
+
**v0.22.0 · 2026** — the mint ledger: every shipped primitive now carries machine-readable provenance in `src/primitives.json` (vintage, classes, behavior module, recipe pointer, adoption signals), gated in CI by `check:primitives` — a mint can no longer ship invisible (#190) or unreachable (#191). The `artificer-upgrade` skill v0.3 walks the ledger instead of a hand-maintained matrix and sweeps consumers for hand-rolled equivalents of newer primitives; the vendor bin transports the ledger (`ARTIFICER-CHEATSHEET.md` ride-along retired); `docs/UPGRADE.md` gains the 0.11→0.20 migration rows under an existence-lockstep gate; `.masthead` and `.colophon` mint. See `CHANGELOG.md` for what changed.
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cameronsjo/artificer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "Cameron's personal design system — AuDHD-friendly, dark-first, for tools and dashboards. Apache-2.0 but Cameron-first: published for my own reuse, unsupported, no stability guarantees implied.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Cameron Sjo",
|
package/reference/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: Artificer
|
|
|
3
3
|
description: Cameron's personal design system. AuDHD-optimized, Ghostty-rooted, dark-first with a paper-stock light mode and a Jazz Age Deco palette (burnished gold + royal purple). Use for tools, dashboards, agent UIs, terminals, settings panels — anything that must stay calm until something demands action. Do NOT use for marketing sites, kid-facing UI, or anywhere the goal is delight-via-stimulation.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Artificer · v0.
|
|
6
|
+
# Artificer · v0.22.0
|
|
7
7
|
|
|
8
8
|
A neurodivergent-first design system for Cameron. Every token and rule here exists to reduce cognitive load for an AuDHD brain that **scans instead of reads** and holds **3–4 items** in working memory.
|
|
9
9
|
|
package/src/artificer-whimsy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
2
|
-
ARTIFICER · Whimsy helper · v0.
|
|
2
|
+
ARTIFICER · Whimsy helper · v0.22.0
|
|
3
3
|
─────────────────────────────────────────────────────────────────────────
|
|
4
4
|
Tiny, dependency-free. Pairs with artificer-whimsy.css. Exposes window.Whimsy.
|
|
5
5
|
|
package/src/artificer.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
2
|
-
ARTIFICER · Design tokens · v0.
|
|
2
|
+
ARTIFICER · Design tokens · v0.22.0 (apothecary × deco × speakeasy)
|
|
3
3
|
AuDHD-optimized, Ghostty-rooted, with warm Jazz-Age accents.
|
|
4
4
|
Default theme = dark. Add data-theme="light" on <html> for ivory paper mode.
|
|
5
5
|
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
--z-toast: 3000; /* always-on-top notifications */
|
|
224
224
|
|
|
225
225
|
/* Artificer v0.10.1 — baseline contract: see CLAUDE.md § Baseline contract */
|
|
226
|
-
--art-version: "0.
|
|
226
|
+
--art-version: "0.22.0";
|
|
227
227
|
|
|
228
228
|
color-scheme: dark;
|
|
229
229
|
}
|
|
@@ -705,6 +705,42 @@ hr, .divider { border: none; border-top: 1px solid var(--border); margin: var(--
|
|
|
705
705
|
color: var(--fg-secondary); /* NOT --fg-muted — 3.05:1, below AA floor */
|
|
706
706
|
font-size: var(--t-label-xs-size); line-height: 1.5;
|
|
707
707
|
}
|
|
708
|
+
/* The spine — the colophon's one row: identity · sign-off · links. Three slots,
|
|
709
|
+
and the middle one is centred ON THE PAGE, not in whatever space the outer
|
|
710
|
+
two leave over. That is why this is a grid and not `space-between`: equal
|
|
711
|
+
`1fr` side columns mean a long copyright can't shove the sign-off sideways.
|
|
712
|
+
Slots are positional, not classed — first child starts, last child ends. Any
|
|
713
|
+
slot may be empty; leave the element in place to hold its column.
|
|
714
|
+
(Minting provenance — two consumers derived this independently — in
|
|
715
|
+
CHANGELOG v0.22.0. The touch floor lives with the other nav targets in
|
|
716
|
+
§ Touch escalation, not here.) */
|
|
717
|
+
.colophon__spine {
|
|
718
|
+
display: grid;
|
|
719
|
+
grid-template-columns: 1fr auto 1fr;
|
|
720
|
+
align-items: center;
|
|
721
|
+
gap: var(--gap, var(--s-md)); /* --gap: the same knob .stack/.cluster expose */
|
|
722
|
+
}
|
|
723
|
+
/* Above the stack breakpoint only: below it the container centres every slot,
|
|
724
|
+
and an `end` here would have to be countermanded. Declaring it in min-width
|
|
725
|
+
keeps the alignment rule in one place instead of two. */
|
|
726
|
+
@media (min-width: 641px) {
|
|
727
|
+
.colophon__spine > :last-child { justify-self: end; }
|
|
728
|
+
}
|
|
729
|
+
/* Zone spacing: the spine only needs a gap above it when it follows sibling
|
|
730
|
+
colophon content (a .grid-auto of labeled sections). A spine-only colophon
|
|
731
|
+
gets its space from .colophon's own padding. */
|
|
732
|
+
.colophon__spine:not(:first-child) { margin-top: var(--s-lg); }
|
|
733
|
+
@media (max-width: 640px) {
|
|
734
|
+
/* Stack, and centre every slot — a left-aligned copyright above a centred
|
|
735
|
+
sign-off reads as a mistake at this width. text-align carries the wrapped
|
|
736
|
+
second line, which justify-items alone does not. */
|
|
737
|
+
.colophon__spine {
|
|
738
|
+
grid-template-columns: 1fr;
|
|
739
|
+
justify-items: center;
|
|
740
|
+
text-align: center;
|
|
741
|
+
gap: var(--gap, var(--s-sm));
|
|
742
|
+
}
|
|
743
|
+
}
|
|
708
744
|
|
|
709
745
|
/* ═══ Overlays · modal & popover ═══════════════════════════════════════ */
|
|
710
746
|
.scrim {
|
|
@@ -1570,6 +1606,16 @@ select:focus-visible,
|
|
|
1570
1606
|
full-height touch area without changing their visual size. */
|
|
1571
1607
|
.appbar__brand { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
|
|
1572
1608
|
.crumb a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
|
|
1609
|
+
/* Colophon spine links. Scoped to the spine, NOT to a <nav> inside it: the
|
|
1610
|
+
spine's contract is that slots are positional and their content is the
|
|
1611
|
+
consumer's choice, so a links slot written as <div class="cluster">, a
|
|
1612
|
+
<nav>, or two bare <a>s are all conforming — and a floor that only fired
|
|
1613
|
+
for one of them would advertise a guarantee it doesn't keep. Prose links
|
|
1614
|
+
in .colophon__fine are deliberately NOT covered: those are inline text
|
|
1615
|
+
links, exempt under WCAG 2.5.8.
|
|
1616
|
+
`justify-content` (not needed by the two rules above, whose content fills
|
|
1617
|
+
the box) centres a short label like "RSS" inside its square minimum. */
|
|
1618
|
+
.colophon__spine a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
|
|
1573
1619
|
}
|
|
1574
1620
|
|
|
1575
1621
|
/* Table -> cards reflow. Below --bp-mobile (640px) a wide data table
|
package/src/primitives.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schemaVersion": "1",
|
|
3
|
-
"$version": "0.
|
|
3
|
+
"$version": "0.22.0",
|
|
4
4
|
"$doc": "Primitive mint ledger (ADR 0037, #199). Provenance + adoption semantics for every shipped primitive. tokens.json owns token VALUES; scripts/css-token-set.baseline.json owns the token SET; this file owns grouping, vintage, recipes, and adoption signals. Gated by scripts/check-primitives.mjs (check:primitives). minted 'pending-backfill' marks an entry awaiting mechanical dating (all dated by #199 PR-3's backfill; the sentinel remains legal for future re-derivations); 'unreleased' marks a mint on a feature branch, swept to the release version by sync:primitives-vintage.",
|
|
5
5
|
"primitives": {
|
|
6
6
|
"stack": {
|
|
@@ -732,7 +732,8 @@
|
|
|
732
732
|
"classes": [
|
|
733
733
|
"colophon",
|
|
734
734
|
"colophon__fine",
|
|
735
|
-
"colophon__label"
|
|
735
|
+
"colophon__label",
|
|
736
|
+
"colophon__spine"
|
|
736
737
|
],
|
|
737
738
|
"recipe": "Footer / colophon / fine print / attribution"
|
|
738
739
|
},
|
|
@@ -1078,6 +1079,14 @@
|
|
|
1078
1079
|
"minted": [],
|
|
1079
1080
|
"breaking": [],
|
|
1080
1081
|
"adoption": []
|
|
1082
|
+
},
|
|
1083
|
+
"0.22.0": {
|
|
1084
|
+
"title": "the spine: .colophon__spine extends the colophon primitive with the identity/sign-off/links row two consumer sites had each built themselves",
|
|
1085
|
+
"minted": [],
|
|
1086
|
+
"breaking": [],
|
|
1087
|
+
"adoption": [
|
|
1088
|
+
"colophon"
|
|
1089
|
+
]
|
|
1081
1090
|
}
|
|
1082
1091
|
},
|
|
1083
1092
|
"$exempt": []
|
package/src/tokens.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://design-tokens.org/schema.json",
|
|
3
3
|
"$description": "Artificer · Cameron's personal design system. Machine-readable token export. Mirrors artificer.css. Source of truth lives in the CSS — regenerate this file if tokens change there.",
|
|
4
|
-
"$version": "0.
|
|
4
|
+
"$version": "0.22.0",
|
|
5
5
|
|
|
6
6
|
"color": {
|
|
7
7
|
"$description": "All colors paired with their dark/light values. AAA-tuned where indicated. v0.6 palette: apothecary × deco × speakeasy.",
|