@appdirect/ad-design-tokens 0.0.0-stage → 0.0.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.
@@ -0,0 +1,222 @@
1
+ # Generated by scripts/build-tokens.mjs
2
+ # Source: resolved core + semantic light + component light tokens
3
+ version: "alpha"
4
+ name: "AppDirect Admin"
5
+ description: "Design tokens for AppDirect admin-facing web UIs built on Mantine 9. Sourced from @appdirect/ad-design-tokens — CSS variables are the authoritative runtime values."
6
+ colors:
7
+ primary: "#326FDE"
8
+ primary-hover: "#1c7ed6"
9
+ primary-active: "#1971c2"
10
+ on-primary: "#f8f9fa"
11
+ secondary: "#15aabf"
12
+ secondary-hover: "#1098ad"
13
+ on-secondary: "#000000"
14
+ navy: "#011B58"
15
+ surface: "#ffffff"
16
+ surface-subtle: "#f1f3f5"
17
+ surface-muted: "#e9ecef"
18
+ surface-tinted: "#f1f3f5"
19
+ surface-control: "#dee2e6"
20
+ on-surface: "#000000"
21
+ on-surface-dimmed: "#495057"
22
+ on-surface-placeholder: "#adb5bd"
23
+ text-link: "#326FDE"
24
+ text-inverse: "#f8f9fa"
25
+ border: "#ced4da"
26
+ border-subtle: "#e9ecef"
27
+ border-strong: "#868e96"
28
+ border-primary: "#326FDE"
29
+ info: "#326FDE"
30
+ on-info: "#ffffff"
31
+ success: "#40c057"
32
+ on-success: "#ffffff"
33
+ pending: "#fab005"
34
+ warning: "#fab005"
35
+ on-warning: "#000000"
36
+ danger: "#fa5252"
37
+ on-danger: "#ffffff"
38
+ disabled: "#e9ecef"
39
+ disabled-text: "#adb5bd"
40
+ disabled-border: "#dee2e6"
41
+ neutral-0: "#f8f9fa"
42
+ neutral-9: "#2e2e2e"
43
+ typography:
44
+ h1:
45
+ fontFamily: "Inter"
46
+ fontSize: "34px"
47
+ fontWeight: "700"
48
+ lineHeight: "1.3"
49
+ h2:
50
+ fontFamily: "Inter"
51
+ fontSize: "26px"
52
+ fontWeight: "700"
53
+ lineHeight: "1.35"
54
+ h3:
55
+ fontFamily: "Inter"
56
+ fontSize: "22px"
57
+ fontWeight: "700"
58
+ lineHeight: "1.4"
59
+ h4:
60
+ fontFamily: "Inter"
61
+ fontSize: "18px"
62
+ fontWeight: "700"
63
+ lineHeight: "1.45"
64
+ h5:
65
+ fontFamily: "Inter"
66
+ fontSize: "16px"
67
+ fontWeight: "700"
68
+ lineHeight: "1.5"
69
+ h6:
70
+ fontFamily: "Inter"
71
+ fontSize: "14px"
72
+ fontWeight: "700"
73
+ lineHeight: "1.5"
74
+ body-lg:
75
+ fontFamily: "Inter"
76
+ fontSize: "18px"
77
+ fontWeight: "400"
78
+ lineHeight: "1.6"
79
+ body-md:
80
+ fontFamily: "Inter"
81
+ fontSize: "16px"
82
+ fontWeight: "400"
83
+ lineHeight: "1.55"
84
+ body-sm:
85
+ fontFamily: "Inter"
86
+ fontSize: "14px"
87
+ fontWeight: "400"
88
+ lineHeight: "1.45"
89
+ label-md:
90
+ fontFamily: "Inter"
91
+ fontSize: "14px"
92
+ fontWeight: "600"
93
+ lineHeight: "1"
94
+ label-sm:
95
+ fontFamily: "Inter"
96
+ fontSize: "12px"
97
+ fontWeight: "600"
98
+ lineHeight: "1"
99
+ code:
100
+ fontFamily: "Roboto Mono"
101
+ fontSize: "14px"
102
+ fontWeight: "400"
103
+ lineHeight: "1.4"
104
+ icon-sizes:
105
+ xs: "12px"
106
+ sm: "14px"
107
+ md: "16px"
108
+ lg: "18px"
109
+ xl: "20px"
110
+ rounded:
111
+ none: "0px"
112
+ xs: "2px"
113
+ sm: "4px"
114
+ md: "8px"
115
+ lg: "16px"
116
+ xl: "32px"
117
+ full: "9999px"
118
+ spacing:
119
+ xxs: "4px"
120
+ xs: "10px"
121
+ sm: "12px"
122
+ md: "16px"
123
+ lg: "20px"
124
+ xl: "32px"
125
+ sizing:
126
+ xs: "24px"
127
+ sm: "30px"
128
+ md: "36px"
129
+ lg: "42px"
130
+ xl: "50px"
131
+ shadows:
132
+ xs: "0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 1px 2px 0px rgba(0, 0, 0, 0.1)"
133
+ sm: "0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 10px 15px -5px rgba(0, 0, 0, 0.05), 0px 7px 7px -5px rgba(0, 0, 0, 0.04)"
134
+ md: "0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 20px 25px -5px rgba(0, 0, 0, 0.05), 0px 10px 10px -5px rgba(0, 0, 0, 0.04)"
135
+ lg: "0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 28px 23px -7px rgba(0, 0, 0, 0.05), 0px 12px 12px -7px rgba(0, 0, 0, 0.04)"
136
+ xl: "0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 36px 28px -7px rgba(0, 0, 0, 0.05), 0px 17px 17px -7px rgba(0, 0, 0, 0.04)"
137
+ z-index:
138
+ app: "100"
139
+ modal: "200"
140
+ popover: "300"
141
+ overlay: "400"
142
+ max: "9999"
143
+ components:
144
+ button-primary:
145
+ backgroundColor: "{colors.primary}"
146
+ textColor: "{colors.on-primary}"
147
+ rounded: "{rounded.sm}"
148
+ typography: "{typography.label-md}"
149
+ button-primary-hover:
150
+ backgroundColor: "{colors.primary-hover}"
151
+ button-primary-active:
152
+ backgroundColor: "{colors.primary-active}"
153
+ button-secondary:
154
+ backgroundColor: "{colors.secondary}"
155
+ textColor: "{colors.on-secondary}"
156
+ rounded: "{rounded.sm}"
157
+ typography: "{typography.label-md}"
158
+ button-default:
159
+ backgroundColor: "{colors.surface}"
160
+ textColor: "{colors.on-surface}"
161
+ border: "{colors.border}"
162
+ rounded: "{rounded.sm}"
163
+ typography: "{typography.label-md}"
164
+ button-outline:
165
+ backgroundColor: "{colors.surface}"
166
+ textColor: "{colors.primary}"
167
+ border: "{colors.primary}"
168
+ rounded: "{rounded.sm}"
169
+ typography: "{typography.label-md}"
170
+ button-danger:
171
+ backgroundColor: "{colors.danger}"
172
+ textColor: "{colors.on-danger}"
173
+ rounded: "{rounded.sm}"
174
+ typography: "{typography.label-md}"
175
+ button-link:
176
+ backgroundColor: "transparent"
177
+ textColor: "{colors.text-link}"
178
+ rounded: "{rounded.sm}"
179
+ typography: "{typography.label-md}"
180
+ button-secret:
181
+ backgroundColor: "transparent"
182
+ textColor: "{colors.on-surface}"
183
+ rounded: "{rounded.sm}"
184
+ typography: "{typography.label-md}"
185
+ input-default:
186
+ backgroundColor: "{colors.surface}"
187
+ textColor: "{colors.on-surface}"
188
+ border: "{colors.border}"
189
+ rounded: "{rounded.sm}"
190
+ typography: "{typography.body-sm}"
191
+ input-focus:
192
+ border: "{colors.border-primary}"
193
+ badge-info:
194
+ backgroundColor: "{colors.info}"
195
+ textColor: "{colors.on-info}"
196
+ rounded: "{rounded.sm}"
197
+ typography: "{typography.label-sm}"
198
+ badge-success:
199
+ backgroundColor: "{colors.success}"
200
+ textColor: "{colors.on-success}"
201
+ rounded: "{rounded.sm}"
202
+ typography: "{typography.label-sm}"
203
+ badge-pending:
204
+ backgroundColor: "{colors.pending}"
205
+ textColor: "{colors.on-warning}"
206
+ rounded: "{rounded.sm}"
207
+ typography: "{typography.label-sm}"
208
+ badge-warning:
209
+ backgroundColor: "{colors.warning}"
210
+ textColor: "{colors.on-warning}"
211
+ rounded: "{rounded.sm}"
212
+ typography: "{typography.label-sm}"
213
+ badge-danger:
214
+ backgroundColor: "{colors.danger}"
215
+ textColor: "{colors.on-danger}"
216
+ rounded: "{rounded.sm}"
217
+ typography: "{typography.label-sm}"
218
+ tooltip:
219
+ backgroundColor: "{colors.neutral-9}"
220
+ textColor: "{colors.neutral-0}"
221
+ rounded: "{rounded.sm}"
222
+ typography: "{typography.body-sm}"
@@ -0,0 +1,28 @@
1
+ [
2
+ {
3
+ "id": "light",
4
+ "name": "Light",
5
+ "selectedTokenSets": {
6
+ "open-color": "enabled",
7
+ "brand-palettes-appdirect": "enabled",
8
+ "core": "enabled",
9
+ "derived": "enabled",
10
+ "semantic.light": "enabled",
11
+ "semantic-brand.appdirect": "enabled",
12
+ "components.light": "enabled"
13
+ }
14
+ },
15
+ {
16
+ "id": "dark",
17
+ "name": "Dark",
18
+ "selectedTokenSets": {
19
+ "open-color": "enabled",
20
+ "brand-palettes-appdirect": "enabled",
21
+ "core": "enabled",
22
+ "derived": "enabled",
23
+ "semantic.dark": "enabled",
24
+ "semantic-brand.appdirect": "enabled",
25
+ "components.dark": "enabled"
26
+ }
27
+ }
28
+ ]
@@ -0,0 +1,314 @@
1
+ {
2
+ "gradients": {
3
+ "1": {
4
+ "$type": "string",
5
+ "$value": "linear-gradient(to bottom, {navy.core}, {sky.core})"
6
+ },
7
+ "2": {
8
+ "$type": "string",
9
+ "$value": "linear-gradient(to bottom, {navy.core}, {royal.core}, {sky.core})"
10
+ },
11
+ "3": {
12
+ "$type": "string",
13
+ "$value": "linear-gradient(to bottom, {navy.core}, {royal.core})"
14
+ },
15
+ "4": {
16
+ "$type": "string",
17
+ "$value": "linear-gradient(to bottom, {sky.core}, {navy.core})"
18
+ },
19
+ "5": {
20
+ "$type": "string",
21
+ "$value": "linear-gradient(to bottom, {navy.core}, {cloud.core})"
22
+ },
23
+ "6": {
24
+ "$type": "string",
25
+ "$value": "linear-gradient(to bottom, {forest.core}, {sky.core})"
26
+ },
27
+ "7": {
28
+ "$type": "string",
29
+ "$value": "linear-gradient(to bottom, {sky.core}, {cloud.core})"
30
+ },
31
+ "8": {
32
+ "$type": "string",
33
+ "$value": "linear-gradient(to bottom, {mint.core}, {cloud.core})"
34
+ }
35
+ },
36
+ "navy": {
37
+ "shade3": {
38
+ "$type": "color",
39
+ "$value": "#000000"
40
+ },
41
+ "shade2": {
42
+ "$type": "color",
43
+ "$value": "#010622"
44
+ },
45
+ "shade1": {
46
+ "$type": "color",
47
+ "$value": "#020B3B"
48
+ },
49
+ "core": {
50
+ "$type": "color",
51
+ "$value": "#011B58"
52
+ },
53
+ "tint1": {
54
+ "$type": "color",
55
+ "$value": "#29346D"
56
+ },
57
+ "tint2": {
58
+ "$type": "color",
59
+ "$value": "#4F5888"
60
+ },
61
+ "tint3": {
62
+ "$type": "color",
63
+ "$value": "#757CA1"
64
+ }
65
+ },
66
+ "sky": {
67
+ "shade3": {
68
+ "$type": "color",
69
+ "$value": "#80ADBF"
70
+ },
71
+ "shade2": {
72
+ "$type": "color",
73
+ "$value": "#92C5D9"
74
+ },
75
+ "shade1": {
76
+ "$type": "color",
77
+ "$value": "#A2DBF2"
78
+ },
79
+ "core": {
80
+ "$type": "color",
81
+ "$value": "#ABE7FF"
82
+ },
83
+ "tint1": {
84
+ "$type": "color",
85
+ "$value": "#C0EDFF"
86
+ },
87
+ "tint2": {
88
+ "$type": "color",
89
+ "$value": "#CDF1FF"
90
+ },
91
+ "tint3": {
92
+ "$type": "color",
93
+ "$value": "#DDF5FF"
94
+ }
95
+ },
96
+ "cloud": {
97
+ "shade3": {
98
+ "$type": "color",
99
+ "$value": "#58595A"
100
+ },
101
+ "shade2": {
102
+ "$type": "color",
103
+ "$value": "#A8A8A8"
104
+ },
105
+ "shade1": {
106
+ "$type": "color",
107
+ "$value": "#DDDDDD"
108
+ },
109
+ "core": {
110
+ "$type": "color",
111
+ "$value": "#F0F0F0"
112
+ },
113
+ "tint1": {
114
+ "$type": "color",
115
+ "$value": "#F5F5F5"
116
+ },
117
+ "tint2": {
118
+ "$type": "color",
119
+ "$value": "#F8F8F8"
120
+ },
121
+ "tint3": {
122
+ "$type": "color",
123
+ "$value": "#FFFFFF"
124
+ }
125
+ },
126
+ "black": {
127
+ "$type": "color",
128
+ "$value": "#000000"
129
+ },
130
+ "white": {
131
+ "$type": "color",
132
+ "$value": "#FFFFFF"
133
+ },
134
+ "royal": {
135
+ "shade3": {
136
+ "$type": "color",
137
+ "$value": "#011B58"
138
+ },
139
+ "shade2": {
140
+ "$type": "color",
141
+ "$value": "#04197F"
142
+ },
143
+ "shade1": {
144
+ "$type": "color",
145
+ "$value": "#041F9E"
146
+ },
147
+ "core": {
148
+ "$type": "color",
149
+ "$value": "#0629D3"
150
+ },
151
+ "tint1": {
152
+ "$type": "color",
153
+ "$value": "#2B49DA"
154
+ },
155
+ "tint2": {
156
+ "$type": "color",
157
+ "$value": "#516AE0"
158
+ },
159
+ "tint3": {
160
+ "$type": "color",
161
+ "$value": "#768AE7"
162
+ }
163
+ },
164
+ "mint": {
165
+ "shade3": {
166
+ "$type": "color",
167
+ "$value": "#9ABEA3"
168
+ },
169
+ "shade2": {
170
+ "$type": "color",
171
+ "$value": "#A4CAAE"
172
+ },
173
+ "shade1": {
174
+ "$type": "color",
175
+ "$value": "#BDE9C9"
176
+ },
177
+ "core": {
178
+ "$type": "color",
179
+ "$value": "#CDFDDA"
180
+ },
181
+ "tint1": {
182
+ "$type": "color",
183
+ "$value": "#DAFEE3"
184
+ },
185
+ "tint2": {
186
+ "$type": "color",
187
+ "$value": "#E4FEEB"
188
+ },
189
+ "tint3": {
190
+ "$type": "color",
191
+ "$value": "#EEFEF2"
192
+ }
193
+ },
194
+ "forest": {
195
+ "shade3": {
196
+ "$type": "color",
197
+ "$value": "#001D10"
198
+ },
199
+ "shade2": {
200
+ "$type": "color",
201
+ "$value": "#012C19"
202
+ },
203
+ "shade1": {
204
+ "$type": "color",
205
+ "$value": "#013A21"
206
+ },
207
+ "core": {
208
+ "$type": "color",
209
+ "$value": "#014929"
210
+ },
211
+ "tint1": {
212
+ "$type": "color",
213
+ "$value": "#1B5C3F"
214
+ },
215
+ "tint2": {
216
+ "$type": "color",
217
+ "$value": "#346D54"
218
+ },
219
+ "tint3": {
220
+ "$type": "color",
221
+ "$value": "#4E806A"
222
+ }
223
+ },
224
+ "coral": {
225
+ "shade3": {
226
+ "$type": "color",
227
+ "$value": "#A93B3F"
228
+ },
229
+ "shade2": {
230
+ "$type": "color",
231
+ "$value": "#C24448"
232
+ },
233
+ "shade1": {
234
+ "$type": "color",
235
+ "$value": "#D94C51"
236
+ },
237
+ "core": {
238
+ "$type": "color",
239
+ "$value": "#F2555A"
240
+ },
241
+ "tint1": {
242
+ "$type": "color",
243
+ "$value": "#F46E73"
244
+ },
245
+ "tint2": {
246
+ "$type": "color",
247
+ "$value": "#F6888C"
248
+ },
249
+ "tint3": {
250
+ "$type": "color",
251
+ "$value": "#F8A2A4"
252
+ }
253
+ },
254
+ "marigold": {
255
+ "shade3": {
256
+ "$type": "color",
257
+ "$value": "#B27000"
258
+ },
259
+ "shade2": {
260
+ "$type": "color",
261
+ "$value": "#CC8000"
262
+ },
263
+ "shade1": {
264
+ "$type": "color",
265
+ "$value": "#E59000"
266
+ },
267
+ "core": {
268
+ "$type": "color",
269
+ "$value": "#FFA000"
270
+ },
271
+ "tint1": {
272
+ "$type": "color",
273
+ "$value": "#FFB333"
274
+ },
275
+ "tint2": {
276
+ "$type": "color",
277
+ "$value": "#FFC666"
278
+ },
279
+ "tint3": {
280
+ "$type": "color",
281
+ "$value": "#FFD48C"
282
+ }
283
+ },
284
+ "purple": {
285
+ "shade3": {
286
+ "$type": "color",
287
+ "$value": "#210F42"
288
+ },
289
+ "shade2": {
290
+ "$type": "color",
291
+ "$value": "#321763"
292
+ },
293
+ "shade1": {
294
+ "$type": "color",
295
+ "$value": "#421E84"
296
+ },
297
+ "core": {
298
+ "$type": "color",
299
+ "$value": "#5326A5"
300
+ },
301
+ "tint1": {
302
+ "$type": "color",
303
+ "$value": "#6D46B2"
304
+ },
305
+ "tint2": {
306
+ "$type": "color",
307
+ "$value": "#8768C0"
308
+ },
309
+ "tint3": {
310
+ "$type": "color",
311
+ "$value": "#A188CE"
312
+ }
313
+ }
314
+ }