@code-sherpas/pharos-tokens 0.5.0 → 0.6.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/index.js +25 -16
- package/dist/styles.css +105 -98
- package/dist/tokens.d.ts +112 -91
- package/dist/tokens.js +105 -98
- package/dist/tokens.json +25 -16
- package/package.json +2 -1
- package/src/color.tokens.json +77 -77
- package/src/radius.tokens.json +24 -8
- package/src/shadow.tokens.json +113 -18
- package/src/spacing.tokens.json +61 -17
package/dist/tokens.json
CHANGED
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
"black": "oklch(0% 0 0)"
|
|
6
6
|
},
|
|
7
7
|
"neutral": {
|
|
8
|
-
"50": "oklch(97.91% 0
|
|
9
|
-
"100": "oklch(97.02% 0
|
|
10
|
-
"200": "oklch(95.21% 0
|
|
11
|
-
"300": "oklch(88.82% 0.
|
|
12
|
-
"400": "oklch(81.09% 0
|
|
13
|
-
"500": "oklch(52.78% 0
|
|
14
|
-
"600": "oklch(35.62% 0
|
|
15
|
-
"700": "oklch(29.52% 0.
|
|
16
|
-
"800": "oklch(
|
|
8
|
+
"50": "oklch(97.91% 0.003 248.83)",
|
|
9
|
+
"100": "oklch(97.02% 0.004 248.83)",
|
|
10
|
+
"200": "oklch(95.21% 0.005 248.83)",
|
|
11
|
+
"300": "oklch(88.82% 0.007 248.83)",
|
|
12
|
+
"400": "oklch(81.09% 0.01 248.83)",
|
|
13
|
+
"500": "oklch(52.78% 0.016 248.83)",
|
|
14
|
+
"600": "oklch(35.62% 0.019 248.83)",
|
|
15
|
+
"700": "oklch(29.52% 0.02 248.83)",
|
|
16
|
+
"800": "oklch(24.5% 0.02 248.83)",
|
|
17
17
|
"900": "oklch(20.50% 0.02 248.83)",
|
|
18
|
-
"950": "oklch(14.69% 0.0225
|
|
18
|
+
"950": "oklch(14.69% 0.0225 248.83)"
|
|
19
19
|
},
|
|
20
20
|
"primary": {
|
|
21
21
|
"50": "oklch(95.94% 0.0164 274.82)",
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
},
|
|
32
32
|
"semantic": {
|
|
33
33
|
"success": {
|
|
34
|
-
"fg": "oklch(52% 0.
|
|
35
|
-
"bg": "oklch(52% 0.
|
|
34
|
+
"fg": "oklch(52% 0.136 152)",
|
|
35
|
+
"bg": "oklch(52% 0.136 152 / 0.063)",
|
|
36
36
|
"on": "oklch(100% 0 0)"
|
|
37
37
|
},
|
|
38
38
|
"error": {
|
|
39
39
|
"fg": "oklch(54% 0.22 27.48)",
|
|
40
|
-
"fg-hover": "oklch(47% 0.
|
|
41
|
-
"fg-active": "oklch(40% 0.
|
|
40
|
+
"fg-hover": "oklch(47% 0.191 27.48)",
|
|
41
|
+
"fg-active": "oklch(40% 0.162 27.48)",
|
|
42
42
|
"bg": "oklch(54% 0.22 27.48 / 0.063)",
|
|
43
43
|
"on": "oklch(100% 0 0)"
|
|
44
44
|
},
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"on": "oklch(20.50% 0.02 248.83)"
|
|
49
49
|
},
|
|
50
50
|
"info": {
|
|
51
|
-
"fg": "oklch(52% 0.
|
|
52
|
-
"bg": "oklch(52% 0.
|
|
51
|
+
"fg": "oklch(52% 0.133 246)",
|
|
52
|
+
"bg": "oklch(52% 0.133 246 / 0.063)",
|
|
53
53
|
"on": "oklch(100% 0 0)"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
@@ -106,6 +106,15 @@
|
|
|
106
106
|
"lg": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
|
|
107
107
|
"xl": "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"
|
|
108
108
|
},
|
|
109
|
+
"zIndex": {
|
|
110
|
+
"base": "0",
|
|
111
|
+
"sticky": "1100",
|
|
112
|
+
"overlay": "1300",
|
|
113
|
+
"modal": "1400",
|
|
114
|
+
"popover": "1500",
|
|
115
|
+
"toast": "1700",
|
|
116
|
+
"tooltip": "1800"
|
|
117
|
+
},
|
|
109
118
|
"z": {
|
|
110
119
|
"0": "0",
|
|
111
120
|
"header": "1000",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-sherpas/pharos-tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Design tokens de Code Sherpas — agnóstico de framework. DTCG + Style Dictionary + OKLCH.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"culori": "^4.0.1",
|
|
45
45
|
"eslint": "^10.2.1",
|
|
46
46
|
"eslint-config-prettier": "^10.1.8",
|
|
47
|
+
"eslint-plugin-regexp": "^3.3.1",
|
|
47
48
|
"husky": "^9.1.7",
|
|
48
49
|
"lint-staged": "^17.0.5",
|
|
49
50
|
"prettier": "^3.4.2",
|
package/src/color.tokens.json
CHANGED
|
@@ -4,200 +4,200 @@
|
|
|
4
4
|
"white": {
|
|
5
5
|
"$value": "oklch(100% 0 0)",
|
|
6
6
|
"$type": "color",
|
|
7
|
-
"$description": "Pure white.
|
|
7
|
+
"$description": "Pure white. Cards, panels, sheets and popovers (via surface-card); text and icons on dark and semantic fills."
|
|
8
8
|
},
|
|
9
9
|
"black": {
|
|
10
10
|
"$value": "oklch(0% 0 0)",
|
|
11
11
|
"$type": "color",
|
|
12
|
-
"$description": "Pure black
|
|
12
|
+
"$description": "Pure black base value."
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"neutral": {
|
|
16
16
|
"50": {
|
|
17
|
-
"$value": "oklch(97.91% 0
|
|
17
|
+
"$value": "oklch(97.91% 0.003 248.83)",
|
|
18
18
|
"$type": "color",
|
|
19
|
-
"$description": "
|
|
19
|
+
"$description": "Ink ramp (tints of navy). The light steps 50–400 are disabled / low-emphasis ink: reach for paper-* (fills) or rule-* (lines) first. The Pharos-faithful components still use 50/100/200 for hover and press bands (un-migrated)."
|
|
20
20
|
},
|
|
21
21
|
"100": {
|
|
22
|
-
"$value": "oklch(97.02% 0
|
|
22
|
+
"$value": "oklch(97.02% 0.004 248.83)",
|
|
23
23
|
"$type": "color",
|
|
24
|
-
"$description": "
|
|
24
|
+
"$description": "Ink ramp (tints of navy). The light steps 50–400 are disabled / low-emphasis ink: reach for paper-* (fills) or rule-* (lines) first. The Pharos-faithful components still use 50/100/200 for hover and press bands (un-migrated)."
|
|
25
25
|
},
|
|
26
26
|
"200": {
|
|
27
|
-
"$value": "oklch(95.21% 0
|
|
27
|
+
"$value": "oklch(95.21% 0.005 248.83)",
|
|
28
28
|
"$type": "color",
|
|
29
|
-
"$description": "
|
|
29
|
+
"$description": "Ink ramp (tints of navy). The light steps 50–400 are disabled / low-emphasis ink: reach for paper-* (fills) or rule-* (lines) first. The Pharos-faithful components still use 50/100/200 for hover and press bands (un-migrated)."
|
|
30
30
|
},
|
|
31
31
|
"300": {
|
|
32
|
-
"$value": "oklch(88.82% 0.
|
|
32
|
+
"$value": "oklch(88.82% 0.007 248.83)",
|
|
33
33
|
"$type": "color",
|
|
34
|
-
"$description": "
|
|
34
|
+
"$description": "Ink ramp (tints of navy). The light steps 50–400 are disabled / low-emphasis ink: reach for paper-* (fills) or rule-* (lines) first. The Pharos-faithful components still use 50/100/200 for hover and press bands (un-migrated)."
|
|
35
35
|
},
|
|
36
36
|
"400": {
|
|
37
|
-
"$value": "oklch(81.09% 0
|
|
37
|
+
"$value": "oklch(81.09% 0.01 248.83)",
|
|
38
38
|
"$type": "color",
|
|
39
|
-
"$description": "
|
|
39
|
+
"$description": "Ink ramp (tints of navy). The light steps 50–400 are disabled / low-emphasis ink: reach for paper-* (fills) or rule-* (lines) first. The Pharos-faithful components still use 50/100/200 for hover and press bands (un-migrated)."
|
|
40
40
|
},
|
|
41
41
|
"500": {
|
|
42
|
-
"$value": "oklch(52.78% 0
|
|
42
|
+
"$value": "oklch(52.78% 0.016 248.83)",
|
|
43
43
|
"$type": "color",
|
|
44
|
-
"$description": "
|
|
44
|
+
"$description": "Ink: de-emphasised text on the warm ground and on white; the 1px border of interactive controls (Input, secondary Button, outline Badge, Select, Combobox), clearing WCAG 3:1 non-text contrast."
|
|
45
45
|
},
|
|
46
46
|
"600": {
|
|
47
|
-
"$value": "oklch(35.62% 0
|
|
47
|
+
"$value": "oklch(35.62% 0.019 248.83)",
|
|
48
48
|
"$type": "color",
|
|
49
|
-
"$description": "
|
|
49
|
+
"$description": "Ink: secondary body text on paper-* and white."
|
|
50
50
|
},
|
|
51
51
|
"700": {
|
|
52
|
-
"$value": "oklch(29.52% 0.
|
|
52
|
+
"$value": "oklch(29.52% 0.02 248.83)",
|
|
53
53
|
"$type": "color",
|
|
54
|
-
"$description": "
|
|
54
|
+
"$description": "Ink: labels and captions on paper-* and white; hover of the primary Button."
|
|
55
55
|
},
|
|
56
56
|
"800": {
|
|
57
|
-
"$value": "oklch(
|
|
57
|
+
"$value": "oklch(24.5% 0.02 248.83)",
|
|
58
58
|
"$type": "color",
|
|
59
|
-
"$description": "
|
|
59
|
+
"$description": "Ink ramp step between 700 and 900 (fixed: no longer lighter than 700)."
|
|
60
60
|
},
|
|
61
61
|
"900": {
|
|
62
62
|
"$value": "oklch(20.50% 0.02 248.83)",
|
|
63
63
|
"$type": "color",
|
|
64
|
-
"$description": "
|
|
64
|
+
"$description": "Brand navy #101820. Primary text, icons and headlines on paper-* and white; the primary Button fill."
|
|
65
65
|
},
|
|
66
66
|
"950": {
|
|
67
|
-
"$value": "oklch(14.69% 0.0225
|
|
67
|
+
"$value": "oklch(14.69% 0.0225 248.83)",
|
|
68
68
|
"$type": "color",
|
|
69
|
-
"$description": "Deepest
|
|
69
|
+
"$description": "Deepest ink; press state of the primary Button."
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"primary": {
|
|
73
73
|
"50": {
|
|
74
74
|
"$value": "oklch(95.94% 0.0164 274.82)",
|
|
75
75
|
"$type": "color",
|
|
76
|
-
"$description": "
|
|
76
|
+
"$description": "Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome."
|
|
77
77
|
},
|
|
78
78
|
"100": {
|
|
79
79
|
"$value": "oklch(91.35% 0.0374 275.69)",
|
|
80
80
|
"$type": "color",
|
|
81
|
-
"$description": "
|
|
81
|
+
"$description": "Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome."
|
|
82
82
|
},
|
|
83
83
|
"200": {
|
|
84
84
|
"$value": "oklch(82.70% 0.0785 274.99)",
|
|
85
85
|
"$type": "color",
|
|
86
|
-
"$description": "
|
|
86
|
+
"$description": "Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome."
|
|
87
87
|
},
|
|
88
88
|
"300": {
|
|
89
89
|
"$value": "oklch(74.07% 0.1205 273.68)",
|
|
90
90
|
"$type": "color",
|
|
91
|
-
"$description": "
|
|
91
|
+
"$description": "Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome."
|
|
92
92
|
},
|
|
93
93
|
"400": {
|
|
94
94
|
"$value": "oklch(65.40% 0.1582 271.71)",
|
|
95
95
|
"$type": "color",
|
|
96
|
-
"$description": "
|
|
96
|
+
"$description": "Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome."
|
|
97
97
|
},
|
|
98
98
|
"500": {
|
|
99
99
|
"$value": "oklch(57.34% 0.1996 269.61)",
|
|
100
100
|
"$type": "color",
|
|
101
|
-
"$description": "
|
|
101
|
+
"$description": "Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome."
|
|
102
102
|
},
|
|
103
103
|
"600": {
|
|
104
104
|
"$value": "oklch(49.83% 0.2417 267.34)",
|
|
105
105
|
"$type": "color",
|
|
106
|
-
"$description": "
|
|
106
|
+
"$description": "Seablue, the brand hue (≈ #2A48E9). The one blue anchor per view: action, focus ring (2px white halo + 4px primary-600), selection, links, AI/copilot."
|
|
107
107
|
},
|
|
108
108
|
"700": {
|
|
109
109
|
"$value": "oklch(42.19% 0.2111 267.20)",
|
|
110
110
|
"$type": "color",
|
|
111
|
-
"$description": "
|
|
111
|
+
"$description": "Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome."
|
|
112
112
|
},
|
|
113
113
|
"800": {
|
|
114
114
|
"$value": "oklch(34.32% 0.1726 267.54)",
|
|
115
115
|
"$type": "color",
|
|
116
|
-
"$description": "
|
|
116
|
+
"$description": "Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome."
|
|
117
117
|
},
|
|
118
118
|
"900": {
|
|
119
119
|
"$value": "oklch(25.97% 0.1317 268.18)",
|
|
120
120
|
"$type": "color",
|
|
121
|
-
"$description": "
|
|
121
|
+
"$description": "Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome."
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
"semantic": {
|
|
125
125
|
"success": {
|
|
126
126
|
"fg": {
|
|
127
|
-
"$value": "oklch(52% 0.
|
|
127
|
+
"$value": "oklch(52% 0.136 152)",
|
|
128
128
|
"$type": "color",
|
|
129
|
-
"$description": "
|
|
129
|
+
"$description": "System state only: success fill and success text colour; pair with semantic-success-on on the fill (WCAG AA). #027E3F — chroma clamped to the sRGB gamut edge."
|
|
130
130
|
},
|
|
131
131
|
"bg": {
|
|
132
|
-
"$value": "oklch(52% 0.
|
|
132
|
+
"$value": "oklch(52% 0.136 152 / 0.063)",
|
|
133
133
|
"$type": "color",
|
|
134
|
-
"$description": "
|
|
134
|
+
"$description": "System state only: tinted success background (fg at 6.3%)."
|
|
135
135
|
},
|
|
136
136
|
"on": {
|
|
137
137
|
"$value": "{color.base.white}",
|
|
138
138
|
"$type": "color",
|
|
139
|
-
"$description": "
|
|
139
|
+
"$description": "Text and icons on a semantic-success-fg fill."
|
|
140
140
|
}
|
|
141
141
|
},
|
|
142
142
|
"error": {
|
|
143
143
|
"fg": {
|
|
144
144
|
"$value": "oklch(54% 0.22 27.48)",
|
|
145
145
|
"$type": "color",
|
|
146
|
-
"$description": "
|
|
146
|
+
"$description": "System state only: error fill and error text colour; pair with semantic-error-on on the fill (WCAG AA). Single red (laser-red merged); also the destructive Button fill and its focus ring."
|
|
147
147
|
},
|
|
148
148
|
"fg-hover": {
|
|
149
|
-
"$value": "oklch(47% 0.
|
|
149
|
+
"$value": "oklch(47% 0.191 27.48)",
|
|
150
150
|
"$type": "color",
|
|
151
|
-
"$description": "
|
|
151
|
+
"$description": "Hover of an error / destructive fill. #AD020E."
|
|
152
152
|
},
|
|
153
153
|
"fg-active": {
|
|
154
|
-
"$value": "oklch(40% 0.
|
|
154
|
+
"$value": "oklch(40% 0.162 27.48)",
|
|
155
155
|
"$type": "color",
|
|
156
|
-
"$description": "
|
|
156
|
+
"$description": "Press of an error / destructive fill. #8A0209."
|
|
157
157
|
},
|
|
158
158
|
"bg": {
|
|
159
159
|
"$value": "oklch(54% 0.22 27.48 / 0.063)",
|
|
160
160
|
"$type": "color",
|
|
161
|
-
"$description": "
|
|
161
|
+
"$description": "System state only: tinted error background (fg at 6.3%)."
|
|
162
162
|
},
|
|
163
163
|
"on": {
|
|
164
164
|
"$value": "{color.base.white}",
|
|
165
165
|
"$type": "color",
|
|
166
|
-
"$description": "
|
|
166
|
+
"$description": "Text and icons on a semantic-error-fg fill."
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
169
|
"warning": {
|
|
170
170
|
"fg": {
|
|
171
171
|
"$value": "oklch(77.77% 0.1588 90.66)",
|
|
172
172
|
"$type": "color",
|
|
173
|
-
"$description": "
|
|
173
|
+
"$description": "System state only: warning fill and warning text colour; pair with semantic-warning-on on the fill (WCAG AA)."
|
|
174
174
|
},
|
|
175
175
|
"bg": {
|
|
176
176
|
"$value": "oklch(77.77% 0.1588 90.66 / 0.063)",
|
|
177
177
|
"$type": "color",
|
|
178
|
-
"$description": "
|
|
178
|
+
"$description": "System state only: tinted warning background (fg at 6.3%)."
|
|
179
179
|
},
|
|
180
180
|
"on": {
|
|
181
181
|
"$value": "{color.neutral.900}",
|
|
182
182
|
"$type": "color",
|
|
183
|
-
"$description": "
|
|
183
|
+
"$description": "Dark text on a semantic-warning-fg (amber) fill."
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
186
|
"info": {
|
|
187
187
|
"fg": {
|
|
188
|
-
"$value": "oklch(52% 0.
|
|
188
|
+
"$value": "oklch(52% 0.133 246)",
|
|
189
189
|
"$type": "color",
|
|
190
|
-
"$description": "
|
|
190
|
+
"$description": "System state only: info fill and info text colour; pair with semantic-info-on on the fill (WCAG AA). #026DB0 — chroma clamped to the sRGB gamut edge."
|
|
191
191
|
},
|
|
192
192
|
"bg": {
|
|
193
|
-
"$value": "oklch(52% 0.
|
|
193
|
+
"$value": "oklch(52% 0.133 246 / 0.063)",
|
|
194
194
|
"$type": "color",
|
|
195
|
-
"$description": "
|
|
195
|
+
"$description": "System state only: tinted info background (fg at 6.3%)."
|
|
196
196
|
},
|
|
197
197
|
"on": {
|
|
198
198
|
"$value": "{color.base.white}",
|
|
199
199
|
"$type": "color",
|
|
200
|
-
"$description": "
|
|
200
|
+
"$description": "Text and icons on a semantic-info-fg fill."
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
},
|
|
@@ -205,63 +205,63 @@
|
|
|
205
205
|
"50": {
|
|
206
206
|
"$value": "oklch(99.4% 0.003 70)",
|
|
207
207
|
"$type": "color",
|
|
208
|
-
"$description": "
|
|
208
|
+
"$description": "Warm paper #FEFDFB — all but white, a spark of warmth. Fill: hover rows, zebra banding, the faintest lift off white (surface-sunken). Never a border."
|
|
209
209
|
},
|
|
210
210
|
"100": {
|
|
211
211
|
"$value": "oklch(98.5% 0.009 70)",
|
|
212
212
|
"$type": "color",
|
|
213
|
-
"$description": "
|
|
213
|
+
"$description": "Warm paper #FEF9F4 — the app canvas, the page itself (surface-canvas). Never a border."
|
|
214
214
|
},
|
|
215
215
|
"200": {
|
|
216
216
|
"$value": "oklch(96.5% 0.010 70)",
|
|
217
217
|
"$type": "color",
|
|
218
|
-
"$description": "
|
|
218
|
+
"$description": "Warm paper #F8F2EC — light fills on the canvas: chips, tracks, step circles, inputs. Never a border."
|
|
219
219
|
},
|
|
220
220
|
"300": {
|
|
221
221
|
"$value": "oklch(93.5% 0.010 70)",
|
|
222
222
|
"$type": "color",
|
|
223
|
-
"$description": "
|
|
223
|
+
"$description": "Warm paper #EEE8E2 — stronger fill: disabled surfaces, switch off-track. Never a border."
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
226
|
"rule": {
|
|
227
227
|
"subtle": {
|
|
228
228
|
"$value": "oklch(91.5% 0.008 248.83)",
|
|
229
229
|
"$type": "color",
|
|
230
|
-
"$description": "
|
|
230
|
+
"$description": "Line #DFE3E8 (ink family): default divider, card border — on white and on the warm ground."
|
|
231
231
|
},
|
|
232
232
|
"strong": {
|
|
233
233
|
"$value": "oklch(85.5% 0.012 248.83)",
|
|
234
234
|
"$type": "color",
|
|
235
|
-
"$description": "
|
|
235
|
+
"$description": "Line #C9D0D7 (ink family): emphatic rule, dashed placeholder."
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
238
|
"surface": {
|
|
239
239
|
"canvas": {
|
|
240
240
|
"$value": "{color.paper.100}",
|
|
241
241
|
"$type": "color",
|
|
242
|
-
"$description": "
|
|
242
|
+
"$description": "Page / app background (→ paper-100). Prefer the semantic aliases in new work."
|
|
243
243
|
},
|
|
244
244
|
"card": {
|
|
245
245
|
"$value": "{color.base.white}",
|
|
246
246
|
"$type": "color",
|
|
247
|
-
"$description": "
|
|
247
|
+
"$description": "Cards, panels, sheets, popovers (→ base-white)."
|
|
248
248
|
},
|
|
249
249
|
"sunken": {
|
|
250
250
|
"$value": "{color.paper.50}",
|
|
251
251
|
"$type": "color",
|
|
252
|
-
"$description": "
|
|
252
|
+
"$description": "Hover rows, subtle bands (→ paper-50)."
|
|
253
253
|
}
|
|
254
254
|
},
|
|
255
255
|
"border": {
|
|
256
256
|
"subtle": {
|
|
257
257
|
"$value": "{color.rule.subtle}",
|
|
258
258
|
"$type": "color",
|
|
259
|
-
"$description": "
|
|
259
|
+
"$description": "Card borders, dividers, rules (→ rule-subtle)."
|
|
260
260
|
},
|
|
261
261
|
"strong": {
|
|
262
262
|
"$value": "{color.rule.strong}",
|
|
263
263
|
"$type": "color",
|
|
264
|
-
"$description": "
|
|
264
|
+
"$description": "Emphatic rules, dashed placeholders (→ rule-strong)."
|
|
265
265
|
}
|
|
266
266
|
},
|
|
267
267
|
"accent": {
|
|
@@ -269,67 +269,67 @@
|
|
|
269
269
|
"50": {
|
|
270
270
|
"$value": "oklch(96.50% 0.0160 42.5)",
|
|
271
271
|
"$type": "color",
|
|
272
|
-
"$description": "Tint
|
|
272
|
+
"$description": "Tint surfaces and soft badges (#FEF0EB); bg of a warm tint block (text 900) or a tag (text 700)."
|
|
273
273
|
},
|
|
274
274
|
"100": {
|
|
275
275
|
"$value": "oklch(93.00% 0.0350 42.5)",
|
|
276
276
|
"$type": "color",
|
|
277
|
-
"$description": "
|
|
277
|
+
"$description": "Terracotta tint #FDE1D6: tag and chip fills when many show at once."
|
|
278
278
|
},
|
|
279
279
|
"200": {
|
|
280
280
|
"$value": "oklch(87.00% 0.0620 42.5)",
|
|
281
281
|
"$type": "color",
|
|
282
|
-
"$description": "
|
|
282
|
+
"$description": "Subtle terracotta borders and rules; low end of chart ramps (#F9C8B5)."
|
|
283
283
|
},
|
|
284
284
|
"300": {
|
|
285
285
|
"$value": "oklch(79.00% 0.0950 42.5)",
|
|
286
286
|
"$type": "color",
|
|
287
|
-
"$description": "
|
|
287
|
+
"$description": "Chart ramp step (#EFA78A)."
|
|
288
288
|
},
|
|
289
289
|
"400": {
|
|
290
290
|
"$value": "oklch(70.00% 0.1220 42.5)",
|
|
291
291
|
"$type": "color",
|
|
292
|
-
"$description": "
|
|
292
|
+
"$description": "Terracotta ramp step (#DD835F)."
|
|
293
293
|
},
|
|
294
294
|
"500": {
|
|
295
295
|
"$value": "oklch(65.00% 0.1320 42.5)",
|
|
296
296
|
"$type": "color",
|
|
297
|
-
"$description": "
|
|
297
|
+
"$description": "Chart ramp step (#D1714A)."
|
|
298
298
|
},
|
|
299
299
|
"600": {
|
|
300
300
|
"$value": "oklch(60.75% 0.1358 42.5)",
|
|
301
301
|
"$type": "color",
|
|
302
|
-
"$description": "
|
|
302
|
+
"$description": "BASE — the brand terracotta #C4633A. Solid fills with no small text (bars, blocks, ≥18.66px bold / ≥24px), emphatic rules. 4.04:1 on white either way: large text only. Never a control, focus ring, link or state."
|
|
303
303
|
},
|
|
304
304
|
"700": {
|
|
305
305
|
"$value": "oklch(51.60% 0.1261 40.7)",
|
|
306
306
|
"$type": "color",
|
|
307
|
-
"$description": "
|
|
307
|
+
"$description": "Terracotta ink #A24A28: accent text on white (5.92:1, AA); solid marks carrying small white text; hover of a 600 fill."
|
|
308
308
|
},
|
|
309
309
|
"800": {
|
|
310
310
|
"$value": "oklch(42.00% 0.1020 42.5)",
|
|
311
311
|
"$type": "color",
|
|
312
|
-
"$description": "
|
|
312
|
+
"$description": "Press step of a terracotta fill (#79371A)."
|
|
313
313
|
},
|
|
314
314
|
"900": {
|
|
315
315
|
"$value": "oklch(33.00% 0.0770 42.5)",
|
|
316
316
|
"$type": "color",
|
|
317
|
-
"$description": "
|
|
317
|
+
"$description": "Deep text on a terracotta tint (#552612)."
|
|
318
318
|
},
|
|
319
319
|
"fg": {
|
|
320
320
|
"$value": "{color.accent.terracotta.700}",
|
|
321
321
|
"$type": "color",
|
|
322
|
-
"$description": "
|
|
322
|
+
"$description": "Accessible ink for warm-accent blocks on white (→ terracotta-700)."
|
|
323
323
|
},
|
|
324
324
|
"bg": {
|
|
325
325
|
"$value": "{color.accent.terracotta.50}",
|
|
326
326
|
"$type": "color",
|
|
327
|
-
"$description": "
|
|
327
|
+
"$description": "Tint surface for warm-accent blocks on white (→ terracotta-50)."
|
|
328
328
|
},
|
|
329
329
|
"on": {
|
|
330
330
|
"$value": "{color.base.white}",
|
|
331
331
|
"$type": "color",
|
|
332
|
-
"$description": "
|
|
332
|
+
"$description": "Text on a solid terracotta mark (use on 700 for small text)."
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
}
|
package/src/radius.tokens.json
CHANGED
|
@@ -1,28 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"radius": {
|
|
3
|
-
"none": {
|
|
4
|
-
|
|
3
|
+
"none": {
|
|
4
|
+
"$value": "0",
|
|
5
|
+
"$type": "dimension",
|
|
6
|
+
"$description": "Square corners."
|
|
7
|
+
},
|
|
8
|
+
"sm": {
|
|
9
|
+
"$value": "0.125rem",
|
|
10
|
+
"$type": "dimension",
|
|
11
|
+
"$description": "2px — small marks, code chips."
|
|
12
|
+
},
|
|
5
13
|
"md": {
|
|
6
14
|
"$value": "0.375rem",
|
|
7
15
|
"$type": "dimension",
|
|
8
|
-
"$description": "6px
|
|
16
|
+
"$description": "6px — default control rounding."
|
|
17
|
+
},
|
|
18
|
+
"lg": {
|
|
19
|
+
"$value": "0.5rem",
|
|
20
|
+
"$type": "dimension",
|
|
21
|
+
"$description": "8px — swatches, inner panels."
|
|
22
|
+
},
|
|
23
|
+
"xl": {
|
|
24
|
+
"$value": "0.75rem",
|
|
25
|
+
"$type": "dimension",
|
|
26
|
+
"$description": "12px."
|
|
9
27
|
},
|
|
10
|
-
"lg": { "$value": "0.5rem", "$type": "dimension", "$description": "8px." },
|
|
11
|
-
"xl": { "$value": "0.75rem", "$type": "dimension", "$description": "12px." },
|
|
12
28
|
"2xl": {
|
|
13
29
|
"$value": "1rem",
|
|
14
30
|
"$type": "dimension",
|
|
15
|
-
"$description": "16px
|
|
31
|
+
"$description": "16px — default card rounding."
|
|
16
32
|
},
|
|
17
33
|
"3xl": {
|
|
18
34
|
"$value": "1.5rem",
|
|
19
35
|
"$type": "dimension",
|
|
20
|
-
"$description": "24px
|
|
36
|
+
"$description": "24px — large surface rounding."
|
|
21
37
|
},
|
|
22
38
|
"full": {
|
|
23
39
|
"$value": "9999px",
|
|
24
40
|
"$type": "dimension",
|
|
25
|
-
"$description": "
|
|
41
|
+
"$description": "Pills, avatars, icon buttons, buttons."
|
|
26
42
|
}
|
|
27
43
|
}
|
|
28
44
|
}
|