@atlaskit/tokens 1.5.1 → 1.5.2
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/CHANGELOG.md +6 -0
- package/dist/cjs/artifacts/generated-pairs.js +1 -289
- package/dist/cjs/artifacts/themes/atlassian-dark-new-input-border.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-light-new-input-border.js +2 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-iteration.js +902 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-new-input-border.js +300 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-new-input-border.js +300 -0
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
- package/dist/cjs/tokens/atlassian-light-new-input-border/color/border.js +1 -37
- package/dist/cjs/tokens/default/color/accent.js +16 -16
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/generated-pairs.js +1 -289
- package/dist/es2019/artifacts/themes/atlassian-dark-new-input-border.js +2 -14
- package/dist/es2019/artifacts/themes/atlassian-light-new-input-border.js +2 -14
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-iteration.js +895 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-new-input-border.js +293 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-light-new-input-border.js +293 -0
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
- package/dist/es2019/tokens/atlassian-light-new-input-border/color/border.js +1 -37
- package/dist/es2019/tokens/default/color/accent.js +16 -16
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/generated-pairs.js +1 -289
- package/dist/esm/artifacts/themes/atlassian-dark-new-input-border.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-light-new-input-border.js +2 -2
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-iteration.js +895 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-new-input-border.js +293 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-light-new-input-border.js +293 -0
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
- package/dist/esm/tokens/atlassian-light-new-input-border/color/border.js +1 -37
- package/dist/esm/tokens/default/color/accent.js +16 -16
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-dark-new-input-border.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-light-new-input-border.d.ts +2 -2
- package/dist/types/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +91 -0
- package/dist/types/artifacts/tokens-raw/atlassian-dark-new-input-border.d.ts +29 -0
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light-new-input-border.d.ts +29 -0
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types/tokens/atlassian-dark-new-input-border/color/border.d.ts +9 -3
- package/dist/types/tokens/atlassian-light-new-input-border/color/border.d.ts +9 -3
- package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-dark-new-input-border.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-light-new-input-border.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +91 -0
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-new-input-border.d.ts +29 -0
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-new-input-border.d.ts +29 -0
- package/dist/types-ts4.5/tokens/atlassian-dark-new-input-border/color/border.d.ts +9 -3
- package/dist/types-ts4.5/tokens/atlassian-light-new-input-border/color/border.d.ts +9 -3
- package/package.json +3 -1
|
@@ -7,44 +7,8 @@ exports.default = void 0;
|
|
|
7
7
|
var color = {
|
|
8
8
|
color: {
|
|
9
9
|
border: {
|
|
10
|
-
'[default]': {
|
|
11
|
-
value: 'Neutral300A'
|
|
12
|
-
},
|
|
13
|
-
bold: {
|
|
14
|
-
value: 'Neutral600'
|
|
15
|
-
},
|
|
16
|
-
inverse: {
|
|
17
|
-
value: 'Neutral0'
|
|
18
|
-
},
|
|
19
|
-
focused: {
|
|
20
|
-
value: 'Blue500'
|
|
21
|
-
},
|
|
22
10
|
input: {
|
|
23
|
-
value: '
|
|
24
|
-
},
|
|
25
|
-
disabled: {
|
|
26
|
-
value: 'Neutral200A'
|
|
27
|
-
},
|
|
28
|
-
brand: {
|
|
29
|
-
value: 'Blue700'
|
|
30
|
-
},
|
|
31
|
-
selected: {
|
|
32
|
-
value: 'Blue700'
|
|
33
|
-
},
|
|
34
|
-
danger: {
|
|
35
|
-
value: 'Red600'
|
|
36
|
-
},
|
|
37
|
-
warning: {
|
|
38
|
-
value: 'Orange600'
|
|
39
|
-
},
|
|
40
|
-
success: {
|
|
41
|
-
value: 'Green600'
|
|
42
|
-
},
|
|
43
|
-
discovery: {
|
|
44
|
-
value: 'Purple600'
|
|
45
|
-
},
|
|
46
|
-
information: {
|
|
47
|
-
value: 'Blue600'
|
|
11
|
+
value: 'Neutral500'
|
|
48
12
|
}
|
|
49
13
|
}
|
|
50
14
|
}
|
|
@@ -14,7 +14,7 @@ var color = {
|
|
|
14
14
|
group: 'paint',
|
|
15
15
|
state: 'active',
|
|
16
16
|
introduced: '0.6.0',
|
|
17
|
-
description: 'Use for blue text on
|
|
17
|
+
description: 'Use for blue text on subtlest and subtler blue accent backgrounds when there is no meaning tied to the color.'
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
bolder: {
|
|
@@ -22,7 +22,7 @@ var color = {
|
|
|
22
22
|
group: 'paint',
|
|
23
23
|
state: 'active',
|
|
24
24
|
introduced: '0.7.0',
|
|
25
|
-
description: 'Use on
|
|
25
|
+
description: 'Use for blue text on subtle blue accent backgrounds when there is no meaning tied to the color.'
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
},
|
|
@@ -32,7 +32,7 @@ var color = {
|
|
|
32
32
|
group: 'paint',
|
|
33
33
|
state: 'active',
|
|
34
34
|
introduced: '0.6.0',
|
|
35
|
-
description: 'Use for red text on
|
|
35
|
+
description: 'Use for red text on subtlest and subtler red accent backgrounds when there is no meaning tied to the color.'
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
bolder: {
|
|
@@ -40,7 +40,7 @@ var color = {
|
|
|
40
40
|
group: 'paint',
|
|
41
41
|
state: 'active',
|
|
42
42
|
introduced: '0.7.0',
|
|
43
|
-
description: 'Use on
|
|
43
|
+
description: 'Use for red text on subtle red accent backgrounds when there is no meaning tied to the color.'
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
},
|
|
@@ -50,7 +50,7 @@ var color = {
|
|
|
50
50
|
group: 'paint',
|
|
51
51
|
state: 'active',
|
|
52
52
|
introduced: '0.6.0',
|
|
53
|
-
description: 'Use for orange text on
|
|
53
|
+
description: 'Use for orange text on subtlest and subtler orange accent backgrounds when there is no meaning tied to the color.'
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
bolder: {
|
|
@@ -58,7 +58,7 @@ var color = {
|
|
|
58
58
|
group: 'paint',
|
|
59
59
|
state: 'active',
|
|
60
60
|
introduced: '0.7.0',
|
|
61
|
-
description: 'Use on
|
|
61
|
+
description: 'Use for orange text on subtle orange accent backgrounds when there is no meaning tied to the color.'
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
},
|
|
@@ -68,7 +68,7 @@ var color = {
|
|
|
68
68
|
group: 'paint',
|
|
69
69
|
state: 'active',
|
|
70
70
|
introduced: '0.6.0',
|
|
71
|
-
description: 'Use for yellow text on
|
|
71
|
+
description: 'Use for yellow text on subtlest and subtler yellow accent backgrounds when there is no meaning tied to the color.'
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
bolder: {
|
|
@@ -76,7 +76,7 @@ var color = {
|
|
|
76
76
|
group: 'paint',
|
|
77
77
|
state: 'active',
|
|
78
78
|
introduced: '0.7.0',
|
|
79
|
-
description: 'Use on
|
|
79
|
+
description: 'Use for yellow text on subtle yellow accent backgrounds when there is no meaning tied to the color.'
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
},
|
|
@@ -86,7 +86,7 @@ var color = {
|
|
|
86
86
|
group: 'paint',
|
|
87
87
|
state: 'active',
|
|
88
88
|
introduced: '0.6.0',
|
|
89
|
-
description: 'Use for green text on
|
|
89
|
+
description: 'Use for green text on subtlest and subtler green accent backgrounds when there is no meaning tied to the color.'
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
bolder: {
|
|
@@ -94,7 +94,7 @@ var color = {
|
|
|
94
94
|
group: 'paint',
|
|
95
95
|
state: 'active',
|
|
96
96
|
introduced: '0.7.0',
|
|
97
|
-
description: 'Use on
|
|
97
|
+
description: 'Use for green text on subtle green accent backgrounds when there is no meaning tied to the color.'
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
},
|
|
@@ -104,7 +104,7 @@ var color = {
|
|
|
104
104
|
group: 'paint',
|
|
105
105
|
state: 'active',
|
|
106
106
|
introduced: '0.6.0',
|
|
107
|
-
description: 'Use for purple text on
|
|
107
|
+
description: 'Use for purple text on subtlest and subtler purple accent backgrounds when there is no meaning tied to the color.'
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
bolder: {
|
|
@@ -112,7 +112,7 @@ var color = {
|
|
|
112
112
|
group: 'paint',
|
|
113
113
|
state: 'active',
|
|
114
114
|
introduced: '0.7.0',
|
|
115
|
-
description: 'Use on
|
|
115
|
+
description: 'Use for purple text on subtle purple accent backgrounds when there is no meaning tied to the color.'
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
},
|
|
@@ -122,7 +122,7 @@ var color = {
|
|
|
122
122
|
group: 'paint',
|
|
123
123
|
state: 'active',
|
|
124
124
|
introduced: '0.6.0',
|
|
125
|
-
description: 'Use for teal text on
|
|
125
|
+
description: 'Use for teal text on subtlest and subtler teal accent backgrounds when there is no meaning tied to the color.'
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
128
|
bolder: {
|
|
@@ -130,7 +130,7 @@ var color = {
|
|
|
130
130
|
group: 'paint',
|
|
131
131
|
state: 'active',
|
|
132
132
|
introduced: '0.7.0',
|
|
133
|
-
description: 'Use on
|
|
133
|
+
description: 'Use for teal text on subtle teal accent backgrounds when there is no meaning tied to the color.'
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
},
|
|
@@ -140,7 +140,7 @@ var color = {
|
|
|
140
140
|
group: 'paint',
|
|
141
141
|
state: 'active',
|
|
142
142
|
introduced: '0.6.0',
|
|
143
|
-
description: 'Use for magenta text on
|
|
143
|
+
description: 'Use for magenta text on subtlest and subtler magenta accent backgrounds when there is no meaning tied to the color.'
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
bolder: {
|
|
@@ -148,7 +148,7 @@ var color = {
|
|
|
148
148
|
group: 'paint',
|
|
149
149
|
state: 'active',
|
|
150
150
|
introduced: '0.7.0',
|
|
151
|
-
description: 'Use on
|
|
151
|
+
description: 'Use for magenta text on subtle magenta accent backgrounds when there is no meaning tied to the color.'
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
},
|
package/dist/cjs/version.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Auto-generated list of token pairings that may need to have sufficient contrast.
|
|
5
5
|
* Not currently used by tests, but is used by the custom theme contrast checker example
|
|
6
6
|
*
|
|
7
|
-
* @codegen <<SignedSource::
|
|
7
|
+
* @codegen <<SignedSource::ec8e2d34c5152b1b66186e14b261c0f1>>
|
|
8
8
|
* @codegenCommand yarn build tokens
|
|
9
9
|
*/
|
|
10
10
|
export const generatedPairs = [{
|
|
@@ -183,38 +183,6 @@ export const generatedPairs = [{
|
|
|
183
183
|
foreground: 'color.text.accent.red.bolder',
|
|
184
184
|
background: 'color.background.accent.red.subtle',
|
|
185
185
|
desiredContrast: 4.5
|
|
186
|
-
}, {
|
|
187
|
-
foreground: 'color.text.accent.red.bolder',
|
|
188
|
-
background: 'color.background.accent.orange.subtle',
|
|
189
|
-
desiredContrast: 4.5
|
|
190
|
-
}, {
|
|
191
|
-
foreground: 'color.text.accent.red.bolder',
|
|
192
|
-
background: 'color.background.accent.yellow.subtle',
|
|
193
|
-
desiredContrast: 4.5
|
|
194
|
-
}, {
|
|
195
|
-
foreground: 'color.text.accent.red.bolder',
|
|
196
|
-
background: 'color.background.accent.green.subtle',
|
|
197
|
-
desiredContrast: 4.5
|
|
198
|
-
}, {
|
|
199
|
-
foreground: 'color.text.accent.red.bolder',
|
|
200
|
-
background: 'color.background.accent.teal.subtle',
|
|
201
|
-
desiredContrast: 4.5
|
|
202
|
-
}, {
|
|
203
|
-
foreground: 'color.text.accent.red.bolder',
|
|
204
|
-
background: 'color.background.accent.blue.subtle',
|
|
205
|
-
desiredContrast: 4.5
|
|
206
|
-
}, {
|
|
207
|
-
foreground: 'color.text.accent.red.bolder',
|
|
208
|
-
background: 'color.background.accent.purple.subtle',
|
|
209
|
-
desiredContrast: 4.5
|
|
210
|
-
}, {
|
|
211
|
-
foreground: 'color.text.accent.red.bolder',
|
|
212
|
-
background: 'color.background.accent.magenta.subtle',
|
|
213
|
-
desiredContrast: 4.5
|
|
214
|
-
}, {
|
|
215
|
-
foreground: 'color.text.accent.red.bolder',
|
|
216
|
-
background: 'color.background.accent.gray.subtle',
|
|
217
|
-
desiredContrast: 4.5
|
|
218
186
|
}, {
|
|
219
187
|
foreground: 'color.text.accent.orange',
|
|
220
188
|
background: 'color.background.accent.orange.subtlest',
|
|
@@ -223,10 +191,6 @@ export const generatedPairs = [{
|
|
|
223
191
|
foreground: 'color.text.accent.orange',
|
|
224
192
|
background: 'color.background.accent.orange.subtler',
|
|
225
193
|
desiredContrast: 4.5
|
|
226
|
-
}, {
|
|
227
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
228
|
-
background: 'color.background.accent.red.subtle',
|
|
229
|
-
desiredContrast: 4.5
|
|
230
194
|
}, {
|
|
231
195
|
foreground: 'color.text.accent.orange.bolder',
|
|
232
196
|
background: 'color.background.accent.orange.subtlest',
|
|
@@ -239,34 +203,6 @@ export const generatedPairs = [{
|
|
|
239
203
|
foreground: 'color.text.accent.orange.bolder',
|
|
240
204
|
background: 'color.background.accent.orange.subtle',
|
|
241
205
|
desiredContrast: 4.5
|
|
242
|
-
}, {
|
|
243
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
244
|
-
background: 'color.background.accent.yellow.subtle',
|
|
245
|
-
desiredContrast: 4.5
|
|
246
|
-
}, {
|
|
247
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
248
|
-
background: 'color.background.accent.green.subtle',
|
|
249
|
-
desiredContrast: 4.5
|
|
250
|
-
}, {
|
|
251
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
252
|
-
background: 'color.background.accent.teal.subtle',
|
|
253
|
-
desiredContrast: 4.5
|
|
254
|
-
}, {
|
|
255
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
256
|
-
background: 'color.background.accent.blue.subtle',
|
|
257
|
-
desiredContrast: 4.5
|
|
258
|
-
}, {
|
|
259
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
260
|
-
background: 'color.background.accent.purple.subtle',
|
|
261
|
-
desiredContrast: 4.5
|
|
262
|
-
}, {
|
|
263
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
264
|
-
background: 'color.background.accent.magenta.subtle',
|
|
265
|
-
desiredContrast: 4.5
|
|
266
|
-
}, {
|
|
267
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
268
|
-
background: 'color.background.accent.gray.subtle',
|
|
269
|
-
desiredContrast: 4.5
|
|
270
206
|
}, {
|
|
271
207
|
foreground: 'color.text.accent.yellow',
|
|
272
208
|
background: 'color.background.accent.yellow.subtlest',
|
|
@@ -275,14 +211,6 @@ export const generatedPairs = [{
|
|
|
275
211
|
foreground: 'color.text.accent.yellow',
|
|
276
212
|
background: 'color.background.accent.yellow.subtler',
|
|
277
213
|
desiredContrast: 4.5
|
|
278
|
-
}, {
|
|
279
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
280
|
-
background: 'color.background.accent.red.subtle',
|
|
281
|
-
desiredContrast: 4.5
|
|
282
|
-
}, {
|
|
283
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
284
|
-
background: 'color.background.accent.orange.subtle',
|
|
285
|
-
desiredContrast: 4.5
|
|
286
214
|
}, {
|
|
287
215
|
foreground: 'color.text.accent.yellow.bolder',
|
|
288
216
|
background: 'color.background.accent.yellow.subtlest',
|
|
@@ -295,30 +223,6 @@ export const generatedPairs = [{
|
|
|
295
223
|
foreground: 'color.text.accent.yellow.bolder',
|
|
296
224
|
background: 'color.background.accent.yellow.subtle',
|
|
297
225
|
desiredContrast: 4.5
|
|
298
|
-
}, {
|
|
299
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
300
|
-
background: 'color.background.accent.green.subtle',
|
|
301
|
-
desiredContrast: 4.5
|
|
302
|
-
}, {
|
|
303
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
304
|
-
background: 'color.background.accent.teal.subtle',
|
|
305
|
-
desiredContrast: 4.5
|
|
306
|
-
}, {
|
|
307
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
308
|
-
background: 'color.background.accent.blue.subtle',
|
|
309
|
-
desiredContrast: 4.5
|
|
310
|
-
}, {
|
|
311
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
312
|
-
background: 'color.background.accent.purple.subtle',
|
|
313
|
-
desiredContrast: 4.5
|
|
314
|
-
}, {
|
|
315
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
316
|
-
background: 'color.background.accent.magenta.subtle',
|
|
317
|
-
desiredContrast: 4.5
|
|
318
|
-
}, {
|
|
319
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
320
|
-
background: 'color.background.accent.gray.subtle',
|
|
321
|
-
desiredContrast: 4.5
|
|
322
226
|
}, {
|
|
323
227
|
foreground: 'color.text.accent.green',
|
|
324
228
|
background: 'color.background.accent.green.subtlest',
|
|
@@ -327,18 +231,6 @@ export const generatedPairs = [{
|
|
|
327
231
|
foreground: 'color.text.accent.green',
|
|
328
232
|
background: 'color.background.accent.green.subtler',
|
|
329
233
|
desiredContrast: 4.5
|
|
330
|
-
}, {
|
|
331
|
-
foreground: 'color.text.accent.green.bolder',
|
|
332
|
-
background: 'color.background.accent.red.subtle',
|
|
333
|
-
desiredContrast: 4.5
|
|
334
|
-
}, {
|
|
335
|
-
foreground: 'color.text.accent.green.bolder',
|
|
336
|
-
background: 'color.background.accent.orange.subtle',
|
|
337
|
-
desiredContrast: 4.5
|
|
338
|
-
}, {
|
|
339
|
-
foreground: 'color.text.accent.green.bolder',
|
|
340
|
-
background: 'color.background.accent.yellow.subtle',
|
|
341
|
-
desiredContrast: 4.5
|
|
342
234
|
}, {
|
|
343
235
|
foreground: 'color.text.accent.green.bolder',
|
|
344
236
|
background: 'color.background.accent.green.subtlest',
|
|
@@ -351,26 +243,6 @@ export const generatedPairs = [{
|
|
|
351
243
|
foreground: 'color.text.accent.green.bolder',
|
|
352
244
|
background: 'color.background.accent.green.subtle',
|
|
353
245
|
desiredContrast: 4.5
|
|
354
|
-
}, {
|
|
355
|
-
foreground: 'color.text.accent.green.bolder',
|
|
356
|
-
background: 'color.background.accent.teal.subtle',
|
|
357
|
-
desiredContrast: 4.5
|
|
358
|
-
}, {
|
|
359
|
-
foreground: 'color.text.accent.green.bolder',
|
|
360
|
-
background: 'color.background.accent.blue.subtle',
|
|
361
|
-
desiredContrast: 4.5
|
|
362
|
-
}, {
|
|
363
|
-
foreground: 'color.text.accent.green.bolder',
|
|
364
|
-
background: 'color.background.accent.purple.subtle',
|
|
365
|
-
desiredContrast: 4.5
|
|
366
|
-
}, {
|
|
367
|
-
foreground: 'color.text.accent.green.bolder',
|
|
368
|
-
background: 'color.background.accent.magenta.subtle',
|
|
369
|
-
desiredContrast: 4.5
|
|
370
|
-
}, {
|
|
371
|
-
foreground: 'color.text.accent.green.bolder',
|
|
372
|
-
background: 'color.background.accent.gray.subtle',
|
|
373
|
-
desiredContrast: 4.5
|
|
374
246
|
}, {
|
|
375
247
|
foreground: 'color.text.accent.teal',
|
|
376
248
|
background: 'color.background.accent.teal.subtlest',
|
|
@@ -379,22 +251,6 @@ export const generatedPairs = [{
|
|
|
379
251
|
foreground: 'color.text.accent.teal',
|
|
380
252
|
background: 'color.background.accent.teal.subtler',
|
|
381
253
|
desiredContrast: 4.5
|
|
382
|
-
}, {
|
|
383
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
384
|
-
background: 'color.background.accent.red.subtle',
|
|
385
|
-
desiredContrast: 4.5
|
|
386
|
-
}, {
|
|
387
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
388
|
-
background: 'color.background.accent.orange.subtle',
|
|
389
|
-
desiredContrast: 4.5
|
|
390
|
-
}, {
|
|
391
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
392
|
-
background: 'color.background.accent.yellow.subtle',
|
|
393
|
-
desiredContrast: 4.5
|
|
394
|
-
}, {
|
|
395
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
396
|
-
background: 'color.background.accent.green.subtle',
|
|
397
|
-
desiredContrast: 4.5
|
|
398
254
|
}, {
|
|
399
255
|
foreground: 'color.text.accent.teal.bolder',
|
|
400
256
|
background: 'color.background.accent.teal.subtlest',
|
|
@@ -407,22 +263,6 @@ export const generatedPairs = [{
|
|
|
407
263
|
foreground: 'color.text.accent.teal.bolder',
|
|
408
264
|
background: 'color.background.accent.teal.subtle',
|
|
409
265
|
desiredContrast: 4.5
|
|
410
|
-
}, {
|
|
411
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
412
|
-
background: 'color.background.accent.blue.subtle',
|
|
413
|
-
desiredContrast: 4.5
|
|
414
|
-
}, {
|
|
415
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
416
|
-
background: 'color.background.accent.purple.subtle',
|
|
417
|
-
desiredContrast: 4.5
|
|
418
|
-
}, {
|
|
419
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
420
|
-
background: 'color.background.accent.magenta.subtle',
|
|
421
|
-
desiredContrast: 4.5
|
|
422
|
-
}, {
|
|
423
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
424
|
-
background: 'color.background.accent.gray.subtle',
|
|
425
|
-
desiredContrast: 4.5
|
|
426
266
|
}, {
|
|
427
267
|
foreground: 'color.text.accent.blue',
|
|
428
268
|
background: 'color.background.accent.blue.subtlest',
|
|
@@ -431,26 +271,6 @@ export const generatedPairs = [{
|
|
|
431
271
|
foreground: 'color.text.accent.blue',
|
|
432
272
|
background: 'color.background.accent.blue.subtler',
|
|
433
273
|
desiredContrast: 4.5
|
|
434
|
-
}, {
|
|
435
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
436
|
-
background: 'color.background.accent.red.subtle',
|
|
437
|
-
desiredContrast: 4.5
|
|
438
|
-
}, {
|
|
439
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
440
|
-
background: 'color.background.accent.orange.subtle',
|
|
441
|
-
desiredContrast: 4.5
|
|
442
|
-
}, {
|
|
443
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
444
|
-
background: 'color.background.accent.yellow.subtle',
|
|
445
|
-
desiredContrast: 4.5
|
|
446
|
-
}, {
|
|
447
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
448
|
-
background: 'color.background.accent.green.subtle',
|
|
449
|
-
desiredContrast: 4.5
|
|
450
|
-
}, {
|
|
451
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
452
|
-
background: 'color.background.accent.teal.subtle',
|
|
453
|
-
desiredContrast: 4.5
|
|
454
274
|
}, {
|
|
455
275
|
foreground: 'color.text.accent.blue.bolder',
|
|
456
276
|
background: 'color.background.accent.blue.subtlest',
|
|
@@ -463,18 +283,6 @@ export const generatedPairs = [{
|
|
|
463
283
|
foreground: 'color.text.accent.blue.bolder',
|
|
464
284
|
background: 'color.background.accent.blue.subtle',
|
|
465
285
|
desiredContrast: 4.5
|
|
466
|
-
}, {
|
|
467
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
468
|
-
background: 'color.background.accent.purple.subtle',
|
|
469
|
-
desiredContrast: 4.5
|
|
470
|
-
}, {
|
|
471
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
472
|
-
background: 'color.background.accent.magenta.subtle',
|
|
473
|
-
desiredContrast: 4.5
|
|
474
|
-
}, {
|
|
475
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
476
|
-
background: 'color.background.accent.gray.subtle',
|
|
477
|
-
desiredContrast: 4.5
|
|
478
286
|
}, {
|
|
479
287
|
foreground: 'color.text.accent.purple',
|
|
480
288
|
background: 'color.background.accent.purple.subtlest',
|
|
@@ -483,30 +291,6 @@ export const generatedPairs = [{
|
|
|
483
291
|
foreground: 'color.text.accent.purple',
|
|
484
292
|
background: 'color.background.accent.purple.subtler',
|
|
485
293
|
desiredContrast: 4.5
|
|
486
|
-
}, {
|
|
487
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
488
|
-
background: 'color.background.accent.red.subtle',
|
|
489
|
-
desiredContrast: 4.5
|
|
490
|
-
}, {
|
|
491
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
492
|
-
background: 'color.background.accent.orange.subtle',
|
|
493
|
-
desiredContrast: 4.5
|
|
494
|
-
}, {
|
|
495
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
496
|
-
background: 'color.background.accent.yellow.subtle',
|
|
497
|
-
desiredContrast: 4.5
|
|
498
|
-
}, {
|
|
499
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
500
|
-
background: 'color.background.accent.green.subtle',
|
|
501
|
-
desiredContrast: 4.5
|
|
502
|
-
}, {
|
|
503
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
504
|
-
background: 'color.background.accent.teal.subtle',
|
|
505
|
-
desiredContrast: 4.5
|
|
506
|
-
}, {
|
|
507
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
508
|
-
background: 'color.background.accent.blue.subtle',
|
|
509
|
-
desiredContrast: 4.5
|
|
510
294
|
}, {
|
|
511
295
|
foreground: 'color.text.accent.purple.bolder',
|
|
512
296
|
background: 'color.background.accent.purple.subtlest',
|
|
@@ -519,14 +303,6 @@ export const generatedPairs = [{
|
|
|
519
303
|
foreground: 'color.text.accent.purple.bolder',
|
|
520
304
|
background: 'color.background.accent.purple.subtle',
|
|
521
305
|
desiredContrast: 4.5
|
|
522
|
-
}, {
|
|
523
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
524
|
-
background: 'color.background.accent.magenta.subtle',
|
|
525
|
-
desiredContrast: 4.5
|
|
526
|
-
}, {
|
|
527
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
528
|
-
background: 'color.background.accent.gray.subtle',
|
|
529
|
-
desiredContrast: 4.5
|
|
530
306
|
}, {
|
|
531
307
|
foreground: 'color.text.accent.magenta',
|
|
532
308
|
background: 'color.background.accent.magenta.subtlest',
|
|
@@ -535,34 +311,6 @@ export const generatedPairs = [{
|
|
|
535
311
|
foreground: 'color.text.accent.magenta',
|
|
536
312
|
background: 'color.background.accent.magenta.subtler',
|
|
537
313
|
desiredContrast: 4.5
|
|
538
|
-
}, {
|
|
539
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
540
|
-
background: 'color.background.accent.red.subtle',
|
|
541
|
-
desiredContrast: 4.5
|
|
542
|
-
}, {
|
|
543
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
544
|
-
background: 'color.background.accent.orange.subtle',
|
|
545
|
-
desiredContrast: 4.5
|
|
546
|
-
}, {
|
|
547
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
548
|
-
background: 'color.background.accent.yellow.subtle',
|
|
549
|
-
desiredContrast: 4.5
|
|
550
|
-
}, {
|
|
551
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
552
|
-
background: 'color.background.accent.green.subtle',
|
|
553
|
-
desiredContrast: 4.5
|
|
554
|
-
}, {
|
|
555
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
556
|
-
background: 'color.background.accent.teal.subtle',
|
|
557
|
-
desiredContrast: 4.5
|
|
558
|
-
}, {
|
|
559
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
560
|
-
background: 'color.background.accent.blue.subtle',
|
|
561
|
-
desiredContrast: 4.5
|
|
562
|
-
}, {
|
|
563
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
564
|
-
background: 'color.background.accent.purple.subtle',
|
|
565
|
-
desiredContrast: 4.5
|
|
566
314
|
}, {
|
|
567
315
|
foreground: 'color.text.accent.magenta.bolder',
|
|
568
316
|
background: 'color.background.accent.magenta.subtlest',
|
|
@@ -575,10 +323,6 @@ export const generatedPairs = [{
|
|
|
575
323
|
foreground: 'color.text.accent.magenta.bolder',
|
|
576
324
|
background: 'color.background.accent.magenta.subtle',
|
|
577
325
|
desiredContrast: 4.5
|
|
578
|
-
}, {
|
|
579
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
580
|
-
background: 'color.background.accent.gray.subtle',
|
|
581
|
-
desiredContrast: 4.5
|
|
582
326
|
}, {
|
|
583
327
|
foreground: 'color.text.accent.gray',
|
|
584
328
|
background: 'color.background.accent.gray.subtlest',
|
|
@@ -587,38 +331,6 @@ export const generatedPairs = [{
|
|
|
587
331
|
foreground: 'color.text.accent.gray',
|
|
588
332
|
background: 'color.background.accent.gray.subtler',
|
|
589
333
|
desiredContrast: 4.5
|
|
590
|
-
}, {
|
|
591
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
592
|
-
background: 'color.background.accent.red.subtle',
|
|
593
|
-
desiredContrast: 4.5
|
|
594
|
-
}, {
|
|
595
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
596
|
-
background: 'color.background.accent.orange.subtle',
|
|
597
|
-
desiredContrast: 4.5
|
|
598
|
-
}, {
|
|
599
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
600
|
-
background: 'color.background.accent.yellow.subtle',
|
|
601
|
-
desiredContrast: 4.5
|
|
602
|
-
}, {
|
|
603
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
604
|
-
background: 'color.background.accent.green.subtle',
|
|
605
|
-
desiredContrast: 4.5
|
|
606
|
-
}, {
|
|
607
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
608
|
-
background: 'color.background.accent.teal.subtle',
|
|
609
|
-
desiredContrast: 4.5
|
|
610
|
-
}, {
|
|
611
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
612
|
-
background: 'color.background.accent.blue.subtle',
|
|
613
|
-
desiredContrast: 4.5
|
|
614
|
-
}, {
|
|
615
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
616
|
-
background: 'color.background.accent.purple.subtle',
|
|
617
|
-
desiredContrast: 4.5
|
|
618
|
-
}, {
|
|
619
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
620
|
-
background: 'color.background.accent.magenta.subtle',
|
|
621
|
-
desiredContrast: 4.5
|
|
622
334
|
}, {
|
|
623
335
|
foreground: 'color.text.accent.gray.bolder',
|
|
624
336
|
background: 'color.background.accent.gray.subtlest',
|
|
@@ -1,24 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::b255ff03ae4f781bb3016003a111bed0>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
export default `
|
|
7
7
|
html[data-color-mode="light"][data-theme~="light:dark"],
|
|
8
8
|
html[data-color-mode="dark"][data-theme~="dark:dark"] {
|
|
9
9
|
color-scheme: dark;
|
|
10
|
-
--ds-border: #
|
|
11
|
-
--ds-border-disabled: #A1BDD914;
|
|
12
|
-
--ds-border-focused: #85B8FF;
|
|
13
|
-
--ds-border-input: #738496;
|
|
14
|
-
--ds-border-inverse: #161A1D;
|
|
15
|
-
--ds-border-selected: #579DFF;
|
|
16
|
-
--ds-border-brand: #579DFF;
|
|
17
|
-
--ds-border-danger: #EF5C48;
|
|
18
|
-
--ds-border-warning: #CF9F02;
|
|
19
|
-
--ds-border-success: #2ABB7F;
|
|
20
|
-
--ds-border-discovery: #8F7EE7;
|
|
21
|
-
--ds-border-information: #388BFF;
|
|
22
|
-
--ds-border-bold: #738496;
|
|
10
|
+
--ds-border-input: #596773;
|
|
23
11
|
}
|
|
24
12
|
`;
|
|
@@ -1,24 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::b14cc1106ad737bfef0b77e4b645c1df>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
export default `
|
|
7
7
|
html[data-color-mode="light"][data-theme~="light:light"],
|
|
8
8
|
html[data-color-mode="dark"][data-theme~="dark:light"] {
|
|
9
9
|
color-scheme: light;
|
|
10
|
-
--ds-border: #
|
|
11
|
-
--ds-border-disabled: #091E420F;
|
|
12
|
-
--ds-border-focused: #388BFF;
|
|
13
|
-
--ds-border-input: #758195;
|
|
14
|
-
--ds-border-inverse: #FFFFFF;
|
|
15
|
-
--ds-border-selected: #0C66E4;
|
|
16
|
-
--ds-border-brand: #0C66E4;
|
|
17
|
-
--ds-border-danger: #E34935;
|
|
18
|
-
--ds-border-warning: #D97008;
|
|
19
|
-
--ds-border-success: #22A06B;
|
|
20
|
-
--ds-border-discovery: #8270DB;
|
|
21
|
-
--ds-border-information: #1D7AFC;
|
|
22
|
-
--ds-border-bold: #758195;
|
|
10
|
+
--ds-border-input: #8590A2;
|
|
23
11
|
}
|
|
24
12
|
`;
|