@primer/primitives 7.11.8-rc.fa82fd1 → 7.11.8
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/package.json +2 -2
- package/tokens-next-private/css/functional/themes/dark-colorblind.css +6 -8
- package/tokens-next-private/css/functional/themes/dark-dimmed.css +6 -8
- package/tokens-next-private/css/functional/themes/dark-high-contrast.css +8 -10
- package/tokens-next-private/css/functional/themes/dark-tritanopia.css +6 -8
- package/tokens-next-private/css/functional/themes/dark.css +6 -8
- package/tokens-next-private/css/functional/themes/light-colorblind.css +8 -10
- package/tokens-next-private/css/functional/themes/light-high-contrast.css +12 -14
- package/tokens-next-private/css/functional/themes/light-tritanopia.css +8 -10
- package/tokens-next-private/css/functional/themes/light.css +8 -10
- package/tokens-next-private/docs/functional/themes/dark-colorblind.json +37 -40
- package/tokens-next-private/docs/functional/themes/dark-dimmed.json +37 -40
- package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +41 -44
- package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +37 -40
- package/tokens-next-private/docs/functional/themes/dark.json +37 -40
- package/tokens-next-private/docs/functional/themes/light-colorblind.json +41 -42
- package/tokens-next-private/docs/functional/themes/light-high-contrast.json +49 -50
- package/tokens-next-private/docs/functional/themes/light-tritanopia.json +41 -42
- package/tokens-next-private/docs/functional/themes/light.json +41 -42
- package/tokens-next-private/fallbacks/color-fallbacks.json +245 -0
- package/tokens-next-private/js/functional/themes/dark-colorblind.js +7 -6
- package/tokens-next-private/js/functional/themes/dark-dimmed.js +7 -6
- package/tokens-next-private/js/functional/themes/dark-high-contrast.js +8 -7
- package/tokens-next-private/js/functional/themes/dark-tritanopia.js +7 -6
- package/tokens-next-private/js/functional/themes/dark.js +7 -6
- package/tokens-next-private/js/functional/themes/light-colorblind.js +8 -7
- package/tokens-next-private/js/functional/themes/light-high-contrast.js +10 -9
- package/tokens-next-private/js/functional/themes/light-tritanopia.js +8 -7
- package/tokens-next-private/js/functional/themes/light.js +8 -7
- package/tokens-next-private/json/functional/themes/dark-colorblind.json +8 -7
- package/tokens-next-private/json/functional/themes/dark-dimmed.json +8 -7
- package/tokens-next-private/json/functional/themes/dark-high-contrast.json +9 -8
- package/tokens-next-private/json/functional/themes/dark-tritanopia.json +8 -7
- package/tokens-next-private/json/functional/themes/dark.json +8 -7
- package/tokens-next-private/json/functional/themes/light-colorblind.json +9 -8
- package/tokens-next-private/json/functional/themes/light-high-contrast.json +11 -10
- package/tokens-next-private/json/functional/themes/light-tritanopia.json +9 -8
- package/tokens-next-private/json/functional/themes/light.json +9 -8
- package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +3 -4
- package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +3 -4
- package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +4 -5
- package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +3 -4
- package/tokens-next-private/scss/functional/themes/dark.scss +3 -4
- package/tokens-next-private/scss/functional/themes/light-colorblind.scss +4 -5
- package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +6 -7
- package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +4 -5
- package/tokens-next-private/scss/functional/themes/light.scss +4 -5
- package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +7 -6
- package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +7 -6
- package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +8 -7
- package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +7 -6
- package/tokens-next-private/ts/functional/themes/dark.ts +7 -6
- package/tokens-next-private/ts/functional/themes/light-colorblind.ts +8 -7
- package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +10 -9
- package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +8 -7
- package/tokens-next-private/ts/functional/themes/light.ts +8 -7
- package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +1 -1
- package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +1 -1
- package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +6 -5
- package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +1 -1
- package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
- package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
|
@@ -181,8 +181,8 @@ export default {
|
|
|
181
181
|
},
|
|
182
182
|
borderColor: {
|
|
183
183
|
rest: "#409eff",
|
|
184
|
-
hover: "#
|
|
185
|
-
active: "#
|
|
184
|
+
hover: "#4aa3ff",
|
|
185
|
+
active: "#54a8ff",
|
|
186
186
|
disabled: "#7a828e",
|
|
187
187
|
},
|
|
188
188
|
},
|
|
@@ -333,6 +333,11 @@ export default {
|
|
|
333
333
|
rest: "#525964",
|
|
334
334
|
},
|
|
335
335
|
},
|
|
336
|
+
invisible: {
|
|
337
|
+
bgColor: {
|
|
338
|
+
rest: "#525964",
|
|
339
|
+
},
|
|
340
|
+
},
|
|
336
341
|
primary: {
|
|
337
342
|
bgColor: {
|
|
338
343
|
rest: "#01040926",
|
|
@@ -414,10 +419,6 @@ export default {
|
|
|
414
419
|
disabled: "#7a828e",
|
|
415
420
|
link: {
|
|
416
421
|
rest: "#409eff",
|
|
417
|
-
inverse: {
|
|
418
|
-
rest: "#409eff",
|
|
419
|
-
},
|
|
420
|
-
control: "#939ca8",
|
|
421
422
|
},
|
|
422
423
|
accent: "#409eff",
|
|
423
424
|
success: "#26cd4d",
|
|
@@ -481,7 +482,7 @@ export default {
|
|
|
481
482
|
emphasis: "#7a828e",
|
|
482
483
|
disabled: "#7a828e",
|
|
483
484
|
neutral: {
|
|
484
|
-
muted: "#
|
|
485
|
+
muted: "#9ea7b3",
|
|
485
486
|
emphasis: "#9ea7b3",
|
|
486
487
|
},
|
|
487
488
|
accent: {
|
|
@@ -181,8 +181,8 @@ export default {
|
|
|
181
181
|
},
|
|
182
182
|
borderColor: {
|
|
183
183
|
rest: "#1f6feb",
|
|
184
|
-
hover: "#
|
|
185
|
-
active: "#
|
|
184
|
+
hover: "#2a7aef",
|
|
185
|
+
active: "#3685f3",
|
|
186
186
|
disabled: "#484f58",
|
|
187
187
|
},
|
|
188
188
|
},
|
|
@@ -333,6 +333,11 @@ export default {
|
|
|
333
333
|
rest: "#30363d",
|
|
334
334
|
},
|
|
335
335
|
},
|
|
336
|
+
invisible: {
|
|
337
|
+
bgColor: {
|
|
338
|
+
rest: "#30363d",
|
|
339
|
+
},
|
|
340
|
+
},
|
|
336
341
|
primary: {
|
|
337
342
|
bgColor: {
|
|
338
343
|
rest: "#04260f33",
|
|
@@ -414,10 +419,6 @@ export default {
|
|
|
414
419
|
disabled: "#484f58",
|
|
415
420
|
link: {
|
|
416
421
|
rest: "#2f81f7",
|
|
417
|
-
inverse: {
|
|
418
|
-
rest: "#1f6feb",
|
|
419
|
-
},
|
|
420
|
-
control: "#636a75",
|
|
421
422
|
},
|
|
422
423
|
accent: "#2f81f7",
|
|
423
424
|
success: "#58a6ff",
|
|
@@ -181,8 +181,8 @@ export default {
|
|
|
181
181
|
},
|
|
182
182
|
borderColor: {
|
|
183
183
|
rest: "#1f6feb",
|
|
184
|
-
hover: "#
|
|
185
|
-
active: "#
|
|
184
|
+
hover: "#2a7aef",
|
|
185
|
+
active: "#3685f3",
|
|
186
186
|
disabled: "#484f58",
|
|
187
187
|
},
|
|
188
188
|
},
|
|
@@ -333,6 +333,11 @@ export default {
|
|
|
333
333
|
rest: "#30363d",
|
|
334
334
|
},
|
|
335
335
|
},
|
|
336
|
+
invisible: {
|
|
337
|
+
bgColor: {
|
|
338
|
+
rest: "#30363d",
|
|
339
|
+
},
|
|
340
|
+
},
|
|
336
341
|
primary: {
|
|
337
342
|
bgColor: {
|
|
338
343
|
rest: "#04260f33",
|
|
@@ -414,10 +419,6 @@ export default {
|
|
|
414
419
|
disabled: "#484f58",
|
|
415
420
|
link: {
|
|
416
421
|
rest: "#2f81f7",
|
|
417
|
-
inverse: {
|
|
418
|
-
rest: "#1f6feb",
|
|
419
|
-
},
|
|
420
|
-
control: "#636a75",
|
|
421
422
|
},
|
|
422
423
|
accent: "#2f81f7",
|
|
423
424
|
success: "#3fb950",
|
|
@@ -181,8 +181,8 @@ export default {
|
|
|
181
181
|
},
|
|
182
182
|
borderColor: {
|
|
183
183
|
rest: "#0969da",
|
|
184
|
-
hover: "#
|
|
185
|
-
active: "#
|
|
184
|
+
hover: "#0860ca",
|
|
185
|
+
active: "#0757ba",
|
|
186
186
|
disabled: "#8c959f",
|
|
187
187
|
},
|
|
188
188
|
},
|
|
@@ -330,7 +330,12 @@ export default {
|
|
|
330
330
|
buttonCounter: {
|
|
331
331
|
default: {
|
|
332
332
|
bgColor: {
|
|
333
|
-
rest: "#
|
|
333
|
+
rest: "#eaeef2",
|
|
334
|
+
},
|
|
335
|
+
},
|
|
336
|
+
invisible: {
|
|
337
|
+
bgColor: {
|
|
338
|
+
rest: "#eaeef2",
|
|
334
339
|
},
|
|
335
340
|
},
|
|
336
341
|
primary: {
|
|
@@ -415,10 +420,6 @@ export default {
|
|
|
415
420
|
disabled: "#8c959f",
|
|
416
421
|
link: {
|
|
417
422
|
rest: "#0969da",
|
|
418
|
-
inverse: {
|
|
419
|
-
rest: "#54aeff",
|
|
420
|
-
},
|
|
421
|
-
control: "#868f99",
|
|
422
423
|
},
|
|
423
424
|
accent: "#0969da",
|
|
424
425
|
success: "#0969da",
|
|
@@ -181,8 +181,8 @@ export default {
|
|
|
181
181
|
},
|
|
182
182
|
borderColor: {
|
|
183
183
|
rest: "#0349b4",
|
|
184
|
-
hover: "#
|
|
185
|
-
active: "#
|
|
184
|
+
hover: "#0344a8",
|
|
185
|
+
active: "#033f9d",
|
|
186
186
|
disabled: "#88929d",
|
|
187
187
|
},
|
|
188
188
|
},
|
|
@@ -330,7 +330,12 @@ export default {
|
|
|
330
330
|
buttonCounter: {
|
|
331
331
|
default: {
|
|
332
332
|
bgColor: {
|
|
333
|
-
rest: "#
|
|
333
|
+
rest: "#66707b33",
|
|
334
|
+
},
|
|
335
|
+
},
|
|
336
|
+
invisible: {
|
|
337
|
+
bgColor: {
|
|
338
|
+
rest: "#66707b33",
|
|
334
339
|
},
|
|
335
340
|
},
|
|
336
341
|
primary: {
|
|
@@ -402,7 +407,7 @@ export default {
|
|
|
402
407
|
underlineNav: {
|
|
403
408
|
borderColor: {
|
|
404
409
|
active: "#cd3425",
|
|
405
|
-
hover: "#
|
|
410
|
+
hover: "#88929d",
|
|
406
411
|
},
|
|
407
412
|
iconColor: {
|
|
408
413
|
rest: "#0e1116",
|
|
@@ -415,10 +420,6 @@ export default {
|
|
|
415
420
|
disabled: "#88929d",
|
|
416
421
|
link: {
|
|
417
422
|
rest: "#023b95",
|
|
418
|
-
inverse: {
|
|
419
|
-
rest: "#368cf9",
|
|
420
|
-
},
|
|
421
|
-
control: "#818b96",
|
|
422
423
|
},
|
|
423
424
|
accent: "#023b95",
|
|
424
425
|
success: "#055d20",
|
|
@@ -482,7 +483,7 @@ export default {
|
|
|
482
483
|
emphasis: "#66707b",
|
|
483
484
|
disabled: "#20252c",
|
|
484
485
|
neutral: {
|
|
485
|
-
muted: "#
|
|
486
|
+
muted: "#88929d",
|
|
486
487
|
emphasis: "#66707b",
|
|
487
488
|
},
|
|
488
489
|
accent: {
|
|
@@ -181,8 +181,8 @@ export default {
|
|
|
181
181
|
},
|
|
182
182
|
borderColor: {
|
|
183
183
|
rest: "#0969da",
|
|
184
|
-
hover: "#
|
|
185
|
-
active: "#
|
|
184
|
+
hover: "#0860ca",
|
|
185
|
+
active: "#0757ba",
|
|
186
186
|
disabled: "#8c959f",
|
|
187
187
|
},
|
|
188
188
|
},
|
|
@@ -330,7 +330,12 @@ export default {
|
|
|
330
330
|
buttonCounter: {
|
|
331
331
|
default: {
|
|
332
332
|
bgColor: {
|
|
333
|
-
rest: "#
|
|
333
|
+
rest: "#eaeef2",
|
|
334
|
+
},
|
|
335
|
+
},
|
|
336
|
+
invisible: {
|
|
337
|
+
bgColor: {
|
|
338
|
+
rest: "#eaeef2",
|
|
334
339
|
},
|
|
335
340
|
},
|
|
336
341
|
primary: {
|
|
@@ -415,10 +420,6 @@ export default {
|
|
|
415
420
|
disabled: "#8c959f",
|
|
416
421
|
link: {
|
|
417
422
|
rest: "#0969da",
|
|
418
|
-
inverse: {
|
|
419
|
-
rest: "#54aeff",
|
|
420
|
-
},
|
|
421
|
-
control: "#868f99",
|
|
422
423
|
},
|
|
423
424
|
accent: "#0969da",
|
|
424
425
|
success: "#0969da",
|
|
@@ -181,8 +181,8 @@ export default {
|
|
|
181
181
|
},
|
|
182
182
|
borderColor: {
|
|
183
183
|
rest: "#0969da",
|
|
184
|
-
hover: "#
|
|
185
|
-
active: "#
|
|
184
|
+
hover: "#0860ca",
|
|
185
|
+
active: "#0757ba",
|
|
186
186
|
disabled: "#8c959f",
|
|
187
187
|
},
|
|
188
188
|
},
|
|
@@ -330,7 +330,12 @@ export default {
|
|
|
330
330
|
buttonCounter: {
|
|
331
331
|
default: {
|
|
332
332
|
bgColor: {
|
|
333
|
-
rest: "#
|
|
333
|
+
rest: "#eaeef2",
|
|
334
|
+
},
|
|
335
|
+
},
|
|
336
|
+
invisible: {
|
|
337
|
+
bgColor: {
|
|
338
|
+
rest: "#eaeef2",
|
|
334
339
|
},
|
|
335
340
|
},
|
|
336
341
|
primary: {
|
|
@@ -415,10 +420,6 @@ export default {
|
|
|
415
420
|
disabled: "#8c959f",
|
|
416
421
|
link: {
|
|
417
422
|
rest: "#0969da",
|
|
418
|
-
inverse: {
|
|
419
|
-
rest: "#54aeff",
|
|
420
|
-
},
|
|
421
|
-
control: "#868f99",
|
|
422
423
|
},
|
|
423
424
|
accent: "#0969da",
|
|
424
425
|
success: "#1a7f37",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Tue, 09 May 2023
|
|
3
|
+
* Generated on Tue, 09 May 2023 21:36:52 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -355,6 +355,11 @@ export type ThemeDesignTokens = {
|
|
|
355
355
|
rest: ColorHex;
|
|
356
356
|
};
|
|
357
357
|
};
|
|
358
|
+
invisible: {
|
|
359
|
+
bgColor: {
|
|
360
|
+
rest: ColorHex;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
358
363
|
primary: {
|
|
359
364
|
bgColor: {
|
|
360
365
|
rest: ColorHex;
|
|
@@ -437,10 +442,6 @@ export type ThemeDesignTokens = {
|
|
|
437
442
|
disabled: ColorHex;
|
|
438
443
|
link: {
|
|
439
444
|
rest: ColorHex;
|
|
440
|
-
inverse: {
|
|
441
|
-
rest: ColorHex;
|
|
442
|
-
};
|
|
443
|
-
control: ColorHex;
|
|
444
445
|
};
|
|
445
446
|
accent: ColorHex;
|
|
446
447
|
success: ColorHex;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Tue, 09 May 2023
|
|
3
|
+
* Generated on Tue, 09 May 2023 21:36:43 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const PrimerFontStackSystem = "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'";
|