@vegastack/design 0.14.0 → 0.14.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/bin/doctor.mjs
CHANGED
|
@@ -1189,7 +1189,7 @@ function lineIndex(text) {
|
|
|
1189
1189
|
}
|
|
1190
1190
|
|
|
1191
1191
|
/**
|
|
1192
|
-
* COL-25 (operator, 2026-11-13):
|
|
1192
|
+
* COL-25 (operator, 2026-11-13): checks are primary, never green. The lucide check
|
|
1193
1193
|
* icons, by the name they are imported under, and the inks that make one green.
|
|
1194
1194
|
*/
|
|
1195
1195
|
const CHECK_ICON =
|
|
@@ -1790,7 +1790,7 @@ export function main(argv = []) {
|
|
|
1790
1790
|
level: "fail",
|
|
1791
1791
|
name: "check colour",
|
|
1792
1792
|
detail: `${composition.greenChecks.length} check icon(s) in a success or green ink`,
|
|
1793
|
-
fix: "a check is
|
|
1793
|
+
fix: "a check is primary — `text-primary`, or the StatusGlyph registry item — never `text-success*` or green (COL-25)",
|
|
1794
1794
|
findings: composition.greenChecks.map(
|
|
1795
1795
|
(f) =>
|
|
1796
1796
|
`${f.file}:${f.line} ${f.match}${f.hint ? ` → ${f.hint}` : ""}`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vegastack/design",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "VegaStack design system — cn utility, icon runtime, Tailwind v4 preset, and the vegastack-design CLI (tokens ship separately as @vegastack/design-tokens)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -394,8 +394,8 @@ contract.
|
|
|
394
394
|
- Use `Icon`/`BrandIcon` from `@vegastack/design/icons`, or `lucide-react` directly for internal
|
|
395
395
|
chrome.
|
|
396
396
|
- Implement every applicable state: default, hover, focus, loading, empty, error, success, disabled.
|
|
397
|
-
- Draw every check — done, selected, approved, allowed, uploaded — in
|
|
398
|
-
(`text-
|
|
397
|
+
- Draw every check — done, selected, approved, allowed, uploaded — in `primary`
|
|
398
|
+
(`text-primary`, or `StatusGlyph`), never green; in agent UI a status hue is a glyph or words,
|
|
399
399
|
never a fill, and a card is `ChatCard` only for something to act on or open (COL-25). The
|
|
400
400
|
doctor fails on a green check.
|
|
401
401
|
- In a chat, move on the chat motion set (`duration-quick|state|layout`, `ease-enter|exit`) and show
|