@knapsack/sandbox-tokens 4.53.1--canary.3986.c6043f8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.turbo/turbo-build.log +5 -0
- package/dist/design-tokens.android.xml +9 -0
- package/dist/design-tokens.cjs +110 -0
- package/dist/design-tokens.collections.css +170 -0
- package/dist/design-tokens.css +112 -0
- package/dist/design-tokens.css.scss +112 -0
- package/dist/design-tokens.d.cts +108 -0
- package/dist/design-tokens.d.mts +108 -0
- package/dist/design-tokens.d.ts +108 -0
- package/dist/design-tokens.js +108 -0
- package/dist/design-tokens.json +110 -0
- package/dist/design-tokens.less +108 -0
- package/dist/design-tokens.mjs +108 -0
- package/dist/design-tokens.nested.json +176 -0
- package/dist/design-tokens.scss +293 -0
- package/dist/design-tokens.style-dictionary.json +667 -0
- package/dist/design-tokens.w3c-spec.json +679 -0
- package/knapsack.config.cjs +30 -0
- package/package.json +41 -0
- package/readme.md +1 -0
- package/src/knapsack.design-tokens.json +679 -0
- package/tsconfig.json +8 -0
@@ -0,0 +1,176 @@
|
|
1
|
+
{
|
2
|
+
"ungrouped-token": "Im Not Part of Any Group",
|
3
|
+
"border": {
|
4
|
+
"1": "red dotted 2px"
|
5
|
+
},
|
6
|
+
"breakpoint": {
|
7
|
+
"large": "1.5rem",
|
8
|
+
"medium": "480px",
|
9
|
+
"small": "330px",
|
10
|
+
"xlarge": "992px",
|
11
|
+
"xxlarge": "1240px",
|
12
|
+
"xxxlarge": "1440px"
|
13
|
+
},
|
14
|
+
"collections": {
|
15
|
+
"brands": {
|
16
|
+
"color": {
|
17
|
+
"color": {
|
18
|
+
"brandADark": "#000000",
|
19
|
+
"brandALight": "#000000",
|
20
|
+
"brandBDark": "#000000",
|
21
|
+
"brandBLight": "#000000"
|
22
|
+
},
|
23
|
+
"color 1": {
|
24
|
+
"brandADark": "#000000",
|
25
|
+
"brandALight": "#000000",
|
26
|
+
"brandBDark": "#000000",
|
27
|
+
"brandBLight": "#000000"
|
28
|
+
},
|
29
|
+
"primary": {
|
30
|
+
"brandADark": "#0a13f7",
|
31
|
+
"brandALight": "#3ed93f",
|
32
|
+
"brandBDark": "#710D55",
|
33
|
+
"brandBLight": "#F37491"
|
34
|
+
},
|
35
|
+
"secondary": {
|
36
|
+
"brandADark": "#EC487D",
|
37
|
+
"brandALight": "#EC487D",
|
38
|
+
"brandBDark": "#6A4CEC",
|
39
|
+
"brandBLight": "#6A4CEC"
|
40
|
+
}
|
41
|
+
},
|
42
|
+
"foo": {
|
43
|
+
"bar": {
|
44
|
+
"brandADark": "1px",
|
45
|
+
"brandALight": "1px",
|
46
|
+
"brandBDark": "1px",
|
47
|
+
"brandBLight": "1px"
|
48
|
+
}
|
49
|
+
},
|
50
|
+
"test": {
|
51
|
+
"dimension": {
|
52
|
+
"brandALight": "2px"
|
53
|
+
},
|
54
|
+
"primary": {
|
55
|
+
"brandADark": "4px",
|
56
|
+
"brandALight": "40px"
|
57
|
+
},
|
58
|
+
"secondary": {
|
59
|
+
"brandADark": "#cc2020",
|
60
|
+
"brandALight": "#cc2020",
|
61
|
+
"brandBDark": "#ACAAB6",
|
62
|
+
"brandBLight": "#EDECEF"
|
63
|
+
}
|
64
|
+
}
|
65
|
+
},
|
66
|
+
"density": {
|
67
|
+
"spacing": {
|
68
|
+
"large": {
|
69
|
+
"comfortable": "40px",
|
70
|
+
"compact": "16px"
|
71
|
+
},
|
72
|
+
"medium": {
|
73
|
+
"comfortable": "24px",
|
74
|
+
"compact": "16px"
|
75
|
+
},
|
76
|
+
"small": {
|
77
|
+
"comfortable": "8px",
|
78
|
+
"compact": "4px"
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
"color": {
|
84
|
+
"black": "#191335",
|
85
|
+
"white": "#ffffff",
|
86
|
+
"neutral": {
|
87
|
+
"100": "#FAFAFB",
|
88
|
+
"200": "#F6F6F7",
|
89
|
+
"300": "#EDECEF",
|
90
|
+
"400": "#dedce2",
|
91
|
+
"500": "#BFBDC6",
|
92
|
+
"600": "#ACAAB6",
|
93
|
+
"700": "#878496",
|
94
|
+
"800": "#191335"
|
95
|
+
},
|
96
|
+
"pink": {
|
97
|
+
"100": "#FFDDDB",
|
98
|
+
"200": "#FCB6B8",
|
99
|
+
"300": "#FA919F",
|
100
|
+
"400": "#F37491",
|
101
|
+
"500": "#EC487D",
|
102
|
+
"600": "#CA3473",
|
103
|
+
"700": "#AA2469",
|
104
|
+
"800": "#710D55"
|
105
|
+
},
|
106
|
+
"purple": {
|
107
|
+
"100": "#E5DBFE",
|
108
|
+
"200": "#C9B8FE",
|
109
|
+
"300": "#AA94F9",
|
110
|
+
"400": "#9076F3",
|
111
|
+
"500": "#6A4CEC",
|
112
|
+
"600": "#5036CB",
|
113
|
+
"700": "#3925AA",
|
114
|
+
"800": "#190F72"
|
115
|
+
},
|
116
|
+
"text": {
|
117
|
+
"default": "#191335",
|
118
|
+
"disabled": "#dedce2",
|
119
|
+
"muted": "#ACAAB6",
|
120
|
+
"white": "#ffffff"
|
121
|
+
}
|
122
|
+
},
|
123
|
+
"cypress": {
|
124
|
+
"large": "1.5rem",
|
125
|
+
"medium": "1rem",
|
126
|
+
"small": "0.5rem"
|
127
|
+
},
|
128
|
+
"media": {
|
129
|
+
"query": {
|
130
|
+
"large": "screen and (min-width: 1.5rem)",
|
131
|
+
"medium": "screen and (min-width: 480px)",
|
132
|
+
"small": "screen and (min-width: 330px)"
|
133
|
+
}
|
134
|
+
},
|
135
|
+
"misc": {
|
136
|
+
"boolean": true,
|
137
|
+
"duration": "100ms",
|
138
|
+
"isAwesome": true,
|
139
|
+
"isAwesome2": true,
|
140
|
+
"magic number": 42,
|
141
|
+
"shadow": "1px 1px 1px 1px #000000",
|
142
|
+
"some text": "Hello world"
|
143
|
+
},
|
144
|
+
"radius": {
|
145
|
+
"large": "1.5rem",
|
146
|
+
"medium": "8px",
|
147
|
+
"round": "160px",
|
148
|
+
"small": "4px"
|
149
|
+
},
|
150
|
+
"shadow": {
|
151
|
+
"1": "0px 5px 10px 0px #000000",
|
152
|
+
"2": "0px 10px 20px 0px #000000",
|
153
|
+
"3": "0px 15px 25px 0px #000000",
|
154
|
+
"4": "0px 20px 40px 0px #000000",
|
155
|
+
"color": "#000000"
|
156
|
+
},
|
157
|
+
"spacing scale": {
|
158
|
+
"1": "2px",
|
159
|
+
"2": "4px",
|
160
|
+
"3": "8px",
|
161
|
+
"4": "12px",
|
162
|
+
"5": "16px",
|
163
|
+
"6": "24px",
|
164
|
+
"7": "32px",
|
165
|
+
"8": "40px",
|
166
|
+
"9": "48px",
|
167
|
+
"10": "64px",
|
168
|
+
"11": "80px",
|
169
|
+
"12": "96px",
|
170
|
+
"13": "160px"
|
171
|
+
},
|
172
|
+
"transition": {
|
173
|
+
"a": "250ms cubic-bezier(0,0,1,1) 100ms",
|
174
|
+
"b": "500ms cubic-bezier(0.1,1,0.3,1) 10ms"
|
175
|
+
}
|
176
|
+
}
|
@@ -0,0 +1,293 @@
|
|
1
|
+
$ungrouped-token: Im Not Part of Any Group;
|
2
|
+
$border-1: red dotted 2px;
|
3
|
+
$cypress-large: 1.5rem;
|
4
|
+
$radius-large: $cypress-large;
|
5
|
+
$breakpoint-large: $radius-large;
|
6
|
+
$breakpoint-medium: 480px;
|
7
|
+
$breakpoint-small: 330px;
|
8
|
+
$breakpoint-xlarge: 992px;
|
9
|
+
$breakpoint-xxlarge: 1240px;
|
10
|
+
$breakpoint-xxxlarge: 1440px;
|
11
|
+
$collections-brands-color-color-brand-a-dark: #000000;
|
12
|
+
$collections-brands-color-color-brand-a-light: #000000;
|
13
|
+
$collections-brands-color-color-brand-b-dark: #000000;
|
14
|
+
$collections-brands-color-color-brand-b-light: #000000;
|
15
|
+
$collections-brands-color-color-1-brand-a-dark: #000000;
|
16
|
+
$collections-brands-color-color-1-brand-a-light: #000000;
|
17
|
+
$collections-brands-color-color-1-brand-b-dark: #000000;
|
18
|
+
$collections-brands-color-color-1-brand-b-light: #000000;
|
19
|
+
$collections-brands-color-primary-brand-a-dark: #0a13f7;
|
20
|
+
$collections-brands-color-primary-brand-a-light: #3ed93f;
|
21
|
+
$color-pink-800: #710d55;
|
22
|
+
$collections-brands-color-primary-brand-b-dark: $color-pink-800;
|
23
|
+
$color-pink-400: #f37491;
|
24
|
+
$collections-brands-color-primary-brand-b-light: $color-pink-400;
|
25
|
+
$color-pink-500: #ec487d;
|
26
|
+
$collections-brands-color-secondary-brand-a-dark: $color-pink-500;
|
27
|
+
$collections-brands-color-secondary-brand-a-light: $color-pink-500;
|
28
|
+
$color-purple-500: #6a4cec;
|
29
|
+
$collections-brands-color-secondary-brand-b-dark: $color-purple-500;
|
30
|
+
$collections-brands-color-secondary-brand-b-light: $color-purple-500;
|
31
|
+
$collections-brands-foo-bar-brand-a-dark: 1px;
|
32
|
+
$collections-brands-foo-bar-brand-a-light: 1px;
|
33
|
+
$collections-brands-foo-bar-brand-b-dark: 1px;
|
34
|
+
$collections-brands-foo-bar-brand-b-light: 1px;
|
35
|
+
$collections-brands-test-dimension-brand-a-light: 2px;
|
36
|
+
$spacing-scale-2: 4px;
|
37
|
+
$collections-density-spacing-small-compact: $spacing-scale-2;
|
38
|
+
$collections-brands-test-primary-brand-a-dark: $collections-density-spacing-small-compact;
|
39
|
+
$spacing-scale-8: 40px;
|
40
|
+
$collections-brands-test-primary-brand-a-light: $spacing-scale-8;
|
41
|
+
$collections-brands-test-secondary-brand-a-dark: #cc2020;
|
42
|
+
$collections-brands-test-secondary-brand-a-light: #cc2020;
|
43
|
+
$color-neutral-600: #acaab6;
|
44
|
+
$collections-brands-test-secondary-brand-b-dark: $color-neutral-600;
|
45
|
+
$color-neutral-300: #edecef;
|
46
|
+
$collections-brands-test-secondary-brand-b-light: $color-neutral-300;
|
47
|
+
$collections-density-spacing-large-comfortable: $spacing-scale-8;
|
48
|
+
$spacing-scale-5: 16px;
|
49
|
+
$collections-density-spacing-large-compact: $spacing-scale-5;
|
50
|
+
$spacing-scale-6: 24px;
|
51
|
+
$collections-density-spacing-medium-comfortable: $spacing-scale-6;
|
52
|
+
$collections-density-spacing-medium-compact: $spacing-scale-5;
|
53
|
+
$spacing-scale-3: 8px;
|
54
|
+
$collections-density-spacing-small-comfortable: $spacing-scale-3;
|
55
|
+
$color-neutral-800: #191335;
|
56
|
+
$color-black: $color-neutral-800;
|
57
|
+
$color-white: #ffffff;
|
58
|
+
$color-neutral-100: #fafafb;
|
59
|
+
$color-neutral-200: #f6f6f7;
|
60
|
+
$color-neutral-400: #dedce2;
|
61
|
+
$color-neutral-500: #bfbdc6;
|
62
|
+
$color-neutral-700: #878496;
|
63
|
+
$color-pink-100: #ffdddb;
|
64
|
+
$color-pink-200: #fcb6b8;
|
65
|
+
$color-pink-300: #fa919f;
|
66
|
+
$color-pink-600: #ca3473;
|
67
|
+
$color-pink-700: #aa2469;
|
68
|
+
$color-purple-100: #e5dbfe;
|
69
|
+
$color-purple-200: #c9b8fe;
|
70
|
+
$color-purple-300: #aa94f9;
|
71
|
+
$color-purple-400: #9076f3;
|
72
|
+
$color-purple-600: #5036cb;
|
73
|
+
$color-purple-700: #3925aa;
|
74
|
+
$color-purple-800: #190f72;
|
75
|
+
$color-text-default: $color-neutral-800;
|
76
|
+
$color-text-disabled: $color-neutral-400;
|
77
|
+
$color-text-muted: $color-neutral-600;
|
78
|
+
$color-text-white: $color-white;
|
79
|
+
$cypress-medium: 1rem;
|
80
|
+
$cypress-small: 0.5rem;
|
81
|
+
$media-query-large: screen and
|
82
|
+
(
|
83
|
+
min-width: $breakpoint-large,
|
84
|
+
);
|
85
|
+
$media-query-medium: screen and
|
86
|
+
(
|
87
|
+
min-width: $breakpoint-medium,
|
88
|
+
);
|
89
|
+
$media-query-small: screen and
|
90
|
+
(
|
91
|
+
min-width: $breakpoint-small,
|
92
|
+
);
|
93
|
+
$misc-boolean: true;
|
94
|
+
$misc-duration: 100ms;
|
95
|
+
$misc-is-awesome: true;
|
96
|
+
$misc-is-awesome2: $misc-is-awesome;
|
97
|
+
$misc-magic-number: 42;
|
98
|
+
$misc-shadow: 1px 1px 1px 1px #000000;
|
99
|
+
$misc-some-text: Hello world;
|
100
|
+
$radius-medium: 8px;
|
101
|
+
$radius-round: 160px;
|
102
|
+
$radius-small: 4px;
|
103
|
+
$shadow-1: 0px 5px 10px 0px #000000;
|
104
|
+
$shadow-2: 0px 10px 20px 0px #000000;
|
105
|
+
$shadow-3: 0px 15px 25px 0px #000000;
|
106
|
+
$shadow-4: 0px 20px 40px 0px #000000;
|
107
|
+
$shadow-color: #000000;
|
108
|
+
$spacing-scale-1: 2px;
|
109
|
+
$spacing-scale-4: 12px;
|
110
|
+
$spacing-scale-7: 32px;
|
111
|
+
$spacing-scale-9: 48px;
|
112
|
+
$spacing-scale-10: 64px;
|
113
|
+
$spacing-scale-11: 80px;
|
114
|
+
$spacing-scale-12: 96px;
|
115
|
+
$spacing-scale-13: 160px;
|
116
|
+
$transition-a: 250ms cubic-bezier(0, 0, 1, 1) 100ms;
|
117
|
+
$transition-b: 500ms cubic-bezier(0.1, 1, 0.3, 1) 10ms;
|
118
|
+
$tokens: (
|
119
|
+
'ungrouped-token': $ungrouped-token,
|
120
|
+
'border': (
|
121
|
+
'1': $border-1,
|
122
|
+
),
|
123
|
+
'breakpoint': (
|
124
|
+
'large': $breakpoint-large,
|
125
|
+
'medium': $breakpoint-medium,
|
126
|
+
'small': $breakpoint-small,
|
127
|
+
'xlarge': $breakpoint-xlarge,
|
128
|
+
'xxlarge': $breakpoint-xxlarge,
|
129
|
+
'xxxlarge': $breakpoint-xxxlarge,
|
130
|
+
),
|
131
|
+
'collections': (
|
132
|
+
'brands': (
|
133
|
+
'color': (
|
134
|
+
'color': (
|
135
|
+
'brandADark': $collections-brands-color-color-brand-a-dark,
|
136
|
+
'brandALight': $collections-brands-color-color-brand-a-light,
|
137
|
+
'brandBDark': $collections-brands-color-color-brand-b-dark,
|
138
|
+
'brandBLight': $collections-brands-color-color-brand-b-light,
|
139
|
+
),
|
140
|
+
'color 1': (
|
141
|
+
'brandADark': $collections-brands-color-color-1-brand-a-dark,
|
142
|
+
'brandALight': $collections-brands-color-color-1-brand-a-light,
|
143
|
+
'brandBDark': $collections-brands-color-color-1-brand-b-dark,
|
144
|
+
'brandBLight': $collections-brands-color-color-1-brand-b-light,
|
145
|
+
),
|
146
|
+
'primary': (
|
147
|
+
'brandADark': $collections-brands-color-primary-brand-a-dark,
|
148
|
+
'brandALight': $collections-brands-color-primary-brand-a-light,
|
149
|
+
'brandBDark': $collections-brands-color-primary-brand-b-dark,
|
150
|
+
'brandBLight': $collections-brands-color-primary-brand-b-light,
|
151
|
+
),
|
152
|
+
'secondary': (
|
153
|
+
'brandADark': $collections-brands-color-secondary-brand-a-dark,
|
154
|
+
'brandALight': $collections-brands-color-secondary-brand-a-light,
|
155
|
+
'brandBDark': $collections-brands-color-secondary-brand-b-dark,
|
156
|
+
'brandBLight': $collections-brands-color-secondary-brand-b-light,
|
157
|
+
),
|
158
|
+
),
|
159
|
+
'foo': (
|
160
|
+
'bar': (
|
161
|
+
'brandADark': $collections-brands-foo-bar-brand-a-dark,
|
162
|
+
'brandALight': $collections-brands-foo-bar-brand-a-light,
|
163
|
+
'brandBDark': $collections-brands-foo-bar-brand-b-dark,
|
164
|
+
'brandBLight': $collections-brands-foo-bar-brand-b-light,
|
165
|
+
),
|
166
|
+
),
|
167
|
+
'test': (
|
168
|
+
'dimension': (
|
169
|
+
'brandALight': $collections-brands-test-dimension-brand-a-light,
|
170
|
+
),
|
171
|
+
'primary': (
|
172
|
+
'brandADark': $collections-brands-test-primary-brand-a-dark,
|
173
|
+
'brandALight': $collections-brands-test-primary-brand-a-light,
|
174
|
+
),
|
175
|
+
'secondary': (
|
176
|
+
'brandADark': $collections-brands-test-secondary-brand-a-dark,
|
177
|
+
'brandALight': $collections-brands-test-secondary-brand-a-light,
|
178
|
+
'brandBDark': $collections-brands-test-secondary-brand-b-dark,
|
179
|
+
'brandBLight': $collections-brands-test-secondary-brand-b-light,
|
180
|
+
),
|
181
|
+
),
|
182
|
+
),
|
183
|
+
'density': (
|
184
|
+
'spacing': (
|
185
|
+
'large': (
|
186
|
+
'comfortable': $collections-density-spacing-large-comfortable,
|
187
|
+
'compact': $collections-density-spacing-large-compact,
|
188
|
+
),
|
189
|
+
'medium': (
|
190
|
+
'comfortable': $collections-density-spacing-medium-comfortable,
|
191
|
+
'compact': $collections-density-spacing-medium-compact,
|
192
|
+
),
|
193
|
+
'small': (
|
194
|
+
'comfortable': $collections-density-spacing-small-comfortable,
|
195
|
+
'compact': $collections-density-spacing-small-compact,
|
196
|
+
),
|
197
|
+
),
|
198
|
+
),
|
199
|
+
),
|
200
|
+
'color': (
|
201
|
+
'black': $color-black,
|
202
|
+
'white': $color-white,
|
203
|
+
'neutral': (
|
204
|
+
'100': $color-neutral-100,
|
205
|
+
'200': $color-neutral-200,
|
206
|
+
'300': $color-neutral-300,
|
207
|
+
'400': $color-neutral-400,
|
208
|
+
'500': $color-neutral-500,
|
209
|
+
'600': $color-neutral-600,
|
210
|
+
'700': $color-neutral-700,
|
211
|
+
'800': $color-neutral-800,
|
212
|
+
),
|
213
|
+
'pink': (
|
214
|
+
'100': $color-pink-100,
|
215
|
+
'200': $color-pink-200,
|
216
|
+
'300': $color-pink-300,
|
217
|
+
'400': $color-pink-400,
|
218
|
+
'500': $color-pink-500,
|
219
|
+
'600': $color-pink-600,
|
220
|
+
'700': $color-pink-700,
|
221
|
+
'800': $color-pink-800,
|
222
|
+
),
|
223
|
+
'purple': (
|
224
|
+
'100': $color-purple-100,
|
225
|
+
'200': $color-purple-200,
|
226
|
+
'300': $color-purple-300,
|
227
|
+
'400': $color-purple-400,
|
228
|
+
'500': $color-purple-500,
|
229
|
+
'600': $color-purple-600,
|
230
|
+
'700': $color-purple-700,
|
231
|
+
'800': $color-purple-800,
|
232
|
+
),
|
233
|
+
'text': (
|
234
|
+
'default': $color-text-default,
|
235
|
+
'disabled': $color-text-disabled,
|
236
|
+
'muted': $color-text-muted,
|
237
|
+
'white': $color-text-white,
|
238
|
+
),
|
239
|
+
),
|
240
|
+
'cypress': (
|
241
|
+
'large': $cypress-large,
|
242
|
+
'medium': $cypress-medium,
|
243
|
+
'small': $cypress-small,
|
244
|
+
),
|
245
|
+
'media': (
|
246
|
+
'query': (
|
247
|
+
'large': $media-query-large,
|
248
|
+
'medium': $media-query-medium,
|
249
|
+
'small': $media-query-small,
|
250
|
+
),
|
251
|
+
),
|
252
|
+
'misc': (
|
253
|
+
'boolean': $misc-boolean,
|
254
|
+
'duration': $misc-duration,
|
255
|
+
'isAwesome': $misc-is-awesome,
|
256
|
+
'isAwesome2': $misc-is-awesome2,
|
257
|
+
'magic number': $misc-magic-number,
|
258
|
+
'shadow': $misc-shadow,
|
259
|
+
'some text': $misc-some-text,
|
260
|
+
),
|
261
|
+
'radius': (
|
262
|
+
'large': $radius-large,
|
263
|
+
'medium': $radius-medium,
|
264
|
+
'round': $radius-round,
|
265
|
+
'small': $radius-small,
|
266
|
+
),
|
267
|
+
'shadow': (
|
268
|
+
'1': $shadow-1,
|
269
|
+
'2': $shadow-2,
|
270
|
+
'3': $shadow-3,
|
271
|
+
'4': $shadow-4,
|
272
|
+
'color': $shadow-color,
|
273
|
+
),
|
274
|
+
'spacing scale': (
|
275
|
+
'1': $spacing-scale-1,
|
276
|
+
'2': $spacing-scale-2,
|
277
|
+
'3': $spacing-scale-3,
|
278
|
+
'4': $spacing-scale-4,
|
279
|
+
'5': $spacing-scale-5,
|
280
|
+
'6': $spacing-scale-6,
|
281
|
+
'7': $spacing-scale-7,
|
282
|
+
'8': $spacing-scale-8,
|
283
|
+
'9': $spacing-scale-9,
|
284
|
+
'10': $spacing-scale-10,
|
285
|
+
'11': $spacing-scale-11,
|
286
|
+
'12': $spacing-scale-12,
|
287
|
+
'13': $spacing-scale-13,
|
288
|
+
),
|
289
|
+
'transition': (
|
290
|
+
'a': $transition-a,
|
291
|
+
'b': $transition-b,
|
292
|
+
),
|
293
|
+
);
|