@wickermoney/ui-kit 0.1.0-rc.4 → 0.1.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/tokens.css +56 -6
- package/package.json +1 -1
package/dist/tokens.css
CHANGED
|
@@ -12,12 +12,44 @@
|
|
|
12
12
|
--wm-border: #dfe3e9;
|
|
13
13
|
--wm-text: #16191d;
|
|
14
14
|
--wm-text-muted: #5b6472;
|
|
15
|
-
--wm-accent: #
|
|
15
|
+
--wm-accent: #2e500d;
|
|
16
16
|
--wm-accent-text: #ffffff;
|
|
17
|
-
--wm-positive: #
|
|
17
|
+
--wm-positive: #0c7e65;
|
|
18
18
|
--wm-negative: #c0392b;
|
|
19
19
|
--wm-warning: #b7791f;
|
|
20
20
|
|
|
21
|
+
/*
|
|
22
|
+
* Chart palette. Categorical slots are assigned in this fixed order and
|
|
23
|
+
* never cycled; a series past the last slot folds into --wm-chart-other.
|
|
24
|
+
* Slot 1 is the brand green (the logo's olive, one step brighter so it
|
|
25
|
+
* clears the chroma floor); slots 1 and 2 are green and amber so a
|
|
26
|
+
* two-series chart gets the pair that separates under colour-blindness.
|
|
27
|
+
*
|
|
28
|
+
* Validated with the dataviz skill's palette validator against
|
|
29
|
+
* --wm-chart-surface in each mode (adjacent pairs, OKLab ΔE×100): worst
|
|
30
|
+
* CVD 12.0 light / 10.2 dark (target 8), worst normal-vision 20.8 / 19.8
|
|
31
|
+
* (floor 15). The first three slots also pass all-pairs.
|
|
32
|
+
*
|
|
33
|
+
* Relief rule: slot 2 (amber) sits below 3:1 against the light surface,
|
|
34
|
+
* and --wm-chart-other is deliberately recessive (below 3:1 in both
|
|
35
|
+
* modes). Every chart using them must carry a visible label and value in
|
|
36
|
+
* text ink (legend row, filter chip or direct label) — identity is never
|
|
37
|
+
* colour alone. See documents/brand/brand-guide.md.
|
|
38
|
+
*/
|
|
39
|
+
--wm-chart-1: #40731a; /* green */
|
|
40
|
+
--wm-chart-2: #d49824; /* amber */
|
|
41
|
+
--wm-chart-3: #8166c3; /* violet */
|
|
42
|
+
--wm-chart-4: #d97c50; /* clay */
|
|
43
|
+
--wm-chart-5: #2971c6; /* blue */
|
|
44
|
+
--wm-chart-6: #98397e; /* plum */
|
|
45
|
+
--wm-chart-other: #bcbab6; /* warm grey, from the cream mark */
|
|
46
|
+
--wm-chart-grid: #e3e6ea;
|
|
47
|
+
/* Chart chrome follows the app's own surface and text tokens, so it
|
|
48
|
+
switches with them and cannot drift. */
|
|
49
|
+
--wm-chart-surface: var(--wm-surface);
|
|
50
|
+
--wm-chart-ink: var(--wm-text);
|
|
51
|
+
--wm-chart-ink-muted: var(--wm-text-muted);
|
|
52
|
+
|
|
21
53
|
--wm-radius: 10px;
|
|
22
54
|
--wm-radius-sm: 6px;
|
|
23
55
|
--wm-gap: 16px;
|
|
@@ -41,10 +73,19 @@
|
|
|
41
73
|
--wm-border: #2b323c;
|
|
42
74
|
--wm-text: #e8eaed;
|
|
43
75
|
--wm-text-muted: #9aa4b2;
|
|
44
|
-
--wm-accent: #
|
|
45
|
-
--wm-
|
|
76
|
+
--wm-accent: #a9d173;
|
|
77
|
+
--wm-accent-text: #0c301c;
|
|
78
|
+
--wm-positive: #29a987;
|
|
46
79
|
--wm-negative: #e5736a;
|
|
47
80
|
--wm-warning: #e0a84a;
|
|
81
|
+
--wm-chart-1: #43761e;
|
|
82
|
+
--wm-chart-2: #bf881e;
|
|
83
|
+
--wm-chart-3: #927ad2;
|
|
84
|
+
--wm-chart-4: #d4774c;
|
|
85
|
+
--wm-chart-5: #4081d2;
|
|
86
|
+
--wm-chart-6: #b54d98;
|
|
87
|
+
--wm-chart-other: #4e4d49;
|
|
88
|
+
--wm-chart-grid: #2b323c;
|
|
48
89
|
--wm-shadow: 0 1px 2px rgb(0 0 0 / 40%);
|
|
49
90
|
}
|
|
50
91
|
}
|
|
@@ -57,10 +98,19 @@
|
|
|
57
98
|
--wm-border: #2b323c;
|
|
58
99
|
--wm-text: #e8eaed;
|
|
59
100
|
--wm-text-muted: #9aa4b2;
|
|
60
|
-
--wm-accent: #
|
|
61
|
-
--wm-
|
|
101
|
+
--wm-accent: #a9d173;
|
|
102
|
+
--wm-accent-text: #0c301c;
|
|
103
|
+
--wm-positive: #29a987;
|
|
62
104
|
--wm-negative: #e5736a;
|
|
63
105
|
--wm-warning: #e0a84a;
|
|
106
|
+
--wm-chart-1: #43761e;
|
|
107
|
+
--wm-chart-2: #bf881e;
|
|
108
|
+
--wm-chart-3: #927ad2;
|
|
109
|
+
--wm-chart-4: #d4774c;
|
|
110
|
+
--wm-chart-5: #4081d2;
|
|
111
|
+
--wm-chart-6: #b54d98;
|
|
112
|
+
--wm-chart-other: #4e4d49;
|
|
113
|
+
--wm-chart-grid: #2b323c;
|
|
64
114
|
--wm-shadow: 0 1px 2px rgb(0 0 0 / 40%);
|
|
65
115
|
}
|
|
66
116
|
|