@tangle-network/brand 1.10.2 → 1.11.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/CHANGELOG.md +15 -0
- package/bin/drift-baseline.json +1437 -0
- package/bin/tangle-drift.mjs +456 -0
- package/package.json +9 -3
- package/src/styles/ladders.css +144 -0
- package/src/styles/legacy-light.css +133 -21
- package/src/styles/system.css +0 -18
- package/src/styles/tokens.css +136 -20
- package/src/styles/tokens.test.ts +41 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ff1cb8b: Add eight categorical tones as `--tone-{violet,orange,teal,blue,pink,brown,cyan,lime}-{bg,bg-hover,bg-selected,border,border-selected,text,icon}` in tokens.css, both themes, generated by `scripts/gen-ladders.mjs` from the Radix ramps and solved against the canonical card: text clears 4.5:1 and icon 3:1 on every fill, dark fills lift 1.3:1 off the card, and icons stay at least 5.5 apart in OKLab. Status tones are unchanged.
|
|
8
|
+
|
|
9
|
+
`--surface-violet-*`, `--surface-orange-*` and `--surface-teal-*` keep their names; their fill and border are now the family's, a visible change on those chips: violet reads from the purple ramp (Radix violet is 3.1 from the iris brand accent), teal from the teal ramp, and dark fills are raised tints instead of near-black. Their `-text` stays a saturated hue (step 11, darkened only as far as 4.5:1 on the fill needs), because sandbox-ui colours glyphs with it on the card: dark orange `#fb923c` → `#ffa057`, teal `#2dd4bf` → `#0bd8b6`, violet `#c9c4ff` → `#d19dff`; light orange `#c2410c` → `#bc4904`, teal `#0f766e` → `#017d6d`, violet `#3E349E` → `#8145b5`. `system.css` no longer redefines them. `gen-ladders --check` now runs in `build` and `check:compat`.
|
|
10
|
+
- de70237: Add the `tangle-drift` bin: a ratchet on design-system drift (raw Tailwind palette classes, hex literals, arbitrary color values, CSS custom-property definitions, local primitive definitions) for the fifteen product surfaces. A consumer runs `tangle-drift check --surface <name> --repo-dir .` in its local gate; it exits 1 when any count rises above the baseline shipped in this package. See `docs/drift-ratchet.md`.
|
|
11
|
+
|
|
12
|
+
## 1.10.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 4f70eb8: The dark danger fill is a rose-red tint (`#5a3b40`, was `#533f3e`) at the warning fill's weight, with a quieter border (`#7d4d53`): the brown fill read as muddy beside the amber one. It lifts 1.34:1 off the card, and its text measures 5.53:1 on it.
|
|
17
|
+
|
|
3
18
|
## 1.10.2
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|