@mrcaktuz/sds-tokens 0.0.0-stage → 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.
@@ -0,0 +1,169 @@
1
+ // AUTO-GENERATED by @mrcaktuz/sds-tokens — DO NOT EDIT
2
+
3
+ $prefix: 'sds';
4
+
5
+ $colors: (
6
+ 'gray': ('white': #ffffff, 'lightest': #f5f4f4, 'lighter': #e3e3e3, 'light': #cacaca, 'default': #9a9a9a, 'dark': #696969, 'darker': #202020, 'darkest': #141414),
7
+ 'brand': ('lightest': #e4f0ff, 'lighter': #99c5ff, 'light': #004baf, 'default': #003781, 'dark': #00316f, 'darker': #002a5c, 'darkest': #001633),
8
+ 'success': ('lightest': #ebfaf1, 'lighter': #b2ddc8, 'light': #4eb184, 'default': #3a8362, 'dark': #327155, 'darker': #295b44, 'darkest': #1c3b2e),
9
+ 'warning': ('lightest': #fff2e8, 'lighter': #fdd2a0, 'light': #fdb35e, 'default': #ff832b, 'dark': #bd5b00, 'darker': #7a3e03, 'darkest': #361b00),
10
+ 'danger': ('lightest': #fff1f1, 'lighter': #f09e9e, 'light': #e35656, 'default': #d32222, 'dark': #a10505, 'darker': #730202, 'darkest': #440101),
11
+ 'visited': ('lightest': #f8e9fc, 'lighter': #ecc2f7, 'light': #d575eb, 'default': #c029df, 'dark': #8a17a1, 'darker': #6d127e, 'darkest': #310839),
12
+ );
13
+
14
+ $spacers: (
15
+ '0': 0,
16
+ '2': 0.125rem,
17
+ '4': 0.25rem,
18
+ '8': 0.5rem,
19
+ '12': 0.75rem,
20
+ '16': 1rem,
21
+ '20': 1.25rem,
22
+ '24': 1.5rem,
23
+ '28': 1.75rem,
24
+ '32': 2rem,
25
+ '36': 2.25rem,
26
+ '40': 2.5rem,
27
+ '44': 2.75rem,
28
+ '48': 3rem,
29
+ '52': 3.25rem,
30
+ '56': 3.5rem,
31
+ '60': 3.75rem,
32
+ '64': 4rem,
33
+ '68': 4.25rem,
34
+ '72': 4.5rem,
35
+ '76': 4.75rem,
36
+ '80': 5rem,
37
+ '84': 5.25rem,
38
+ '88': 5.5rem,
39
+ '92': 5.75rem,
40
+ '96': 6rem,
41
+ '100': 6.25rem,
42
+ '104': 6.5rem,
43
+ '108': 6.75rem,
44
+ '112': 7rem,
45
+ '116': 7.25rem,
46
+ '120': 7.5rem,
47
+ '124': 7.75rem,
48
+ '128': 8rem,
49
+ '132': 8.25rem,
50
+ '136': 8.5rem,
51
+ '140': 8.75rem,
52
+ '144': 9rem,
53
+ '148': 9.25rem,
54
+ '152': 9.5rem,
55
+ '156': 9.75rem,
56
+ '160': 10rem,
57
+ );
58
+
59
+ $font-sizes: (
60
+ '0': 0,
61
+ 'sm': 0.75rem,
62
+ 'md': 0.875rem,
63
+ 'lg': 1rem,
64
+ 'big': 1.125rem,
65
+ 'hero': 1.5rem,
66
+ );
67
+
68
+ $font-weights: (
69
+ 'light': 300,
70
+ 'regular': 400,
71
+ 'semibold': 600,
72
+ 'bold': 800,
73
+ );
74
+
75
+ $font-families: (
76
+ 'sans': ('Open Sans', sans-serif),
77
+ );
78
+
79
+ $radius: (
80
+ '0': 0,
81
+ 'btn': 0.25rem,
82
+ 'input': 0.25rem,
83
+ 'card': 0.5rem,
84
+ 'pill': 6.25rem,
85
+ 'round': 50%,
86
+ );
87
+
88
+ $border-widths: (
89
+ '0': 0,
90
+ '1': 0.0625rem,
91
+ '2': 0.125rem,
92
+ '3': 0.1875rem,
93
+ );
94
+
95
+ $transitions: (
96
+ 'default': all 300ms ease-in-out,
97
+ 'chevron-rotate': transform 300ms ease-in-out 75ms,
98
+ );
99
+
100
+ $bg-theme: (
101
+ 'content': ('light': #ffffff, 'dark': #141414),
102
+ 'gray-soft': ('light': #f5f4f4, 'dark': #202020),
103
+ 'gray': ('light': #cacaca, 'dark': #202020),
104
+ 'gray-hover': ('light': #cacaca, 'dark': #141414),
105
+ 'gray-strong': ('light': #202020, 'dark': #9a9a9a),
106
+ 'overlay': ('light': rgba(20, 20, 20, 0.2), 'dark': rgba(20, 20, 20, 0.2)),
107
+ 'brand': ('light': #003781, 'dark': #004baf),
108
+ 'brand-hover': ('light': #004baf, 'dark': #003781),
109
+ 'brand-soft': ('light': #e4f0ff, 'dark': #002a5c),
110
+ 'success': ('light': #3a8362, 'dark': #3a8362),
111
+ 'success-hover': ('light': #4eb184, 'dark': #4eb184),
112
+ 'success-soft': ('light': #ebfaf1, 'dark': #1c3b2e),
113
+ 'warning': ('light': #ff832b, 'dark': #ff832b),
114
+ 'warning-hover': ('light': #fdb35e, 'dark': #fdb35e),
115
+ 'warning-soft': ('light': #fff2e8, 'dark': #361b00),
116
+ 'danger': ('light': #d32222, 'dark': #d32222),
117
+ 'danger-hover': ('light': #e35656, 'dark': #e35656),
118
+ 'danger-soft': ('light': #fff1f1, 'dark': #440101),
119
+ 'visited': ('light': #c029df, 'dark': #8a17a1),
120
+ 'visited-soft': ('light': #f8e9fc, 'dark': #6d127e),
121
+ );
122
+
123
+ $br-theme: (
124
+ 'focus': ('light': #99c5ff, 'dark': #99c5ff),
125
+ 'gray': ('light': #cacaca, 'dark': #696969),
126
+ 'gray-soft': ('light': #e3e3e3, 'dark': #696969),
127
+ 'gray-strong': ('light': #696969, 'dark': #cacaca),
128
+ 'brand': ('light': #003781, 'dark': #004baf),
129
+ 'brand-soft': ('light': #99c5ff, 'dark': #00316f),
130
+ 'success': ('light': #3a8362, 'dark': #327155),
131
+ 'success-soft': ('light': #b2ddc8, 'dark': #295b44),
132
+ 'warning': ('light': #ff832b, 'dark': #bd5b00),
133
+ 'warning-soft': ('light': #fdd2a0, 'dark': #7a3e03),
134
+ 'danger': ('light': #d32222, 'dark': #a10505),
135
+ 'danger-soft': ('light': #f09e9e, 'dark': #730202),
136
+ 'visited': ('light': #c029df, 'dark': #8a17a1),
137
+ 'visited-soft': ('light': #ecc2f7, 'dark': #6d127e),
138
+ );
139
+
140
+ $ct-theme: (
141
+ 'default': ('light': #141414, 'dark': #f5f4f4),
142
+ 'inverse': ('light': #ffffff, 'dark': #ffffff),
143
+ 'gray': ('light': #696969, 'dark': #cacaca),
144
+ 'gray-soft': ('light': #9a9a9a, 'dark': #9a9a9a),
145
+ 'gray-strong': ('light': #202020, 'dark': #e3e3e3),
146
+ 'brand': ('light': #003781, 'dark': #99c5ff),
147
+ 'brand-hover': ('light': #004baf, 'dark': #004baf),
148
+ 'success': ('light': #3a8362, 'dark': #4eb184),
149
+ 'warning': ('light': #bd5b00, 'dark': #ff832b),
150
+ 'danger': ('light': #d32222, 'dark': #e35656),
151
+ 'visited': ('light': #c029df, 'dark': #c029df),
152
+ );
153
+
154
+ $breakpoints: (
155
+ 'xs': 0,
156
+ 'sm': 480px,
157
+ 'md': 680px,
158
+ 'lg': 1024px,
159
+ 'xl': 1200px,
160
+ 'xxl': 1400px,
161
+ );
162
+
163
+ $button: (
164
+ 'base': ('padding': ('x': 16, 'y': 12), 'padding-from-md': ('x': 16, 'y': 8), 'gap': 8, 'icon-size': 16, 'radius': 'btn', 'font-size': 'md', 'font-weight': 'semibold', 'line-height': 1.15, 'border-width': 1),
165
+ 'small': ('padding-from-md': ('x': 8, 'y': 4)),
166
+ 'icon-only': ('padding': 8),
167
+ 'variants': ('primary': ('brand': ('content': 'inverse', 'background': 'brand', 'background-hover': 'brand-hover', 'border': null, 'border-hover': null), 'gray': ('content': 'inverse', 'background': 'brand', 'background-hover': 'brand-hover', 'border': null, 'border-hover': null), 'success': ('content': 'inverse', 'background': 'success', 'background-hover': 'success-hover', 'border': null, 'border-hover': null), 'warning': ('content': 'default', 'background': 'warning', 'background-hover': 'warning-hover', 'border': null, 'border-hover': null), 'danger': ('content': 'inverse', 'background': 'danger', 'background-hover': 'danger-hover', 'border': null, 'border-hover': null)), 'outline': ('brand': ('content': 'brand', 'background': null, 'background-hover': 'brand-soft', 'border': 'current-color', 'border-hover': null), 'success': ('content': 'brand', 'background': null, 'background-hover': 'brand-soft', 'border': 'current-color', 'border-hover': null), 'warning': ('content': 'brand', 'background': null, 'background-hover': 'brand-soft', 'border': 'current-color', 'border-hover': null), 'gray': ('content': 'default', 'background': null, 'background-hover': 'gray-hover', 'border': 'current-color', 'border-hover': null), 'danger': ('content': 'danger', 'background': null, 'background-hover': 'danger-soft', 'border': 'current-color', 'border-hover': null)), 'ghost': ('brand': ('content': 'brand', 'background': null, 'background-hover': 'brand-soft', 'border': null, 'border-hover': null), 'warning': ('content': 'warning', 'background': null, 'background-hover': 'warning-soft', 'border': null, 'border-hover': null), 'success': ('content': 'success', 'background': null, 'background-hover': 'success-hover', 'border': null, 'border-hover': null, 'disabled-as': 'primary'), 'gray': ('content': 'default', 'background': null, 'background-hover': 'gray-soft', 'border': null, 'border-hover': null), 'danger': ('content': 'danger', 'background': null, 'background-hover': 'danger-soft', 'border': null, 'border-hover': null))),
168
+ 'disabled': ('primary': ('content': 'gray-soft', 'background': 'gray-soft', 'border': 'current-color'), 'outline': ('content': 'gray-soft', 'background': null, 'border': 'gray'), 'ghost': ('content': 'gray-soft', 'background': null, 'border': null)),
169
+ );
package/dist/index.cjs ADDED
@@ -0,0 +1,442 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ backgroundTheme: () => backgroundTheme,
24
+ borderTheme: () => borderTheme,
25
+ borderWidths: () => borderWidths,
26
+ breakpoints: () => breakpoints,
27
+ buttonTokens: () => buttonTokens,
28
+ colors: () => colors,
29
+ contentTheme: () => contentTheme,
30
+ cssPrefix: () => cssPrefix,
31
+ defaultButtonColor: () => defaultButtonColor,
32
+ defaultButtonVariant: () => defaultButtonVariant,
33
+ fontFamilies: () => fontFamilies,
34
+ fontSizes: () => fontSizes,
35
+ fontWeights: () => fontWeights,
36
+ getButtonColors: () => getButtonColors,
37
+ getButtonDisabledColors: () => getButtonDisabledColors,
38
+ radius: () => radius,
39
+ spacers: () => spacers,
40
+ themeModes: () => themeModes,
41
+ transitions: () => transitions
42
+ });
43
+ module.exports = __toCommonJS(index_exports);
44
+
45
+ // src/colors.ts
46
+ var colors = {
47
+ gray: {
48
+ white: "#ffffff",
49
+ lightest: "#f5f4f4",
50
+ lighter: "#e3e3e3",
51
+ light: "#cacaca",
52
+ default: "#9a9a9a",
53
+ dark: "#696969",
54
+ darker: "#202020",
55
+ darkest: "#141414"
56
+ },
57
+ brand: {
58
+ lightest: "#e4f0ff",
59
+ lighter: "#99c5ff",
60
+ light: "#004baf",
61
+ default: "#003781",
62
+ dark: "#00316f",
63
+ darker: "#002a5c",
64
+ darkest: "#001633"
65
+ },
66
+ success: {
67
+ lightest: "#ebfaf1",
68
+ lighter: "#b2ddc8",
69
+ light: "#4eb184",
70
+ default: "#3a8362",
71
+ dark: "#327155",
72
+ darker: "#295b44",
73
+ darkest: "#1c3b2e"
74
+ },
75
+ warning: {
76
+ lightest: "#fff2e8",
77
+ lighter: "#fdd2a0",
78
+ light: "#fdb35e",
79
+ default: "#ff832b",
80
+ dark: "#bd5b00",
81
+ darker: "#7a3e03",
82
+ darkest: "#361b00"
83
+ },
84
+ danger: {
85
+ lightest: "#fff1f1",
86
+ lighter: "#f09e9e",
87
+ light: "#e35656",
88
+ default: "#d32222",
89
+ dark: "#a10505",
90
+ darker: "#730202",
91
+ darkest: "#440101"
92
+ },
93
+ visited: {
94
+ lightest: "#f8e9fc",
95
+ lighter: "#ecc2f7",
96
+ light: "#d575eb",
97
+ default: "#c029df",
98
+ dark: "#8a17a1",
99
+ darker: "#6d127e",
100
+ darkest: "#310839"
101
+ }
102
+ };
103
+
104
+ // src/theme/background.ts
105
+ var backgroundTheme = {
106
+ content: {
107
+ light: colors.gray.white,
108
+ dark: colors.gray.darkest
109
+ },
110
+ graySoft: {
111
+ light: colors.gray.lightest,
112
+ dark: colors.gray.darker
113
+ },
114
+ gray: {
115
+ light: colors.gray.light,
116
+ dark: colors.gray.darker
117
+ },
118
+ grayHover: {
119
+ light: colors.gray.light,
120
+ dark: colors.gray.darkest
121
+ },
122
+ grayStrong: {
123
+ light: colors.gray.darker,
124
+ dark: colors.gray.default
125
+ },
126
+ overlay: {
127
+ light: "rgba(20, 20, 20, 0.2)",
128
+ dark: "rgba(20, 20, 20, 0.2)"
129
+ },
130
+ brand: {
131
+ light: colors.brand.default,
132
+ dark: colors.brand.light
133
+ },
134
+ brandHover: {
135
+ light: colors.brand.light,
136
+ dark: colors.brand.default
137
+ },
138
+ brandSoft: {
139
+ light: colors.brand.lightest,
140
+ dark: colors.brand.darker
141
+ },
142
+ success: {
143
+ light: colors.success.default,
144
+ dark: colors.success.default
145
+ },
146
+ successHover: {
147
+ light: colors.success.light,
148
+ dark: colors.success.light
149
+ },
150
+ successSoft: {
151
+ light: colors.success.lightest,
152
+ dark: colors.success.darkest
153
+ },
154
+ warning: {
155
+ light: colors.warning.default,
156
+ dark: colors.warning.default
157
+ },
158
+ warningHover: {
159
+ light: colors.warning.light,
160
+ dark: colors.warning.light
161
+ },
162
+ warningSoft: {
163
+ light: colors.warning.lightest,
164
+ dark: colors.warning.darkest
165
+ },
166
+ danger: {
167
+ light: colors.danger.default,
168
+ dark: colors.danger.default
169
+ },
170
+ dangerHover: {
171
+ light: colors.danger.light,
172
+ dark: colors.danger.light
173
+ },
174
+ dangerSoft: {
175
+ light: colors.danger.lightest,
176
+ dark: colors.danger.darkest
177
+ },
178
+ visited: {
179
+ light: colors.visited.default,
180
+ dark: colors.visited.dark
181
+ },
182
+ visitedSoft: {
183
+ light: colors.visited.lightest,
184
+ dark: colors.visited.darker
185
+ }
186
+ };
187
+
188
+ // src/theme/border.ts
189
+ var borderTheme = {
190
+ focus: {
191
+ light: colors.brand.lighter,
192
+ dark: colors.brand.lighter
193
+ },
194
+ gray: {
195
+ light: colors.gray.light,
196
+ dark: colors.gray.dark
197
+ },
198
+ graySoft: {
199
+ light: colors.gray.lighter,
200
+ dark: colors.gray.dark
201
+ },
202
+ grayStrong: {
203
+ light: colors.gray.dark,
204
+ dark: colors.gray.light
205
+ },
206
+ brand: {
207
+ light: colors.brand.default,
208
+ dark: colors.brand.light
209
+ },
210
+ brandSoft: {
211
+ light: colors.brand.lighter,
212
+ dark: colors.brand.dark
213
+ },
214
+ success: {
215
+ light: colors.success.default,
216
+ dark: colors.success.dark
217
+ },
218
+ successSoft: {
219
+ light: colors.success.lighter,
220
+ dark: colors.success.darker
221
+ },
222
+ warning: {
223
+ light: colors.warning.default,
224
+ dark: colors.warning.dark
225
+ },
226
+ warningSoft: {
227
+ light: colors.warning.lighter,
228
+ dark: colors.warning.darker
229
+ },
230
+ danger: {
231
+ light: colors.danger.default,
232
+ dark: colors.danger.dark
233
+ },
234
+ dangerSoft: {
235
+ light: colors.danger.lighter,
236
+ dark: colors.danger.darker
237
+ },
238
+ visited: {
239
+ light: colors.visited.default,
240
+ dark: colors.visited.dark
241
+ },
242
+ visitedSoft: {
243
+ light: colors.visited.lighter,
244
+ dark: colors.visited.darker
245
+ }
246
+ };
247
+
248
+ // src/theme/content.ts
249
+ var contentTheme = {
250
+ default: {
251
+ light: colors.gray.darkest,
252
+ dark: colors.gray.lightest
253
+ },
254
+ inverse: {
255
+ light: colors.gray.white,
256
+ dark: colors.gray.white
257
+ },
258
+ gray: {
259
+ light: colors.gray.dark,
260
+ dark: colors.gray.light
261
+ },
262
+ graySoft: {
263
+ light: colors.gray.default,
264
+ dark: colors.gray.default
265
+ },
266
+ grayStrong: {
267
+ light: colors.gray.darker,
268
+ dark: colors.gray.lighter
269
+ },
270
+ brand: {
271
+ light: colors.brand.default,
272
+ dark: colors.brand.lighter
273
+ },
274
+ brandHover: {
275
+ light: colors.brand.light,
276
+ dark: colors.brand.light
277
+ },
278
+ success: {
279
+ light: colors.success.default,
280
+ dark: colors.success.light
281
+ },
282
+ warning: {
283
+ light: colors.warning.dark,
284
+ dark: colors.warning.default
285
+ },
286
+ danger: {
287
+ light: colors.danger.default,
288
+ dark: colors.danger.light
289
+ },
290
+ visited: {
291
+ light: colors.visited.default,
292
+ dark: colors.visited.default
293
+ }
294
+ };
295
+
296
+ // src/theme/index.ts
297
+ var themeModes = ["light", "dark"];
298
+
299
+ // src/spacing.ts
300
+ var generateSpacers = (count, step) => {
301
+ const spacers2 = { 0: 0, 2: 2 };
302
+ for (let i = 1; i <= count; i++) {
303
+ spacers2[i * step] = i * step;
304
+ }
305
+ return spacers2;
306
+ };
307
+ var spacers = generateSpacers(40, 4);
308
+
309
+ // src/typography.ts
310
+ var fontFamilies = {
311
+ sans: { name: "Open Sans", fallback: "sans-serif" }
312
+ };
313
+ var fontWeights = {
314
+ light: 300,
315
+ regular: 400,
316
+ semibold: 600,
317
+ bold: 800
318
+ };
319
+ var fontSizes = {
320
+ 0: 0,
321
+ sm: 12,
322
+ md: 14,
323
+ lg: 16,
324
+ big: 18,
325
+ hero: 24
326
+ };
327
+
328
+ // src/border.ts
329
+ var radius = {
330
+ 0: 0,
331
+ btn: 4,
332
+ input: 4,
333
+ card: 8,
334
+ pill: 100,
335
+ round: "50%"
336
+ };
337
+ var borderWidths = {
338
+ 0: 0,
339
+ 1: 1,
340
+ 2: 2,
341
+ 3: 3
342
+ };
343
+
344
+ // src/breakpoints.ts
345
+ var breakpoints = {
346
+ xs: 0,
347
+ sm: 480,
348
+ md: 680,
349
+ lg: 1024,
350
+ xl: 1200,
351
+ xxl: 1400
352
+ };
353
+
354
+ // src/transitions.ts
355
+ var transitions = {
356
+ default: { property: "all", duration: 300, timing: "ease-in-out", delay: 0 },
357
+ chevronRotate: { property: "transform", duration: 300, timing: "ease-in-out", delay: 75 }
358
+ };
359
+
360
+ // src/components/button.ts
361
+ var primary = (content, background, backgroundHover) => ({ content, background, backgroundHover, border: null, borderHover: null });
362
+ var outline = (content, backgroundHover) => ({ content, background: null, backgroundHover, border: "currentColor", borderHover: null });
363
+ var ghost = (content, backgroundHover) => ({ content, background: null, backgroundHover, border: null, borderHover: null });
364
+ var button = {
365
+ base: {
366
+ padding: { x: 16, y: 12 },
367
+ // From the `md` breakpoint (web only, native follows the mobile values)
368
+ paddingFromMd: { x: 16, y: 8 },
369
+ gap: 8,
370
+ iconSize: 16,
371
+ radius: "btn",
372
+ fontSize: "md",
373
+ fontWeight: "semibold",
374
+ lineHeight: 1.15,
375
+ borderWidth: 1
376
+ },
377
+ small: {
378
+ paddingFromMd: { x: 8, y: 4 }
379
+ },
380
+ iconOnly: {
381
+ padding: 8
382
+ },
383
+ variants: {
384
+ primary: {
385
+ brand: primary("inverse", "brand", "brandHover"),
386
+ gray: primary("inverse", "brand", "brandHover"),
387
+ success: primary("inverse", "success", "successHover"),
388
+ warning: primary("default", "warning", "warningHover"),
389
+ danger: primary("inverse", "danger", "dangerHover")
390
+ },
391
+ outline: {
392
+ brand: outline("brand", "brandSoft"),
393
+ success: outline("brand", "brandSoft"),
394
+ warning: outline("brand", "brandSoft"),
395
+ gray: outline("default", "grayHover"),
396
+ danger: outline("danger", "dangerSoft")
397
+ },
398
+ ghost: {
399
+ brand: ghost("brand", "brandSoft"),
400
+ warning: ghost("warning", "warningSoft"),
401
+ // Uses the primary styles in legacy: strong hover and primary disabled state
402
+ success: { ...ghost("success", "successHover"), disabledAs: "primary" },
403
+ gray: ghost("default", "graySoft"),
404
+ danger: ghost("danger", "dangerSoft")
405
+ }
406
+ },
407
+ disabled: {
408
+ primary: { content: "graySoft", background: "graySoft", border: "currentColor" },
409
+ outline: { content: "graySoft", background: null, border: "gray" },
410
+ ghost: { content: "graySoft", background: null, border: null }
411
+ }
412
+ };
413
+ var buttonTokens = button;
414
+ var defaultButtonVariant = "primary";
415
+ var defaultButtonColor = "brand";
416
+ var getButtonColors = (variant, color) => button.variants[variant][color];
417
+ var getButtonDisabledColors = (variant, color) => button.disabled[getButtonColors(variant, color).disabledAs ?? variant];
418
+
419
+ // src/index.ts
420
+ var cssPrefix = "sds";
421
+ // Annotate the CommonJS export names for ESM import in node:
422
+ 0 && (module.exports = {
423
+ backgroundTheme,
424
+ borderTheme,
425
+ borderWidths,
426
+ breakpoints,
427
+ buttonTokens,
428
+ colors,
429
+ contentTheme,
430
+ cssPrefix,
431
+ defaultButtonColor,
432
+ defaultButtonVariant,
433
+ fontFamilies,
434
+ fontSizes,
435
+ fontWeights,
436
+ getButtonColors,
437
+ getButtonDisabledColors,
438
+ radius,
439
+ spacers,
440
+ themeModes,
441
+ transitions
442
+ });