@cameronsjo/artificer 0.18.0 → 0.18.1
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/src/artificer-whimsy.css +12 -2
- package/src/artificer-whimsy.js +1 -1
- package/src/artificer.css +2 -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.18.
|
|
4
|
+
**v0.18.1 · 2026** — the re-true: the root is never overridden (`html { font-size: 100% }`), so every `--t-*-size` token now renders at its labeled px and the whole system scales with the browser font-size preference (#211, owner-ruled). Token-bound type grows ~14.3% — body copy lands at a true 14px (it had double-applied to 12.25px); the owner optical pass is #214. The px-literal chrome rebinds to exact-match tokens as identity swaps, the `lint:tokens` font-size watch arms, the `.toast` ghost leaves print.css, and app-shell lands on canonical `.section-title`. (0.18.1: the glacial whimsy now truly stills under `prefers-reduced-motion` — #221, a field-filed floor fix — and the uniformity doctrine is codified in § One system, many applications.) 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.18.
|
|
3
|
+
"version": "0.18.1",
|
|
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/src/artificer-whimsy.css
CHANGED
|
@@ -285,9 +285,19 @@
|
|
|
285
285
|
}
|
|
286
286
|
.whimsy--glacial .whimsy-char { transform: none !important; }
|
|
287
287
|
|
|
288
|
-
/* ═══ Accessibility — flow stops, burnish stays ═══════════════════════════
|
|
288
|
+
/* ═══ Accessibility — flow stops, burnish stays ═══════════════════════════
|
|
289
|
+
The glacial selectors are listed explicitly (#221): .whimsy--glacial.whimsy
|
|
290
|
+
re-establishes animation-* longhands !important at (0,2,0), which out-ranks
|
|
291
|
+
a bare .whimsy guard at (0,1,0) — among !important declarations, specificity
|
|
292
|
+
decides per property. Matching the compound here ties the specificity, and
|
|
293
|
+
this block's later source position wins the tie: under reduced motion,
|
|
294
|
+
glacial degrades to the --settled rest (static burnish), as doctrine #6
|
|
295
|
+
demands. Found in the field by a consumer on the 0.10.1→0.18.0 upgrade. */
|
|
289
296
|
@media (prefers-reduced-motion: reduce) {
|
|
290
|
-
.whimsy, .whimsy-char, .whimsy-rule
|
|
297
|
+
.whimsy, .whimsy-char, .whimsy-rule,
|
|
298
|
+
.whimsy--glacial.whimsy,
|
|
299
|
+
.whimsy--glacial.whimsy-rule,
|
|
300
|
+
.whimsy--glacial .whimsy-char {
|
|
291
301
|
animation: none !important;
|
|
292
302
|
background-position: 30% 50%; /* hold a pleasant slice of spectrum */
|
|
293
303
|
}
|
package/src/artificer-whimsy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
2
|
-
ARTIFICER · Whimsy helper · v0.18.
|
|
2
|
+
ARTIFICER · Whimsy helper · v0.18.1
|
|
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.18.
|
|
2
|
+
ARTIFICER · Design tokens · v0.18.1 (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
|
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
--z-toast: 3000; /* always-on-top notifications */
|
|
223
223
|
|
|
224
224
|
/* Artificer v0.10.1 — baseline contract: see CLAUDE.md § Baseline contract */
|
|
225
|
-
--art-version: "0.18.
|
|
225
|
+
--art-version: "0.18.1";
|
|
226
226
|
|
|
227
227
|
color-scheme: dark;
|
|
228
228
|
}
|
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.18.
|
|
4
|
+
"$version": "0.18.1",
|
|
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.",
|