@primer/primitives 7.12.0-rc.fd97c40 → 7.13.0-rc.129a477

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.
Files changed (91) hide show
  1. package/README.md +21 -0
  2. package/package.json +1 -1
  3. package/tokens-next-private/css/functional/size/size.css +20 -0
  4. package/tokens-next-private/css/functional/themes/dark-colorblind.css +30 -0
  5. package/tokens-next-private/css/functional/themes/dark-dimmed.css +30 -0
  6. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +34 -4
  7. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +30 -0
  8. package/tokens-next-private/css/functional/themes/dark.css +30 -0
  9. package/tokens-next-private/css/functional/themes/light-colorblind.css +30 -0
  10. package/tokens-next-private/css/functional/themes/light-high-contrast.css +34 -4
  11. package/tokens-next-private/css/functional/themes/light-tritanopia.css +30 -0
  12. package/tokens-next-private/css/functional/themes/light.css +30 -0
  13. package/tokens-next-private/docs/functional/size/size.json +663 -103
  14. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +433 -20
  15. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +434 -21
  16. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +451 -30
  17. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +433 -20
  18. package/tokens-next-private/docs/functional/themes/dark.json +434 -21
  19. package/tokens-next-private/docs/functional/themes/light-colorblind.json +433 -22
  20. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +446 -31
  21. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +433 -22
  22. package/tokens-next-private/docs/functional/themes/light.json +435 -24
  23. package/tokens-next-private/fallbacks/color-fallbacks.json +12 -11
  24. package/tokens-next-private/fallbacks/functional/size/size.json +21 -1
  25. package/tokens-next-private/figma/dimension/dimension.json +319 -84
  26. package/tokens-next-private/figma/figma.json +3 -0
  27. package/tokens-next-private/figma/themes/dark.json +320 -94
  28. package/tokens-next-private/figma/themes/light.json +324 -99
  29. package/tokens-next-private/scss/functional/size/size.scss +20 -0
  30. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +15 -0
  31. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +15 -0
  32. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +17 -2
  33. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +15 -0
  34. package/tokens-next-private/scss/functional/themes/dark.scss +15 -0
  35. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +15 -0
  36. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +17 -2
  37. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +15 -0
  38. package/tokens-next-private/scss/functional/themes/light.scss +15 -0
  39. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  40. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  41. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  42. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  43. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  44. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  45. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  46. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  47. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  48. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  49. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  50. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  51. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  52. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  53. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  54. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  55. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  56. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  57. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  58. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  59. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  60. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  61. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  62. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  63. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  64. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  65. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  66. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  67. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  68. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  69. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  70. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  71. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  72. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  73. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  74. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  75. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  76. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  77. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  78. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  79. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  80. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  81. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  82. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  83. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  84. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  85. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  86. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  87. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  88. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  89. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  90. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  91. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
package/README.md CHANGED
@@ -194,6 +194,27 @@ Code example
194
194
  }
195
195
  ```
196
196
 
197
+ #### Token names and @-hack
198
+
199
+ Token names have to be in camelCase or kebab-case and may only include letters, numbers and `-`. This is enforced by the token validation (`npm run lint:tokens`).
200
+ The only acception is the `@`-hack. This is used when you want to have a default value and sub-values, e.g. `bgColor.accent` and `bgColor.accent.muted`.
201
+ In this case you can create the follwing structure. The `@` will be removed from the name and act as the default value.
202
+
203
+ ```js
204
+ {
205
+ bgColor: {
206
+ accent: {
207
+ "@": {
208
+ // default values
209
+ },
210
+ "muted": {
211
+ // values for accent-muted
212
+ }
213
+ }
214
+ }
215
+ }
216
+ ```
217
+
197
218
  ## License
198
219
 
199
220
  [MIT](./LICENSE) © [GitHub](https://github.com/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "7.12.0-rc.fd97c40",
3
+ "version": "7.13.0-rc.129a477",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "files": [
6
6
  "dist",
@@ -40,10 +40,30 @@
40
40
  --controlStack-large-gap-auto: 0.5rem;
41
41
  --controlStack-large-gap-condensed: 0.5rem;
42
42
  --controlStack-large-gap-spacious: 0.75rem;
43
+ --space-xxsmall: 0.125rem;
44
+ --space-xsmall: 0.25rem;
45
+ --space-small: 0.375rem;
46
+ --space-medium: 0.5rem;
47
+ --space-large: 0.75rem;
48
+ --space-xlarge: 1rem;
43
49
  --stack-padding-condensed: 0.5rem;
44
50
  --stack-padding-normal: 1rem;
45
51
  --stack-padding-spacious: 1.5rem;
46
52
  --stack-gap-condensed: 0.5rem;
47
53
  --stack-gap-normal: 1rem;
48
54
  --stack-gap-spacious: 1.5rem;
55
+ --overlay-width-xsmall: 12rem;
56
+ --overlay-width-small: 20rem;
57
+ --overlay-width-medium: 30rem;
58
+ --overlay-width-large: 40rem;
59
+ --overlay-width-xlarge: 60rem;
60
+ --overlay-height-small: 16rem;
61
+ --overlay-height-medium: 20rem;
62
+ --overlay-height-large: 27rem;
63
+ --overlay-height-xlarge: 37.5rem;
64
+ --overlay-padding-normal: 1rem;
65
+ --overlay-padding-condensed: 0.5rem;
66
+ --overlay-paddingBlock-condensed: 0.25rem;
67
+ --overlay-paddingBlock-normal: 0.75rem;
68
+ --overlay-borderRadius: 0.375rem;
49
69
  }
@@ -187,20 +187,35 @@
187
187
  --fgColor-default: #e6edf3;
188
188
  --fgColor-muted: #7d8590;
189
189
  --fgColor-onEmphasis: #ffffff;
190
+ --fgColor-onInverse: #0d1117;
190
191
  --fgColor-disabled: #8b949e;
191
192
  --fgColor-link: #2f81f7;
193
+ --fgColor-link-onInverse: #1f6feb;
194
+ --fgColor-neutral: #6e7681;
195
+ --fgColor-neutral-onInverse: #484f58;
192
196
  --fgColor-accent: #2f81f7;
197
+ --fgColor-accent-onInverse: #1f6feb;
193
198
  --fgColor-success: #58a6ff;
199
+ --fgColor-success-onInverse: #1f6feb;
194
200
  --fgColor-attention: #d29922;
201
+ --fgColor-attention-onInverse: #9e6a03;
195
202
  --fgColor-severe: #db6d28;
203
+ --fgColor-severe-onInverse: #bd561d;
196
204
  --fgColor-danger: #db6d28;
205
+ --fgColor-danger-onInverse: #db3734;
197
206
  --fgColor-open: #f0883e;
207
+ --fgColor-open-onInverse: #bd561d;
198
208
  --fgColor-closed: #8b949e;
209
+ --fgColor-closed-onInverse: #484f58;
199
210
  --fgColor-done: #a371f7;
211
+ --fgColor-done-onInverse: #8957e5;
200
212
  --fgColor-sponsors: #db61a2;
213
+ --fgColor-sponsors-onInverse: #bf4b8a;
201
214
  --bgColor-default: #0d1117;
202
215
  --bgColor-muted: #161b22;
216
+ --bgColor-inset: #010409;
203
217
  --bgColor-emphasis: #6e7681;
218
+ --bgColor-inverse: #ffffff;
204
219
  --bgColor-disabled: #161b22;
205
220
  --bgColor-transparent: #00000000;
206
221
  --bgColor-neutral-muted: #6e768126;
@@ -588,20 +603,35 @@
588
603
  --fgColor-default: #e6edf3;
589
604
  --fgColor-muted: #7d8590;
590
605
  --fgColor-onEmphasis: #ffffff;
606
+ --fgColor-onInverse: #0d1117;
591
607
  --fgColor-disabled: #8b949e;
592
608
  --fgColor-link: #2f81f7;
609
+ --fgColor-link-onInverse: #1f6feb;
610
+ --fgColor-neutral: #6e7681;
611
+ --fgColor-neutral-onInverse: #484f58;
593
612
  --fgColor-accent: #2f81f7;
613
+ --fgColor-accent-onInverse: #1f6feb;
594
614
  --fgColor-success: #58a6ff;
615
+ --fgColor-success-onInverse: #1f6feb;
595
616
  --fgColor-attention: #d29922;
617
+ --fgColor-attention-onInverse: #9e6a03;
596
618
  --fgColor-severe: #db6d28;
619
+ --fgColor-severe-onInverse: #bd561d;
597
620
  --fgColor-danger: #db6d28;
621
+ --fgColor-danger-onInverse: #db3734;
598
622
  --fgColor-open: #f0883e;
623
+ --fgColor-open-onInverse: #bd561d;
599
624
  --fgColor-closed: #8b949e;
625
+ --fgColor-closed-onInverse: #484f58;
600
626
  --fgColor-done: #a371f7;
627
+ --fgColor-done-onInverse: #8957e5;
601
628
  --fgColor-sponsors: #db61a2;
629
+ --fgColor-sponsors-onInverse: #bf4b8a;
602
630
  --bgColor-default: #0d1117;
603
631
  --bgColor-muted: #161b22;
632
+ --bgColor-inset: #010409;
604
633
  --bgColor-emphasis: #6e7681;
634
+ --bgColor-inverse: #ffffff;
605
635
  --bgColor-disabled: #161b22;
606
636
  --bgColor-transparent: #00000000;
607
637
  --bgColor-neutral-muted: #6e768126;
@@ -187,20 +187,35 @@
187
187
  --fgColor-default: #c5d1de;
188
188
  --fgColor-muted: #6d7986;
189
189
  --fgColor-onEmphasis: #cdd9e5;
190
+ --fgColor-onInverse: #22272e;
190
191
  --fgColor-disabled: #768390;
191
192
  --fgColor-link: #3b7cdb;
193
+ --fgColor-link-onInverse: #316dca;
194
+ --fgColor-neutral: #636e7b;
195
+ --fgColor-neutral-onInverse: #545d68;
192
196
  --fgColor-accent: #3b7cdb;
197
+ --fgColor-accent-onInverse: #316dca;
193
198
  --fgColor-success: #57ab5a;
199
+ --fgColor-success-onInverse: #347d39;
194
200
  --fgColor-attention: #c69026;
201
+ --fgColor-attention-onInverse: #966600;
195
202
  --fgColor-severe: #cc6b2c;
203
+ --fgColor-severe-onInverse: #ae5622;
196
204
  --fgColor-danger: #e5534b;
205
+ --fgColor-danger-onInverse: #ca3d38;
197
206
  --fgColor-open: #57ab5a;
207
+ --fgColor-open-onInverse: #347d39;
198
208
  --fgColor-closed: #e5534b;
209
+ --fgColor-closed-onInverse: #ca3d38;
199
210
  --fgColor-done: #986ee2;
211
+ --fgColor-done-onInverse: #8256d0;
200
212
  --fgColor-sponsors: #c96198;
213
+ --fgColor-sponsors-onInverse: #ae4c82;
201
214
  --bgColor-default: #22272e;
202
215
  --bgColor-muted: #2d333b;
216
+ --bgColor-inset: #1c2128;
203
217
  --bgColor-emphasis: #636e7b;
218
+ --bgColor-inverse: #cdd9e5;
204
219
  --bgColor-disabled: #2d333b;
205
220
  --bgColor-transparent: #00000000;
206
221
  --bgColor-neutral-muted: #636e7b26;
@@ -588,20 +603,35 @@
588
603
  --fgColor-default: #c5d1de;
589
604
  --fgColor-muted: #6d7986;
590
605
  --fgColor-onEmphasis: #cdd9e5;
606
+ --fgColor-onInverse: #22272e;
591
607
  --fgColor-disabled: #768390;
592
608
  --fgColor-link: #3b7cdb;
609
+ --fgColor-link-onInverse: #316dca;
610
+ --fgColor-neutral: #636e7b;
611
+ --fgColor-neutral-onInverse: #545d68;
593
612
  --fgColor-accent: #3b7cdb;
613
+ --fgColor-accent-onInverse: #316dca;
594
614
  --fgColor-success: #57ab5a;
615
+ --fgColor-success-onInverse: #347d39;
595
616
  --fgColor-attention: #c69026;
617
+ --fgColor-attention-onInverse: #966600;
596
618
  --fgColor-severe: #cc6b2c;
619
+ --fgColor-severe-onInverse: #ae5622;
597
620
  --fgColor-danger: #e5534b;
621
+ --fgColor-danger-onInverse: #ca3d38;
598
622
  --fgColor-open: #57ab5a;
623
+ --fgColor-open-onInverse: #347d39;
599
624
  --fgColor-closed: #e5534b;
625
+ --fgColor-closed-onInverse: #ca3d38;
600
626
  --fgColor-done: #986ee2;
627
+ --fgColor-done-onInverse: #8256d0;
601
628
  --fgColor-sponsors: #c96198;
629
+ --fgColor-sponsors-onInverse: #ae4c82;
602
630
  --bgColor-default: #22272e;
603
631
  --bgColor-muted: #2d333b;
632
+ --bgColor-inset: #1c2128;
604
633
  --bgColor-emphasis: #636e7b;
634
+ --bgColor-inverse: #cdd9e5;
605
635
  --bgColor-disabled: #2d333b;
606
636
  --bgColor-transparent: #00000000;
607
637
  --bgColor-neutral-muted: #636e7b26;
@@ -126,8 +126,8 @@
126
126
  --button-invisible-fgColor-hover: #71b7ff;
127
127
  --button-invisible-fgColor-disabled: #bdc4cc;
128
128
  --button-invisible-bgColor-rest: #00000000;
129
- --button-invisible-bgColor-hover: #272b33;
130
- --button-invisible-bgColor-active: #525964;
129
+ --button-invisible-bgColor-hover: #f0f3f6;
130
+ --button-invisible-bgColor-active: #d9dee3;
131
131
  --button-invisible-bgColor-disabled: #272b33;
132
132
  --button-invisible-borderColor-rest: #00000000;
133
133
  --button-invisible-borderColor-hover: #7a828e;
@@ -187,20 +187,35 @@
187
187
  --fgColor-default: #fbfcfd;
188
188
  --fgColor-muted: #f0f3f6;
189
189
  --fgColor-onEmphasis: #0a0c10;
190
+ --fgColor-onInverse: #0a0c10;
190
191
  --fgColor-disabled: #bdc4cc;
191
192
  --fgColor-link: #409eff;
193
+ --fgColor-link-onInverse: #1e60d5;
194
+ --fgColor-neutral: #9ea7b3;
195
+ --fgColor-neutral-onInverse: #272b33;
192
196
  --fgColor-accent: #409eff;
197
+ --fgColor-accent-onInverse: #1e60d5;
193
198
  --fgColor-success: #26cd4d;
199
+ --fgColor-success-onInverse: #007728;
194
200
  --fgColor-attention: #f0b72f;
201
+ --fgColor-attention-onInverse: #945d02;
195
202
  --fgColor-severe: #e7811d;
203
+ --fgColor-severe-onInverse: #a74c00;
196
204
  --fgColor-danger: #ff6a69;
205
+ --fgColor-danger-onInverse: #b1061a;
197
206
  --fgColor-open: #26cd4d;
207
+ --fgColor-open-onInverse: #007728;
198
208
  --fgColor-closed: #ff6a69;
209
+ --fgColor-closed-onInverse: #b1061a;
199
210
  --fgColor-done: #b780ff;
211
+ --fgColor-done-onInverse: #6921d7;
200
212
  --fgColor-sponsors: #ef6eb1;
213
+ --fgColor-sponsors-onInverse: #9c1d6a;
201
214
  --bgColor-default: #0a0c10;
202
215
  --bgColor-muted: #272b33;
216
+ --bgColor-inset: #010409;
203
217
  --bgColor-emphasis: #ffffff;
218
+ --bgColor-inverse: #ffffff;
204
219
  --bgColor-disabled: #272b33;
205
220
  --bgColor-transparent: #00000000;
206
221
  --bgColor-neutral-muted: #9ea7b326;
@@ -527,8 +542,8 @@
527
542
  --button-invisible-fgColor-hover: #71b7ff;
528
543
  --button-invisible-fgColor-disabled: #bdc4cc;
529
544
  --button-invisible-bgColor-rest: #00000000;
530
- --button-invisible-bgColor-hover: #272b33;
531
- --button-invisible-bgColor-active: #525964;
545
+ --button-invisible-bgColor-hover: #f0f3f6;
546
+ --button-invisible-bgColor-active: #d9dee3;
532
547
  --button-invisible-bgColor-disabled: #272b33;
533
548
  --button-invisible-borderColor-rest: #00000000;
534
549
  --button-invisible-borderColor-hover: #7a828e;
@@ -588,20 +603,35 @@
588
603
  --fgColor-default: #fbfcfd;
589
604
  --fgColor-muted: #f0f3f6;
590
605
  --fgColor-onEmphasis: #0a0c10;
606
+ --fgColor-onInverse: #0a0c10;
591
607
  --fgColor-disabled: #bdc4cc;
592
608
  --fgColor-link: #409eff;
609
+ --fgColor-link-onInverse: #1e60d5;
610
+ --fgColor-neutral: #9ea7b3;
611
+ --fgColor-neutral-onInverse: #272b33;
593
612
  --fgColor-accent: #409eff;
613
+ --fgColor-accent-onInverse: #1e60d5;
594
614
  --fgColor-success: #26cd4d;
615
+ --fgColor-success-onInverse: #007728;
595
616
  --fgColor-attention: #f0b72f;
617
+ --fgColor-attention-onInverse: #945d02;
596
618
  --fgColor-severe: #e7811d;
619
+ --fgColor-severe-onInverse: #a74c00;
597
620
  --fgColor-danger: #ff6a69;
621
+ --fgColor-danger-onInverse: #b1061a;
598
622
  --fgColor-open: #26cd4d;
623
+ --fgColor-open-onInverse: #007728;
599
624
  --fgColor-closed: #ff6a69;
625
+ --fgColor-closed-onInverse: #b1061a;
600
626
  --fgColor-done: #b780ff;
627
+ --fgColor-done-onInverse: #6921d7;
601
628
  --fgColor-sponsors: #ef6eb1;
629
+ --fgColor-sponsors-onInverse: #9c1d6a;
602
630
  --bgColor-default: #0a0c10;
603
631
  --bgColor-muted: #272b33;
632
+ --bgColor-inset: #010409;
604
633
  --bgColor-emphasis: #ffffff;
634
+ --bgColor-inverse: #ffffff;
605
635
  --bgColor-disabled: #272b33;
606
636
  --bgColor-transparent: #00000000;
607
637
  --bgColor-neutral-muted: #9ea7b326;
@@ -187,20 +187,35 @@
187
187
  --fgColor-default: #e6edf3;
188
188
  --fgColor-muted: #7d8590;
189
189
  --fgColor-onEmphasis: #ffffff;
190
+ --fgColor-onInverse: #0d1117;
190
191
  --fgColor-disabled: #8b949e;
191
192
  --fgColor-link: #2f81f7;
193
+ --fgColor-link-onInverse: #1f6feb;
194
+ --fgColor-neutral: #6e7681;
195
+ --fgColor-neutral-onInverse: #484f58;
192
196
  --fgColor-accent: #2f81f7;
197
+ --fgColor-accent-onInverse: #1f6feb;
193
198
  --fgColor-success: #58a6ff;
199
+ --fgColor-success-onInverse: #1f6feb;
194
200
  --fgColor-attention: #d29922;
201
+ --fgColor-attention-onInverse: #9e6a03;
195
202
  --fgColor-severe: #f85149;
203
+ --fgColor-severe-onInverse: #da3633;
196
204
  --fgColor-danger: #f85149;
205
+ --fgColor-danger-onInverse: #db3734;
197
206
  --fgColor-open: #f85149;
207
+ --fgColor-open-onInverse: #b62324;
198
208
  --fgColor-closed: #6e7681;
209
+ --fgColor-closed-onInverse: #484f58;
199
210
  --fgColor-done: #a371f7;
211
+ --fgColor-done-onInverse: #8957e5;
200
212
  --fgColor-sponsors: #db61a2;
213
+ --fgColor-sponsors-onInverse: #bf4b8a;
201
214
  --bgColor-default: #0d1117;
202
215
  --bgColor-muted: #161b22;
216
+ --bgColor-inset: #010409;
203
217
  --bgColor-emphasis: #6e7681;
218
+ --bgColor-inverse: #ffffff;
204
219
  --bgColor-disabled: #161b22;
205
220
  --bgColor-transparent: #00000000;
206
221
  --bgColor-neutral-muted: #6e768126;
@@ -588,20 +603,35 @@
588
603
  --fgColor-default: #e6edf3;
589
604
  --fgColor-muted: #7d8590;
590
605
  --fgColor-onEmphasis: #ffffff;
606
+ --fgColor-onInverse: #0d1117;
591
607
  --fgColor-disabled: #8b949e;
592
608
  --fgColor-link: #2f81f7;
609
+ --fgColor-link-onInverse: #1f6feb;
610
+ --fgColor-neutral: #6e7681;
611
+ --fgColor-neutral-onInverse: #484f58;
593
612
  --fgColor-accent: #2f81f7;
613
+ --fgColor-accent-onInverse: #1f6feb;
594
614
  --fgColor-success: #58a6ff;
615
+ --fgColor-success-onInverse: #1f6feb;
595
616
  --fgColor-attention: #d29922;
617
+ --fgColor-attention-onInverse: #9e6a03;
596
618
  --fgColor-severe: #f85149;
619
+ --fgColor-severe-onInverse: #da3633;
597
620
  --fgColor-danger: #f85149;
621
+ --fgColor-danger-onInverse: #db3734;
598
622
  --fgColor-open: #f85149;
623
+ --fgColor-open-onInverse: #b62324;
599
624
  --fgColor-closed: #6e7681;
625
+ --fgColor-closed-onInverse: #484f58;
600
626
  --fgColor-done: #a371f7;
627
+ --fgColor-done-onInverse: #8957e5;
601
628
  --fgColor-sponsors: #db61a2;
629
+ --fgColor-sponsors-onInverse: #bf4b8a;
602
630
  --bgColor-default: #0d1117;
603
631
  --bgColor-muted: #161b22;
632
+ --bgColor-inset: #010409;
604
633
  --bgColor-emphasis: #6e7681;
634
+ --bgColor-inverse: #ffffff;
605
635
  --bgColor-disabled: #161b22;
606
636
  --bgColor-transparent: #00000000;
607
637
  --bgColor-neutral-muted: #6e768126;
@@ -187,20 +187,35 @@
187
187
  --fgColor-default: #e6edf3;
188
188
  --fgColor-muted: #7d8590;
189
189
  --fgColor-onEmphasis: #ffffff;
190
+ --fgColor-onInverse: #0d1117;
190
191
  --fgColor-disabled: #8b949e;
191
192
  --fgColor-link: #2f81f7;
193
+ --fgColor-link-onInverse: #1f6feb;
194
+ --fgColor-neutral: #6e7681;
195
+ --fgColor-neutral-onInverse: #484f58;
192
196
  --fgColor-accent: #2f81f7;
197
+ --fgColor-accent-onInverse: #1f6feb;
193
198
  --fgColor-success: #3fb950;
199
+ --fgColor-success-onInverse: #238636;
194
200
  --fgColor-attention: #d29922;
201
+ --fgColor-attention-onInverse: #9e6a03;
195
202
  --fgColor-severe: #db6d28;
203
+ --fgColor-severe-onInverse: #bd561d;
196
204
  --fgColor-danger: #f85149;
205
+ --fgColor-danger-onInverse: #db3734;
197
206
  --fgColor-open: #3fb950;
207
+ --fgColor-open-onInverse: #238636;
198
208
  --fgColor-closed: #f85149;
209
+ --fgColor-closed-onInverse: #db3734;
199
210
  --fgColor-done: #a371f7;
211
+ --fgColor-done-onInverse: #8957e5;
200
212
  --fgColor-sponsors: #db61a2;
213
+ --fgColor-sponsors-onInverse: #bf4b8a;
201
214
  --bgColor-default: #0d1117;
202
215
  --bgColor-muted: #161b22;
216
+ --bgColor-inset: #010409;
203
217
  --bgColor-emphasis: #6e7681;
218
+ --bgColor-inverse: #ffffff;
204
219
  --bgColor-disabled: #161b22;
205
220
  --bgColor-transparent: #00000000;
206
221
  --bgColor-neutral-muted: #6e768126;
@@ -588,20 +603,35 @@
588
603
  --fgColor-default: #e6edf3;
589
604
  --fgColor-muted: #7d8590;
590
605
  --fgColor-onEmphasis: #ffffff;
606
+ --fgColor-onInverse: #0d1117;
591
607
  --fgColor-disabled: #8b949e;
592
608
  --fgColor-link: #2f81f7;
609
+ --fgColor-link-onInverse: #1f6feb;
610
+ --fgColor-neutral: #6e7681;
611
+ --fgColor-neutral-onInverse: #484f58;
593
612
  --fgColor-accent: #2f81f7;
613
+ --fgColor-accent-onInverse: #1f6feb;
594
614
  --fgColor-success: #3fb950;
615
+ --fgColor-success-onInverse: #238636;
595
616
  --fgColor-attention: #d29922;
617
+ --fgColor-attention-onInverse: #9e6a03;
596
618
  --fgColor-severe: #db6d28;
619
+ --fgColor-severe-onInverse: #bd561d;
597
620
  --fgColor-danger: #f85149;
621
+ --fgColor-danger-onInverse: #db3734;
598
622
  --fgColor-open: #3fb950;
623
+ --fgColor-open-onInverse: #238636;
599
624
  --fgColor-closed: #f85149;
625
+ --fgColor-closed-onInverse: #db3734;
600
626
  --fgColor-done: #a371f7;
627
+ --fgColor-done-onInverse: #8957e5;
601
628
  --fgColor-sponsors: #db61a2;
629
+ --fgColor-sponsors-onInverse: #bf4b8a;
602
630
  --bgColor-default: #0d1117;
603
631
  --bgColor-muted: #161b22;
632
+ --bgColor-inset: #010409;
604
633
  --bgColor-emphasis: #6e7681;
634
+ --bgColor-inverse: #ffffff;
605
635
  --bgColor-disabled: #161b22;
606
636
  --bgColor-transparent: #00000000;
607
637
  --bgColor-neutral-muted: #6e768126;
@@ -188,20 +188,35 @@
188
188
  --fgColor-default: #1f2328;
189
189
  --fgColor-muted: #636c76;
190
190
  --fgColor-onEmphasis: #ffffff;
191
+ --fgColor-onInverse: #f6f8fa;
191
192
  --fgColor-disabled: #8c959f;
192
193
  --fgColor-link: #0969da;
194
+ --fgColor-link-onInverse: #54aeff;
195
+ --fgColor-neutral: #6e7781;
196
+ --fgColor-neutral-onInverse: #8c959f;
193
197
  --fgColor-accent: #0969da;
198
+ --fgColor-accent-onInverse: #54aeff;
194
199
  --fgColor-success: #0969da;
200
+ --fgColor-success-onInverse: #54aeff;
195
201
  --fgColor-attention: #9a6700;
202
+ --fgColor-attention-onInverse: #d4a72c;
196
203
  --fgColor-severe: #bc4c00;
204
+ --fgColor-severe-onInverse: #fb8f44;
197
205
  --fgColor-danger: #be4e02;
206
+ --fgColor-danger-onInverse: #fa4549;
198
207
  --fgColor-open: #bc4c00;
208
+ --fgColor-open-onInverse: #fb8f44;
199
209
  --fgColor-closed: #6e7781;
210
+ --fgColor-closed-onInverse: #afb8c1;
200
211
  --fgColor-done: #8250df;
212
+ --fgColor-done-onInverse: #a475f9;
201
213
  --fgColor-sponsors: #bf3989;
214
+ --fgColor-sponsors-onInverse: #e85aad;
202
215
  --bgColor-default: #ffffff;
203
216
  --bgColor-muted: #f6f8fa;
217
+ --bgColor-inset: #f6f8fa;
204
218
  --bgColor-emphasis: #24292f;
219
+ --bgColor-inverse: #24292f;
205
220
  --bgColor-disabled: #f6f8fa;
206
221
  --bgColor-transparent: #ffffff00;
207
222
  --bgColor-neutral-muted: #eaeef280;
@@ -589,20 +604,35 @@
589
604
  --fgColor-default: #1f2328;
590
605
  --fgColor-muted: #636c76;
591
606
  --fgColor-onEmphasis: #ffffff;
607
+ --fgColor-onInverse: #f6f8fa;
592
608
  --fgColor-disabled: #8c959f;
593
609
  --fgColor-link: #0969da;
610
+ --fgColor-link-onInverse: #54aeff;
611
+ --fgColor-neutral: #6e7781;
612
+ --fgColor-neutral-onInverse: #8c959f;
594
613
  --fgColor-accent: #0969da;
614
+ --fgColor-accent-onInverse: #54aeff;
595
615
  --fgColor-success: #0969da;
616
+ --fgColor-success-onInverse: #54aeff;
596
617
  --fgColor-attention: #9a6700;
618
+ --fgColor-attention-onInverse: #d4a72c;
597
619
  --fgColor-severe: #bc4c00;
620
+ --fgColor-severe-onInverse: #fb8f44;
598
621
  --fgColor-danger: #be4e02;
622
+ --fgColor-danger-onInverse: #fa4549;
599
623
  --fgColor-open: #bc4c00;
624
+ --fgColor-open-onInverse: #fb8f44;
600
625
  --fgColor-closed: #6e7781;
626
+ --fgColor-closed-onInverse: #afb8c1;
601
627
  --fgColor-done: #8250df;
628
+ --fgColor-done-onInverse: #a475f9;
602
629
  --fgColor-sponsors: #bf3989;
630
+ --fgColor-sponsors-onInverse: #e85aad;
603
631
  --bgColor-default: #ffffff;
604
632
  --bgColor-muted: #f6f8fa;
633
+ --bgColor-inset: #f6f8fa;
605
634
  --bgColor-emphasis: #24292f;
635
+ --bgColor-inverse: #24292f;
606
636
  --bgColor-disabled: #f6f8fa;
607
637
  --bgColor-transparent: #ffffff00;
608
638
  --bgColor-neutral-muted: #eaeef280;
@@ -126,8 +126,8 @@
126
126
  --button-invisible-fgColor-hover: #023b95;
127
127
  --button-invisible-fgColor-disabled: #4b535d;
128
128
  --button-invisible-bgColor-rest: #ffffff00;
129
- --button-invisible-bgColor-hover: #e7ecf0;
130
- --button-invisible-bgColor-active: #ced5dc;
129
+ --button-invisible-bgColor-hover: #20252c;
130
+ --button-invisible-bgColor-active: #4b535d;
131
131
  --button-invisible-bgColor-disabled: #e7ecf0;
132
132
  --button-invisible-borderColor-rest: #ffffff00;
133
133
  --button-invisible-borderColor-hover: #20252c;
@@ -188,20 +188,35 @@
188
188
  --fgColor-default: #010409;
189
189
  --fgColor-muted: #0e1116;
190
190
  --fgColor-onEmphasis: #ffffff;
191
+ --fgColor-onInverse: #ffffff;
191
192
  --fgColor-disabled: #4b535d;
192
193
  --fgColor-link: #023b95;
194
+ --fgColor-link-onInverse: #67b3fd;
195
+ --fgColor-neutral: #66707b;
196
+ --fgColor-neutral-onInverse: #ced5dc;
193
197
  --fgColor-accent: #023b95;
198
+ --fgColor-accent-onInverse: #67b3fd;
194
199
  --fgColor-success: #055d20;
200
+ --fgColor-success-onInverse: #43c663;
195
201
  --fgColor-attention: #744500;
202
+ --fgColor-attention-onInverse: #d5a824;
196
203
  --fgColor-severe: #873800;
204
+ --fgColor-severe-onInverse: #f99636;
197
205
  --fgColor-danger: #8a071e;
206
+ --fgColor-danger-onInverse: #ff8e8a;
198
207
  --fgColor-open: #055d20;
208
+ --fgColor-open-onInverse: #43c663;
199
209
  --fgColor-closed: #8a071e;
210
+ --fgColor-closed-onInverse: #ff8e8a;
200
211
  --fgColor-done: #622cbc;
212
+ --fgColor-done-onInverse: #c49bff;
201
213
  --fgColor-sponsors: #971368;
214
+ --fgColor-sponsors-onInverse: #fc87ca;
202
215
  --bgColor-default: #ffffff;
203
216
  --bgColor-muted: #e7ecf0;
217
+ --bgColor-inset: #ffffff;
204
218
  --bgColor-emphasis: #0e1116;
219
+ --bgColor-inverse: #0e1116;
205
220
  --bgColor-disabled: #e7ecf0;
206
221
  --bgColor-transparent: #ffffff00;
207
222
  --bgColor-neutral-muted: #e7ecf0;
@@ -527,8 +542,8 @@
527
542
  --button-invisible-fgColor-hover: #023b95;
528
543
  --button-invisible-fgColor-disabled: #4b535d;
529
544
  --button-invisible-bgColor-rest: #ffffff00;
530
- --button-invisible-bgColor-hover: #e7ecf0;
531
- --button-invisible-bgColor-active: #ced5dc;
545
+ --button-invisible-bgColor-hover: #20252c;
546
+ --button-invisible-bgColor-active: #4b535d;
532
547
  --button-invisible-bgColor-disabled: #e7ecf0;
533
548
  --button-invisible-borderColor-rest: #ffffff00;
534
549
  --button-invisible-borderColor-hover: #20252c;
@@ -589,20 +604,35 @@
589
604
  --fgColor-default: #010409;
590
605
  --fgColor-muted: #0e1116;
591
606
  --fgColor-onEmphasis: #ffffff;
607
+ --fgColor-onInverse: #ffffff;
592
608
  --fgColor-disabled: #4b535d;
593
609
  --fgColor-link: #023b95;
610
+ --fgColor-link-onInverse: #67b3fd;
611
+ --fgColor-neutral: #66707b;
612
+ --fgColor-neutral-onInverse: #ced5dc;
594
613
  --fgColor-accent: #023b95;
614
+ --fgColor-accent-onInverse: #67b3fd;
595
615
  --fgColor-success: #055d20;
616
+ --fgColor-success-onInverse: #43c663;
596
617
  --fgColor-attention: #744500;
618
+ --fgColor-attention-onInverse: #d5a824;
597
619
  --fgColor-severe: #873800;
620
+ --fgColor-severe-onInverse: #f99636;
598
621
  --fgColor-danger: #8a071e;
622
+ --fgColor-danger-onInverse: #ff8e8a;
599
623
  --fgColor-open: #055d20;
624
+ --fgColor-open-onInverse: #43c663;
600
625
  --fgColor-closed: #8a071e;
626
+ --fgColor-closed-onInverse: #ff8e8a;
601
627
  --fgColor-done: #622cbc;
628
+ --fgColor-done-onInverse: #c49bff;
602
629
  --fgColor-sponsors: #971368;
630
+ --fgColor-sponsors-onInverse: #fc87ca;
603
631
  --bgColor-default: #ffffff;
604
632
  --bgColor-muted: #e7ecf0;
633
+ --bgColor-inset: #ffffff;
605
634
  --bgColor-emphasis: #0e1116;
635
+ --bgColor-inverse: #0e1116;
606
636
  --bgColor-disabled: #e7ecf0;
607
637
  --bgColor-transparent: #ffffff00;
608
638
  --bgColor-neutral-muted: #e7ecf0;
@@ -188,20 +188,35 @@
188
188
  --fgColor-default: #1f2328;
189
189
  --fgColor-muted: #636c76;
190
190
  --fgColor-onEmphasis: #ffffff;
191
+ --fgColor-onInverse: #f6f8fa;
191
192
  --fgColor-disabled: #8c959f;
192
193
  --fgColor-link: #0969da;
194
+ --fgColor-link-onInverse: #54aeff;
195
+ --fgColor-neutral: #6e7781;
196
+ --fgColor-neutral-onInverse: #8c959f;
193
197
  --fgColor-accent: #0969da;
198
+ --fgColor-accent-onInverse: #54aeff;
194
199
  --fgColor-success: #0969da;
200
+ --fgColor-success-onInverse: #54aeff;
195
201
  --fgColor-attention: #9a6700;
202
+ --fgColor-attention-onInverse: #d4a72c;
196
203
  --fgColor-severe: #cf222e;
204
+ --fgColor-severe-onInverse: #ff8182;
197
205
  --fgColor-danger: #d1242f;
206
+ --fgColor-danger-onInverse: #fa4549;
198
207
  --fgColor-open: #cf222e;
208
+ --fgColor-open-onInverse: #fa4549;
199
209
  --fgColor-closed: #6e7781;
210
+ --fgColor-closed-onInverse: #afb8c1;
200
211
  --fgColor-done: #8250df;
212
+ --fgColor-done-onInverse: #a475f9;
201
213
  --fgColor-sponsors: #bf3989;
214
+ --fgColor-sponsors-onInverse: #e85aad;
202
215
  --bgColor-default: #ffffff;
203
216
  --bgColor-muted: #f6f8fa;
217
+ --bgColor-inset: #f6f8fa;
204
218
  --bgColor-emphasis: #24292f;
219
+ --bgColor-inverse: #24292f;
205
220
  --bgColor-disabled: #f6f8fa;
206
221
  --bgColor-transparent: #ffffff00;
207
222
  --bgColor-neutral-muted: #eaeef280;
@@ -589,20 +604,35 @@
589
604
  --fgColor-default: #1f2328;
590
605
  --fgColor-muted: #636c76;
591
606
  --fgColor-onEmphasis: #ffffff;
607
+ --fgColor-onInverse: #f6f8fa;
592
608
  --fgColor-disabled: #8c959f;
593
609
  --fgColor-link: #0969da;
610
+ --fgColor-link-onInverse: #54aeff;
611
+ --fgColor-neutral: #6e7781;
612
+ --fgColor-neutral-onInverse: #8c959f;
594
613
  --fgColor-accent: #0969da;
614
+ --fgColor-accent-onInverse: #54aeff;
595
615
  --fgColor-success: #0969da;
616
+ --fgColor-success-onInverse: #54aeff;
596
617
  --fgColor-attention: #9a6700;
618
+ --fgColor-attention-onInverse: #d4a72c;
597
619
  --fgColor-severe: #cf222e;
620
+ --fgColor-severe-onInverse: #ff8182;
598
621
  --fgColor-danger: #d1242f;
622
+ --fgColor-danger-onInverse: #fa4549;
599
623
  --fgColor-open: #cf222e;
624
+ --fgColor-open-onInverse: #fa4549;
600
625
  --fgColor-closed: #6e7781;
626
+ --fgColor-closed-onInverse: #afb8c1;
601
627
  --fgColor-done: #8250df;
628
+ --fgColor-done-onInverse: #a475f9;
602
629
  --fgColor-sponsors: #bf3989;
630
+ --fgColor-sponsors-onInverse: #e85aad;
603
631
  --bgColor-default: #ffffff;
604
632
  --bgColor-muted: #f6f8fa;
633
+ --bgColor-inset: #f6f8fa;
605
634
  --bgColor-emphasis: #24292f;
635
+ --bgColor-inverse: #24292f;
606
636
  --bgColor-disabled: #f6f8fa;
607
637
  --bgColor-transparent: #ffffff00;
608
638
  --bgColor-neutral-muted: #eaeef280;