@primer/primitives 7.11.7 → 7.11.8-rc.112cf72
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 +1 -1
- package/tokens-next-private/css/functional/themes/dark-colorblind.css +86 -94
- package/tokens-next-private/css/functional/themes/dark-dimmed.css +86 -94
- package/tokens-next-private/css/functional/themes/dark-high-contrast.css +86 -94
- package/tokens-next-private/css/functional/themes/dark-tritanopia.css +86 -94
- package/tokens-next-private/css/functional/themes/dark.css +86 -94
- package/tokens-next-private/css/functional/themes/light-colorblind.css +50 -4
- package/tokens-next-private/css/functional/themes/light-high-contrast.css +50 -4
- package/tokens-next-private/css/functional/themes/light-tritanopia.css +50 -4
- package/tokens-next-private/css/functional/themes/light.css +50 -4
- package/tokens-next-private/docs/functional/themes/dark-colorblind.json +133 -185
- package/tokens-next-private/docs/functional/themes/dark-dimmed.json +133 -185
- package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +133 -185
- package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +133 -185
- package/tokens-next-private/docs/functional/themes/dark.json +133 -185
- package/tokens-next-private/docs/functional/themes/light-colorblind.json +317 -18
- package/tokens-next-private/docs/functional/themes/light-high-contrast.json +317 -18
- package/tokens-next-private/docs/functional/themes/light-tritanopia.json +317 -18
- package/tokens-next-private/docs/functional/themes/light.json +317 -18
- package/tokens-next-private/js/functional/themes/dark-colorblind.js +77 -45
- package/tokens-next-private/js/functional/themes/dark-dimmed.js +77 -45
- package/tokens-next-private/js/functional/themes/dark-high-contrast.js +77 -45
- package/tokens-next-private/js/functional/themes/dark-tritanopia.js +77 -45
- package/tokens-next-private/js/functional/themes/dark.js +77 -45
- package/tokens-next-private/js/functional/themes/light-colorblind.js +39 -30
- package/tokens-next-private/js/functional/themes/light-high-contrast.js +39 -30
- package/tokens-next-private/js/functional/themes/light-tritanopia.js +39 -30
- package/tokens-next-private/js/functional/themes/light.js +39 -30
- package/tokens-next-private/json/functional/themes/dark-colorblind.json +79 -47
- package/tokens-next-private/json/functional/themes/dark-dimmed.json +79 -47
- package/tokens-next-private/json/functional/themes/dark-high-contrast.json +79 -47
- package/tokens-next-private/json/functional/themes/dark-tritanopia.json +79 -47
- package/tokens-next-private/json/functional/themes/dark.json +79 -47
- package/tokens-next-private/json/functional/themes/light-colorblind.json +39 -30
- package/tokens-next-private/json/functional/themes/light-high-contrast.json +39 -30
- package/tokens-next-private/json/functional/themes/light-tritanopia.json +39 -30
- package/tokens-next-private/json/functional/themes/light.json +39 -30
- package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +43 -47
- package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +43 -47
- package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +43 -47
- package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +43 -47
- package/tokens-next-private/scss/functional/themes/dark.scss +43 -47
- package/tokens-next-private/scss/functional/themes/light-colorblind.scss +25 -2
- package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +25 -2
- package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +25 -2
- package/tokens-next-private/scss/functional/themes/light.scss +25 -2
- package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +77 -45
- package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +77 -45
- package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +77 -45
- package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +77 -45
- package/tokens-next-private/ts/functional/themes/dark.ts +77 -45
- package/tokens-next-private/ts/functional/themes/light-colorblind.ts +39 -30
- package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +39 -30
- package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +39 -30
- package/tokens-next-private/ts/functional/themes/light.ts +39 -30
- 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 +40 -31
- 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
|
@@ -513,31 +513,23 @@ export default {
|
|
|
513
513
|
},
|
|
514
514
|
color: {
|
|
515
515
|
ansi: {
|
|
516
|
-
black:
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
white:
|
|
520
|
-
bright: "#8c959f",
|
|
521
|
-
},
|
|
516
|
+
black: "#24292f",
|
|
517
|
+
"black-bright": "#57606a",
|
|
518
|
+
white: "#6e7781",
|
|
519
|
+
"white-bright": "#8c959f",
|
|
522
520
|
gray: "#6e7781",
|
|
523
|
-
red:
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
green:
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
magenta: {
|
|
536
|
-
bright: "#a475f9",
|
|
537
|
-
},
|
|
538
|
-
cyan: {
|
|
539
|
-
bright: "#3192aa",
|
|
540
|
-
},
|
|
521
|
+
red: "#cf222e",
|
|
522
|
+
"red-bright": "#a40e26",
|
|
523
|
+
green: "#0550ae",
|
|
524
|
+
"green-bright": "#0969da",
|
|
525
|
+
yellow: "#4d2d00",
|
|
526
|
+
"yellow-bright": "#633c01",
|
|
527
|
+
blue: "#0969da",
|
|
528
|
+
"blue-bright": "#218bff",
|
|
529
|
+
magenta: "#8250df",
|
|
530
|
+
"magenta-bright": "#a475f9",
|
|
531
|
+
cyan: "#1b7c83",
|
|
532
|
+
"cyan-bright": "#3192aa",
|
|
541
533
|
},
|
|
542
534
|
prettylights: {
|
|
543
535
|
syntax: {
|
|
@@ -549,34 +541,51 @@ export default {
|
|
|
549
541
|
},
|
|
550
542
|
},
|
|
551
543
|
},
|
|
552
|
-
entity:
|
|
553
|
-
tag: "#0550ae",
|
|
554
|
-
},
|
|
544
|
+
entity: "#8250df",
|
|
555
545
|
storage: {
|
|
556
546
|
modifier: {
|
|
557
547
|
import: "#24292f",
|
|
558
548
|
},
|
|
559
549
|
},
|
|
550
|
+
"entity-tag": "#0550ae",
|
|
560
551
|
keyword: "#cf222e",
|
|
561
|
-
string:
|
|
562
|
-
regexp: "#0550ae",
|
|
563
|
-
},
|
|
552
|
+
string: "#0a3069",
|
|
564
553
|
variable: "#a40e26",
|
|
565
554
|
brackethighlighter: {
|
|
566
555
|
angle: "#57606a",
|
|
567
556
|
},
|
|
568
557
|
invalid: {
|
|
569
558
|
illegal: {
|
|
559
|
+
text: "#f6f8fa",
|
|
570
560
|
bg: "#82071e",
|
|
571
561
|
},
|
|
572
562
|
},
|
|
573
563
|
carriage: {
|
|
574
564
|
return: {
|
|
565
|
+
text: "#f6f8fa",
|
|
575
566
|
bg: "#cf222e",
|
|
576
567
|
},
|
|
577
568
|
},
|
|
569
|
+
"string-regexp": "#0550ae",
|
|
578
570
|
markup: {
|
|
571
|
+
list: "#3b2300",
|
|
572
|
+
heading: "#0550ae",
|
|
573
|
+
italic: "#24292f",
|
|
574
|
+
bold: "#24292f",
|
|
575
|
+
deleted: {
|
|
576
|
+
text: "#82071e",
|
|
577
|
+
bg: "#ffebe9",
|
|
578
|
+
},
|
|
579
|
+
inserted: {
|
|
580
|
+
text: "#0550ae",
|
|
581
|
+
bg: "#ddf4ff",
|
|
582
|
+
},
|
|
583
|
+
changed: {
|
|
584
|
+
text: "#a40e26",
|
|
585
|
+
bg: "#ffcecb",
|
|
586
|
+
},
|
|
579
587
|
ignored: {
|
|
588
|
+
text: "#eaeef2",
|
|
580
589
|
bg: "#0550ae",
|
|
581
590
|
},
|
|
582
591
|
},
|
|
@@ -513,31 +513,23 @@ export default {
|
|
|
513
513
|
},
|
|
514
514
|
color: {
|
|
515
515
|
ansi: {
|
|
516
|
-
black:
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
white:
|
|
520
|
-
bright: "#8c959f",
|
|
521
|
-
},
|
|
516
|
+
black: "#24292f",
|
|
517
|
+
"black-bright": "#57606a",
|
|
518
|
+
white: "#6e7781",
|
|
519
|
+
"white-bright": "#8c959f",
|
|
522
520
|
gray: "#6e7781",
|
|
523
|
-
red:
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
green:
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
magenta: {
|
|
536
|
-
bright: "#a475f9",
|
|
537
|
-
},
|
|
538
|
-
cyan: {
|
|
539
|
-
bright: "#3192aa",
|
|
540
|
-
},
|
|
521
|
+
red: "#cf222e",
|
|
522
|
+
"red-bright": "#a40e26",
|
|
523
|
+
green: "#116329",
|
|
524
|
+
"green-bright": "#1a7f37",
|
|
525
|
+
yellow: "#4d2d00",
|
|
526
|
+
"yellow-bright": "#633c01",
|
|
527
|
+
blue: "#0969da",
|
|
528
|
+
"blue-bright": "#218bff",
|
|
529
|
+
magenta: "#8250df",
|
|
530
|
+
"magenta-bright": "#a475f9",
|
|
531
|
+
cyan: "#1b7c83",
|
|
532
|
+
"cyan-bright": "#3192aa",
|
|
541
533
|
},
|
|
542
534
|
prettylights: {
|
|
543
535
|
syntax: {
|
|
@@ -549,34 +541,51 @@ export default {
|
|
|
549
541
|
},
|
|
550
542
|
},
|
|
551
543
|
},
|
|
552
|
-
entity:
|
|
553
|
-
tag: "#0550ae",
|
|
554
|
-
},
|
|
544
|
+
entity: "#8250df",
|
|
555
545
|
storage: {
|
|
556
546
|
modifier: {
|
|
557
547
|
import: "#24292f",
|
|
558
548
|
},
|
|
559
549
|
},
|
|
550
|
+
"entity-tag": "#0550ae",
|
|
560
551
|
keyword: "#cf222e",
|
|
561
|
-
string:
|
|
562
|
-
regexp: "#116329",
|
|
563
|
-
},
|
|
552
|
+
string: "#0a3069",
|
|
564
553
|
variable: "#953800",
|
|
565
554
|
brackethighlighter: {
|
|
566
555
|
angle: "#57606a",
|
|
567
556
|
},
|
|
568
557
|
invalid: {
|
|
569
558
|
illegal: {
|
|
559
|
+
text: "#f6f8fa",
|
|
570
560
|
bg: "#82071e",
|
|
571
561
|
},
|
|
572
562
|
},
|
|
573
563
|
carriage: {
|
|
574
564
|
return: {
|
|
565
|
+
text: "#f6f8fa",
|
|
575
566
|
bg: "#cf222e",
|
|
576
567
|
},
|
|
577
568
|
},
|
|
569
|
+
"string-regexp": "#116329",
|
|
578
570
|
markup: {
|
|
571
|
+
list: "#3b2300",
|
|
572
|
+
heading: "#0550ae",
|
|
573
|
+
italic: "#24292f",
|
|
574
|
+
bold: "#24292f",
|
|
575
|
+
deleted: {
|
|
576
|
+
text: "#82071e",
|
|
577
|
+
bg: "#ffebe9",
|
|
578
|
+
},
|
|
579
|
+
inserted: {
|
|
580
|
+
text: "#116329",
|
|
581
|
+
bg: "#dafbe1",
|
|
582
|
+
},
|
|
583
|
+
changed: {
|
|
584
|
+
text: "#953800",
|
|
585
|
+
bg: "#ffd8b5",
|
|
586
|
+
},
|
|
579
587
|
ignored: {
|
|
588
|
+
text: "#eaeef2",
|
|
580
589
|
bg: "#0550ae",
|
|
581
590
|
},
|
|
582
591
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 24 Apr 2023 13:58:46 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -535,31 +535,23 @@ export type ThemeDesignTokens = {
|
|
|
535
535
|
};
|
|
536
536
|
color: {
|
|
537
537
|
ansi: {
|
|
538
|
-
black:
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
white:
|
|
542
|
-
bright: ColorHex;
|
|
543
|
-
};
|
|
538
|
+
black: ColorHex;
|
|
539
|
+
"black-bright": ColorHex;
|
|
540
|
+
white: ColorHex;
|
|
541
|
+
"white-bright": ColorHex;
|
|
544
542
|
gray: ColorHex;
|
|
545
|
-
red:
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
green:
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
magenta: {
|
|
558
|
-
bright: ColorHex;
|
|
559
|
-
};
|
|
560
|
-
cyan: {
|
|
561
|
-
bright: ColorHex;
|
|
562
|
-
};
|
|
543
|
+
red: ColorHex;
|
|
544
|
+
"red-bright": ColorHex;
|
|
545
|
+
green: ColorHex;
|
|
546
|
+
"green-bright": ColorHex;
|
|
547
|
+
yellow: ColorHex;
|
|
548
|
+
"yellow-bright": ColorHex;
|
|
549
|
+
blue: ColorHex;
|
|
550
|
+
"blue-bright": ColorHex;
|
|
551
|
+
magenta: ColorHex;
|
|
552
|
+
"magenta-bright": ColorHex;
|
|
553
|
+
cyan: ColorHex;
|
|
554
|
+
"cyan-bright": ColorHex;
|
|
563
555
|
};
|
|
564
556
|
prettylights: {
|
|
565
557
|
syntax: {
|
|
@@ -571,34 +563,51 @@ export type ThemeDesignTokens = {
|
|
|
571
563
|
};
|
|
572
564
|
};
|
|
573
565
|
};
|
|
574
|
-
entity:
|
|
575
|
-
tag: ColorHex;
|
|
576
|
-
};
|
|
566
|
+
entity: ColorHex;
|
|
577
567
|
storage: {
|
|
578
568
|
modifier: {
|
|
579
569
|
import: ColorHex;
|
|
580
570
|
};
|
|
581
571
|
};
|
|
572
|
+
"entity-tag": ColorHex;
|
|
582
573
|
keyword: ColorHex;
|
|
583
|
-
string:
|
|
584
|
-
regexp: ColorHex;
|
|
585
|
-
};
|
|
574
|
+
string: ColorHex;
|
|
586
575
|
variable: ColorHex;
|
|
587
576
|
brackethighlighter: {
|
|
588
577
|
angle: ColorHex;
|
|
589
578
|
};
|
|
590
579
|
invalid: {
|
|
591
580
|
illegal: {
|
|
581
|
+
text: ColorHex;
|
|
592
582
|
bg: ColorHex;
|
|
593
583
|
};
|
|
594
584
|
};
|
|
595
585
|
carriage: {
|
|
596
586
|
return: {
|
|
587
|
+
text: ColorHex;
|
|
597
588
|
bg: ColorHex;
|
|
598
589
|
};
|
|
599
590
|
};
|
|
591
|
+
"string-regexp": ColorHex;
|
|
600
592
|
markup: {
|
|
593
|
+
list: ColorHex;
|
|
594
|
+
heading: ColorHex;
|
|
595
|
+
italic: ColorHex;
|
|
596
|
+
bold: ColorHex;
|
|
597
|
+
deleted: {
|
|
598
|
+
text: ColorHex;
|
|
599
|
+
bg: ColorHex;
|
|
600
|
+
};
|
|
601
|
+
inserted: {
|
|
602
|
+
text: ColorHex;
|
|
603
|
+
bg: ColorHex;
|
|
604
|
+
};
|
|
605
|
+
changed: {
|
|
606
|
+
text: ColorHex;
|
|
607
|
+
bg: ColorHex;
|
|
608
|
+
};
|
|
601
609
|
ignored: {
|
|
610
|
+
text: ColorHex;
|
|
602
611
|
bg: ColorHex;
|
|
603
612
|
};
|
|
604
613
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 24 Apr 2023 13:58:36 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'";
|