@verdify/tokens 0.6.0 → 0.7.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/dist/preset.css +5 -4
- package/dist/tokens.css +5 -4
- package/dist/tokens.d.ts +1 -0
- package/dist/tokens.js +41 -16
- package/dist/tokens.json +5 -4
- package/dist/tokens.mjs +5 -4
- package/package.json +23 -30
- package/src/tokens/color.tokens.json +5 -0
- package/src/tokens/component.tokens.json +4 -4
- package/src/tokens/print.tokens.json +11 -0
- package/src/tokens/verdify-print.ase +0 -0
- package/LICENSE +0 -12
package/dist/preset.css
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
--breakpoint-xl: 80rem;
|
|
11
11
|
--breakpoint-2xl: 96rem;
|
|
12
12
|
--color-brand-brand: #7c5cff;
|
|
13
|
+
--color-brand-brand-strong: #7053e5;
|
|
13
14
|
--color-brand-brand-deep: #5b3ee8;
|
|
14
15
|
--color-neutral-obsidian-300: #c8d0de;
|
|
15
16
|
--color-neutral-obsidian-400: #8a95a8;
|
|
@@ -50,9 +51,9 @@
|
|
|
50
51
|
--color-text-on-brand: #fbfcfe;
|
|
51
52
|
--color-scrim-light: rgba(11, 15, 25, 0.5);
|
|
52
53
|
--color-scrim-dark: rgba(6, 9, 18, 0.7);
|
|
53
|
-
--color-action-primary-bg: #
|
|
54
|
+
--color-action-primary-bg: #7053e5;
|
|
54
55
|
--color-action-primary-fg: #fbfcfe;
|
|
55
|
-
--color-action-primary-border: #
|
|
56
|
+
--color-action-primary-border: #7053e5;
|
|
56
57
|
--color-action-primary-bg-hover: #5b3ee8;
|
|
57
58
|
--color-action-primary-bg-active: #5b3ee8;
|
|
58
59
|
--color-action-secondary-bg: #e8ecf4;
|
|
@@ -61,9 +62,9 @@
|
|
|
61
62
|
--color-action-secondary-bg-hover: #d6dce8;
|
|
62
63
|
--color-action-ghost-fg: #0b0f19;
|
|
63
64
|
--color-action-ghost-bg-hover: #e8ecf4;
|
|
64
|
-
--color-action-destructive-bg: #
|
|
65
|
+
--color-action-destructive-bg: #be3939;
|
|
65
66
|
--color-action-destructive-fg: #fbfcfe;
|
|
66
|
-
--color-action-destructive-border: #
|
|
67
|
+
--color-action-destructive-border: #be3939;
|
|
67
68
|
--color-status-verified-fg: #007947;
|
|
68
69
|
--color-status-verified-bg: #e8ecf4;
|
|
69
70
|
--color-status-verified-border: #007947;
|
package/dist/tokens.css
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
--breakpoint-xl: 80rem; /** Extra large breakpoint (1280px) — desktops */
|
|
14
14
|
--breakpoint-2xl: 96rem; /** 2X large breakpoint (1536px) — wide desktops */
|
|
15
15
|
--color-brand-brand: #7c5cff; /** Sovereign Violet — the single brand anchor. Identity color; the logo seam and primary brand moments. Sits outside the traffic-light status register. */
|
|
16
|
+
--color-brand-brand-strong: #7053e5; /** AA-darkened companion to brand.brand — the action-primary fill where white text on #7C5CFF fails WCAG 2.2 AA (4.23:1); #7053E5 clears 5.04:1. Luminance shift only. */
|
|
16
17
|
--color-brand-brand-deep: #5b3ee8; /** Companion to brand.brand — used on light surfaces where #7C5CFF fails WCAG 2.2 non-text contrast (>=3:1). Luminance shift only. */
|
|
17
18
|
--color-neutral-obsidian-300: #c8d0de; /** Primary text on dark */
|
|
18
19
|
--color-neutral-obsidian-400: #8a95a8; /** Secondary text */
|
|
@@ -61,9 +62,9 @@
|
|
|
61
62
|
--color-text-on-brand: #fbfcfe; /** Text on brand backgrounds (e.g. CTA buttons). Constant per brand discipline. */
|
|
62
63
|
--color-scrim-light: rgba(11, 15, 25, 0.5); /** Modal/sheet backdrop on light surfaces — obsidian-900 at 50% opacity (per BR-2 spec §4). */
|
|
63
64
|
--color-scrim-dark: rgba(6, 9, 18, 0.7); /** Modal/sheet backdrop on dark surfaces — obsidian-950 at 70% opacity for stronger isolation. */
|
|
64
|
-
--color-action-primary-bg: #
|
|
65
|
+
--color-action-primary-bg: #7053e5; /** Primary action background — Sovereign Violet. The single high-emphasis CTA per surface. — AA-darkened (brand-strong, 5.04:1 with white). */
|
|
65
66
|
--color-action-primary-fg: #fbfcfe; /** Text/icon on a primary action. */
|
|
66
|
-
--color-action-primary-border: #
|
|
67
|
+
--color-action-primary-border: #7053e5; /** Primary action border — matches bg. — AA-darkened (brand-strong, 5.04:1 with white). */
|
|
67
68
|
--color-action-primary-bg-hover: #5b3ee8; /** Primary action hover — deep companion. */
|
|
68
69
|
--color-action-primary-bg-active: #5b3ee8; /** Primary action pressed/active. */
|
|
69
70
|
--color-action-secondary-bg: #e8ecf4; /** Secondary action background — neutral raised surface. */
|
|
@@ -72,9 +73,9 @@
|
|
|
72
73
|
--color-action-secondary-bg-hover: #d6dce8; /** Secondary action hover. */
|
|
73
74
|
--color-action-ghost-fg: #0b0f19; /** Ghost action text/icon — no fill until hover. */
|
|
74
75
|
--color-action-ghost-bg-hover: #e8ecf4; /** Ghost action hover fill. */
|
|
75
|
-
--color-action-destructive-bg: #
|
|
76
|
+
--color-action-destructive-bg: #be3939; /** Destructive action background — Critical. A status color used for a destructive control; never the brand. — AA-darkened (critical-strong, 5.34:1 with white). */
|
|
76
77
|
--color-action-destructive-fg: #fbfcfe; /** Text/icon on a destructive action. */
|
|
77
|
-
--color-action-destructive-border: #
|
|
78
|
+
--color-action-destructive-border: #be3939; /** Destructive action border. — AA-darkened (critical-strong, 5.34:1 with white). */
|
|
78
79
|
--color-status-verified-fg: #007947; /** Verified status foreground — Verified Green darkened to WCAG AA (#007947, ≥4.5:1 on the chip bg). The in-product success state; never the brand. */
|
|
79
80
|
--color-status-verified-bg: #e8ecf4; /** Verified status chip background — neutral; color carried by fg/border (restraint over volume). */
|
|
80
81
|
--color-status-verified-border: #007947; /** Verified status border — AA-dark shade (≥3:1 non-text). */
|
package/dist/tokens.d.ts
CHANGED
package/dist/tokens.js
CHANGED
|
@@ -196,6 +196,27 @@ module.exports = {
|
|
|
196
196
|
},
|
|
197
197
|
path: ["color", "brand", "brand"],
|
|
198
198
|
},
|
|
199
|
+
"brand-strong": {
|
|
200
|
+
$value: "#7053e5",
|
|
201
|
+
$type: "color",
|
|
202
|
+
$description:
|
|
203
|
+
"AA-darkened companion to brand.brand — the action-primary fill where white text on #7C5CFF fails WCAG 2.2 AA (4.23:1); #7053E5 clears 5.04:1. Luminance shift only.",
|
|
204
|
+
filePath: "src/tokens/color.tokens.json",
|
|
205
|
+
isSource: true,
|
|
206
|
+
original: {
|
|
207
|
+
$value: "#7053E5",
|
|
208
|
+
$type: "color",
|
|
209
|
+
$description:
|
|
210
|
+
"AA-darkened companion to brand.brand — the action-primary fill where white text on #7C5CFF fails WCAG 2.2 AA (4.23:1); #7053E5 clears 5.04:1. Luminance shift only.",
|
|
211
|
+
},
|
|
212
|
+
name: "ColorBrandBrandStrong",
|
|
213
|
+
attributes: {
|
|
214
|
+
category: "color",
|
|
215
|
+
type: "brand",
|
|
216
|
+
item: "brand-strong",
|
|
217
|
+
},
|
|
218
|
+
path: ["color", "brand", "brand-strong"],
|
|
219
|
+
},
|
|
199
220
|
"brand-deep": {
|
|
200
221
|
$value: "#5b3ee8",
|
|
201
222
|
$type: "color",
|
|
@@ -1202,17 +1223,17 @@ module.exports = {
|
|
|
1202
1223
|
action: {
|
|
1203
1224
|
primary: {
|
|
1204
1225
|
bg: {
|
|
1205
|
-
$value: "#
|
|
1226
|
+
$value: "#7053e5",
|
|
1206
1227
|
$type: "color",
|
|
1207
1228
|
$description:
|
|
1208
|
-
"Primary action background — Sovereign Violet. The single high-emphasis CTA per surface.",
|
|
1229
|
+
"Primary action background — Sovereign Violet. The single high-emphasis CTA per surface. — AA-darkened (brand-strong, 5.04:1 with white).",
|
|
1209
1230
|
filePath: "src/tokens/component.tokens.json",
|
|
1210
1231
|
isSource: true,
|
|
1211
1232
|
original: {
|
|
1212
|
-
$value: "{color.brand.brand}",
|
|
1233
|
+
$value: "{color.brand.brand-strong}",
|
|
1213
1234
|
$type: "color",
|
|
1214
1235
|
$description:
|
|
1215
|
-
"Primary action background — Sovereign Violet. The single high-emphasis CTA per surface.",
|
|
1236
|
+
"Primary action background — Sovereign Violet. The single high-emphasis CTA per surface. — AA-darkened (brand-strong, 5.04:1 with white).",
|
|
1216
1237
|
},
|
|
1217
1238
|
name: "ColorActionPrimaryBg",
|
|
1218
1239
|
attributes: {
|
|
@@ -1244,15 +1265,17 @@ module.exports = {
|
|
|
1244
1265
|
path: ["color", "action", "primary", "fg"],
|
|
1245
1266
|
},
|
|
1246
1267
|
border: {
|
|
1247
|
-
$value: "#
|
|
1268
|
+
$value: "#7053e5",
|
|
1248
1269
|
$type: "color",
|
|
1249
|
-
$description:
|
|
1270
|
+
$description:
|
|
1271
|
+
"Primary action border — matches bg. — AA-darkened (brand-strong, 5.04:1 with white).",
|
|
1250
1272
|
filePath: "src/tokens/component.tokens.json",
|
|
1251
1273
|
isSource: true,
|
|
1252
1274
|
original: {
|
|
1253
|
-
$value: "{color.brand.brand}",
|
|
1275
|
+
$value: "{color.brand.brand-strong}",
|
|
1254
1276
|
$type: "color",
|
|
1255
|
-
$description:
|
|
1277
|
+
$description:
|
|
1278
|
+
"Primary action border — matches bg. — AA-darkened (brand-strong, 5.04:1 with white).",
|
|
1256
1279
|
},
|
|
1257
1280
|
name: "ColorActionPrimaryBorder",
|
|
1258
1281
|
attributes: {
|
|
@@ -1431,17 +1454,17 @@ module.exports = {
|
|
|
1431
1454
|
},
|
|
1432
1455
|
destructive: {
|
|
1433
1456
|
bg: {
|
|
1434
|
-
$value: "#
|
|
1457
|
+
$value: "#be3939",
|
|
1435
1458
|
$type: "color",
|
|
1436
1459
|
$description:
|
|
1437
|
-
"Destructive action background — Critical. A status color used for a destructive control; never the brand.",
|
|
1460
|
+
"Destructive action background — Critical. A status color used for a destructive control; never the brand. — AA-darkened (critical-strong, 5.34:1 with white).",
|
|
1438
1461
|
filePath: "src/tokens/component.tokens.json",
|
|
1439
1462
|
isSource: true,
|
|
1440
1463
|
original: {
|
|
1441
|
-
$value: "{color.semantic.critical}",
|
|
1464
|
+
$value: "{color.semantic.critical-strong}",
|
|
1442
1465
|
$type: "color",
|
|
1443
1466
|
$description:
|
|
1444
|
-
"Destructive action background — Critical. A status color used for a destructive control; never the brand.",
|
|
1467
|
+
"Destructive action background — Critical. A status color used for a destructive control; never the brand. — AA-darkened (critical-strong, 5.34:1 with white).",
|
|
1445
1468
|
},
|
|
1446
1469
|
name: "ColorActionDestructiveBg",
|
|
1447
1470
|
attributes: {
|
|
@@ -1473,15 +1496,17 @@ module.exports = {
|
|
|
1473
1496
|
path: ["color", "action", "destructive", "fg"],
|
|
1474
1497
|
},
|
|
1475
1498
|
border: {
|
|
1476
|
-
$value: "#
|
|
1499
|
+
$value: "#be3939",
|
|
1477
1500
|
$type: "color",
|
|
1478
|
-
$description:
|
|
1501
|
+
$description:
|
|
1502
|
+
"Destructive action border. — AA-darkened (critical-strong, 5.34:1 with white).",
|
|
1479
1503
|
filePath: "src/tokens/component.tokens.json",
|
|
1480
1504
|
isSource: true,
|
|
1481
1505
|
original: {
|
|
1482
|
-
$value: "{color.semantic.critical}",
|
|
1506
|
+
$value: "{color.semantic.critical-strong}",
|
|
1483
1507
|
$type: "color",
|
|
1484
|
-
$description:
|
|
1508
|
+
$description:
|
|
1509
|
+
"Destructive action border. — AA-darkened (critical-strong, 5.34:1 with white).",
|
|
1485
1510
|
},
|
|
1486
1511
|
name: "ColorActionDestructiveBorder",
|
|
1487
1512
|
attributes: {
|
package/dist/tokens.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"BreakpointXl": "80rem",
|
|
10
10
|
"Breakpoint2xl": "96rem",
|
|
11
11
|
"ColorBrandBrand": "#7c5cff",
|
|
12
|
+
"ColorBrandBrandStrong": "#7053e5",
|
|
12
13
|
"ColorBrandBrandDeep": "#5b3ee8",
|
|
13
14
|
"ColorNeutralObsidian300": "#c8d0de",
|
|
14
15
|
"ColorNeutralObsidian400": "#8a95a8",
|
|
@@ -57,9 +58,9 @@
|
|
|
57
58
|
"ColorTextOnBrand": "#fbfcfe",
|
|
58
59
|
"ColorScrimLight": "#0b0f1980",
|
|
59
60
|
"ColorScrimDark": "#060912b3",
|
|
60
|
-
"ColorActionPrimaryBg": "#
|
|
61
|
+
"ColorActionPrimaryBg": "#7053e5",
|
|
61
62
|
"ColorActionPrimaryFg": "#fbfcfe",
|
|
62
|
-
"ColorActionPrimaryBorder": "#
|
|
63
|
+
"ColorActionPrimaryBorder": "#7053e5",
|
|
63
64
|
"ColorActionPrimaryBgHover": "#5b3ee8",
|
|
64
65
|
"ColorActionPrimaryBgActive": "#5b3ee8",
|
|
65
66
|
"ColorActionSecondaryBg": "#e8ecf4",
|
|
@@ -68,9 +69,9 @@
|
|
|
68
69
|
"ColorActionSecondaryBgHover": "#d6dce8",
|
|
69
70
|
"ColorActionGhostFg": "#0b0f19",
|
|
70
71
|
"ColorActionGhostBgHover": "#e8ecf4",
|
|
71
|
-
"ColorActionDestructiveBg": "#
|
|
72
|
+
"ColorActionDestructiveBg": "#be3939",
|
|
72
73
|
"ColorActionDestructiveFg": "#fbfcfe",
|
|
73
|
-
"ColorActionDestructiveBorder": "#
|
|
74
|
+
"ColorActionDestructiveBorder": "#be3939",
|
|
74
75
|
"ColorStatusVerifiedFg": "#007947",
|
|
75
76
|
"ColorStatusVerifiedBg": "#e8ecf4",
|
|
76
77
|
"ColorStatusVerifiedBorder": "#007947",
|
package/dist/tokens.mjs
CHANGED
|
@@ -12,6 +12,7 @@ export const BreakpointLg = "64rem"; // Large breakpoint (1024px) — tablets la
|
|
|
12
12
|
export const BreakpointXl = "80rem"; // Extra large breakpoint (1280px) — desktops
|
|
13
13
|
export const Breakpoint2xl = "96rem"; // 2X large breakpoint (1536px) — wide desktops
|
|
14
14
|
export const ColorBrandBrand = "#7c5cff"; // Sovereign Violet — the single brand anchor. Identity color; the logo seam and primary brand moments. Sits outside the traffic-light status register.
|
|
15
|
+
export const ColorBrandBrandStrong = "#7053e5"; // AA-darkened companion to brand.brand — the action-primary fill where white text on #7C5CFF fails WCAG 2.2 AA (4.23:1); #7053E5 clears 5.04:1. Luminance shift only.
|
|
15
16
|
export const ColorBrandBrandDeep = "#5b3ee8"; // Companion to brand.brand — used on light surfaces where #7C5CFF fails WCAG 2.2 non-text contrast (>=3:1). Luminance shift only.
|
|
16
17
|
export const ColorNeutralObsidian300 = "#c8d0de"; // Primary text on dark
|
|
17
18
|
export const ColorNeutralObsidian400 = "#8a95a8"; // Secondary text
|
|
@@ -60,9 +61,9 @@ export const ColorTextInverse = "#fbfcfe"; // Text on dark surfaces (e.g. obsidi
|
|
|
60
61
|
export const ColorTextOnBrand = "#fbfcfe"; // Text on brand backgrounds (e.g. CTA buttons). Constant per brand discipline.
|
|
61
62
|
export const ColorScrimLight = "#0b0f1980"; // Modal/sheet backdrop on light surfaces — obsidian-900 at 50% opacity (per BR-2 spec §4).
|
|
62
63
|
export const ColorScrimDark = "#060912b3"; // Modal/sheet backdrop on dark surfaces — obsidian-950 at 70% opacity for stronger isolation.
|
|
63
|
-
export const ColorActionPrimaryBg = "#
|
|
64
|
+
export const ColorActionPrimaryBg = "#7053e5"; // Primary action background — Sovereign Violet. The single high-emphasis CTA per surface. — AA-darkened (brand-strong, 5.04:1 with white).
|
|
64
65
|
export const ColorActionPrimaryFg = "#fbfcfe"; // Text/icon on a primary action.
|
|
65
|
-
export const ColorActionPrimaryBorder = "#
|
|
66
|
+
export const ColorActionPrimaryBorder = "#7053e5"; // Primary action border — matches bg. — AA-darkened (brand-strong, 5.04:1 with white).
|
|
66
67
|
export const ColorActionPrimaryBgHover = "#5b3ee8"; // Primary action hover — deep companion.
|
|
67
68
|
export const ColorActionPrimaryBgActive = "#5b3ee8"; // Primary action pressed/active.
|
|
68
69
|
export const ColorActionSecondaryBg = "#e8ecf4"; // Secondary action background — neutral raised surface.
|
|
@@ -71,9 +72,9 @@ export const ColorActionSecondaryBorder = "#b0baca"; // Secondary action border.
|
|
|
71
72
|
export const ColorActionSecondaryBgHover = "#d6dce8"; // Secondary action hover.
|
|
72
73
|
export const ColorActionGhostFg = "#0b0f19"; // Ghost action text/icon — no fill until hover.
|
|
73
74
|
export const ColorActionGhostBgHover = "#e8ecf4"; // Ghost action hover fill.
|
|
74
|
-
export const ColorActionDestructiveBg = "#
|
|
75
|
+
export const ColorActionDestructiveBg = "#be3939"; // Destructive action background — Critical. A status color used for a destructive control; never the brand. — AA-darkened (critical-strong, 5.34:1 with white).
|
|
75
76
|
export const ColorActionDestructiveFg = "#fbfcfe"; // Text/icon on a destructive action.
|
|
76
|
-
export const ColorActionDestructiveBorder = "#
|
|
77
|
+
export const ColorActionDestructiveBorder = "#be3939"; // Destructive action border. — AA-darkened (critical-strong, 5.34:1 with white).
|
|
77
78
|
export const ColorStatusVerifiedFg = "#007947"; // Verified status foreground — Verified Green darkened to WCAG AA (#007947, ≥4.5:1 on the chip bg). The in-product success state; never the brand.
|
|
78
79
|
export const ColorStatusVerifiedBg = "#e8ecf4"; // Verified status chip background — neutral; color carried by fg/border (restraint over volume).
|
|
79
80
|
export const ColorStatusVerifiedBorder = "#007947"; // Verified status border — AA-dark shade (≥3:1 non-text).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdify/tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Verdify design tokens — W3C DTCG sources with Tailwind v4 preset, CSS vars, JS/TS, and raw JSON outputs",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -13,36 +13,29 @@
|
|
|
13
13
|
"directory": "packages/tokens"
|
|
14
14
|
},
|
|
15
15
|
"exports": {
|
|
16
|
-
".":
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"./
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
16
|
+
".": { "import": "./dist/tokens.mjs", "require": "./dist/tokens.js", "types": "./dist/tokens.d.ts" },
|
|
17
|
+
"./css": "./dist/tokens.css",
|
|
18
|
+
"./preset": "./dist/preset.css",
|
|
19
|
+
"./preset-adaptive": "./dist/preset-adaptive.css",
|
|
20
|
+
"./json": "./dist/tokens.json",
|
|
21
|
+
"./tokens/*": "./src/tokens/*"
|
|
22
|
+
},
|
|
23
|
+
"files": ["dist/", "src/tokens/", "README.md"],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"sync": "tsx scripts/sync-color.ts",
|
|
26
|
+
"sync:print": "tsx scripts/sync-print.ts",
|
|
27
|
+
"build:ase": "tsx scripts/build-ase.ts",
|
|
28
|
+
"validate": "tsx scripts/validate.ts",
|
|
29
|
+
"build": "pnpm run sync && pnpm run sync:print && pnpm run build:ase && pnpm run validate && tsx scripts/build.ts",
|
|
30
|
+
"verify": "pnpm run build && git diff --exit-code src/ ../ui_flutter/lib/src/theme/",
|
|
31
|
+
"test": "tsx scripts/test.ts",
|
|
32
|
+
"prepublishOnly": "pnpm run build"
|
|
26
33
|
},
|
|
27
|
-
"files": [
|
|
28
|
-
"dist/",
|
|
29
|
-
"src/tokens/",
|
|
30
|
-
"README.md"
|
|
31
|
-
],
|
|
32
34
|
"devDependencies": {
|
|
33
35
|
"style-dictionary": "^4.0.0",
|
|
34
|
-
"tsx":
|
|
35
|
-
"typescript":
|
|
36
|
-
"ajv":
|
|
37
|
-
"@types/node":
|
|
38
|
-
},
|
|
39
|
-
"scripts": {
|
|
40
|
-
"sync": "tsx scripts/sync-color.ts",
|
|
41
|
-
"sync:print": "tsx scripts/sync-print.ts",
|
|
42
|
-
"build:ase": "tsx scripts/build-ase.ts",
|
|
43
|
-
"validate": "tsx scripts/validate.ts",
|
|
44
|
-
"build": "pnpm run sync && pnpm run sync:print && pnpm run build:ase && pnpm run validate && tsx scripts/build.ts",
|
|
45
|
-
"verify": "pnpm run build && git diff --exit-code src/",
|
|
46
|
-
"test": "tsx scripts/test.ts"
|
|
36
|
+
"tsx": "^4.7.0",
|
|
37
|
+
"typescript": "^5.4.0",
|
|
38
|
+
"ajv": "^8.12.0",
|
|
39
|
+
"@types/node": "^20.0.0"
|
|
47
40
|
}
|
|
48
|
-
}
|
|
41
|
+
}
|
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
"$type": "color",
|
|
7
7
|
"$description": "Sovereign Violet — the single brand anchor. Identity color; the logo seam and primary brand moments. Sits outside the traffic-light status register."
|
|
8
8
|
},
|
|
9
|
+
"brand-strong": {
|
|
10
|
+
"$value": "#7053E5",
|
|
11
|
+
"$type": "color",
|
|
12
|
+
"$description": "AA-darkened companion to brand.brand — the action-primary fill where white text on #7C5CFF fails WCAG 2.2 AA (4.23:1); #7053E5 clears 5.04:1. Luminance shift only."
|
|
13
|
+
},
|
|
9
14
|
"brand-deep": {
|
|
10
15
|
"$value": "#5B3EE8",
|
|
11
16
|
"$type": "color",
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"color": {
|
|
3
3
|
"action": {
|
|
4
4
|
"primary": {
|
|
5
|
-
"bg": { "$value": "{color.brand.brand}", "$type": "color", "$description": "Primary action background — Sovereign Violet. The single high-emphasis CTA per surface." },
|
|
5
|
+
"bg": { "$value": "{color.brand.brand-strong}", "$type": "color", "$description": "Primary action background — Sovereign Violet. The single high-emphasis CTA per surface. — AA-darkened (brand-strong, 5.04:1 with white)." },
|
|
6
6
|
"fg": { "$value": "{color.text.on-brand}", "$type": "color", "$description": "Text/icon on a primary action." },
|
|
7
|
-
"border": { "$value": "{color.brand.brand}", "$type": "color", "$description": "Primary action border — matches bg." },
|
|
7
|
+
"border": { "$value": "{color.brand.brand-strong}", "$type": "color", "$description": "Primary action border — matches bg. — AA-darkened (brand-strong, 5.04:1 with white)." },
|
|
8
8
|
"bg-hover": { "$value": "{color.brand.brand-deep}", "$type": "color", "$description": "Primary action hover — deep companion." },
|
|
9
9
|
"bg-active": { "$value": "{color.brand.brand-deep}", "$type": "color", "$description": "Primary action pressed/active." }
|
|
10
10
|
},
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"bg-hover": { "$value": "{color.surface.raised}", "$type": "color", "$description": "Ghost action hover fill." }
|
|
20
20
|
},
|
|
21
21
|
"destructive": {
|
|
22
|
-
"bg": { "$value": "{color.semantic.critical}", "$type": "color", "$description": "Destructive action background — Critical. A status color used for a destructive control; never the brand." },
|
|
22
|
+
"bg": { "$value": "{color.semantic.critical-strong}", "$type": "color", "$description": "Destructive action background — Critical. A status color used for a destructive control; never the brand. — AA-darkened (critical-strong, 5.34:1 with white)." },
|
|
23
23
|
"fg": { "$value": "{color.text.on-brand}", "$type": "color", "$description": "Text/icon on a destructive action." },
|
|
24
|
-
"border": { "$value": "{color.semantic.critical}", "$type": "color", "$description": "Destructive action border." }
|
|
24
|
+
"border": { "$value": "{color.semantic.critical-strong}", "$type": "color", "$description": "Destructive action border. — AA-darkened (critical-strong, 5.34:1 with white)." }
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"status": {
|
|
@@ -13,6 +13,17 @@
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
|
+
"brand-strong": {
|
|
17
|
+
"$value": "#7053E5",
|
|
18
|
+
"$type": "color",
|
|
19
|
+
"$description": "AA-darkened companion to brand.brand — the action-primary fill where white text on #7C5CFF fails WCAG 2.2 AA (4.23:1); #7053E5 clears 5.04:1. Luminance shift only.",
|
|
20
|
+
"$extensions": {
|
|
21
|
+
"com.verdify.print": {
|
|
22
|
+
"cmyk": "51,64,0,10",
|
|
23
|
+
"pantone": "PANTONE 2725 C"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
16
27
|
"brand-deep": {
|
|
17
28
|
"$value": "#5B3EE8",
|
|
18
29
|
"$type": "color",
|
|
Binary file
|
package/LICENSE
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2026 Verdify.
|
|
2
|
-
|
|
3
|
-
All rights reserved.
|
|
4
|
-
|
|
5
|
-
This repository contains confidential and proprietary architecture documentation
|
|
6
|
-
for the Verdify ecosystem (Verdify, Spare, Veraq). It is shared with employees,
|
|
7
|
-
contractors, and authorized partners under the terms of their respective
|
|
8
|
-
agreements. No license — express or implied — is granted to copy, distribute,
|
|
9
|
-
or create derivative works outside those agreements.
|
|
10
|
-
|
|
11
|
-
Replace this file with the organization's chosen license before any public or
|
|
12
|
-
open-source release of any portion of the ecosystem.
|