@primer/primitives 7.2.0 → 7.4.0

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 (39) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/js/colors/dark.d.ts +3 -0
  3. package/dist/js/colors/dark.js +3 -0
  4. package/dist/js/colors/dark_colorblind.d.ts +3 -0
  5. package/dist/js/colors/dark_colorblind.js +3 -0
  6. package/dist/js/colors/dark_dimmed.d.ts +3 -0
  7. package/dist/js/colors/dark_dimmed.js +3 -0
  8. package/dist/js/colors/dark_high_contrast.d.ts +3 -0
  9. package/dist/js/colors/dark_high_contrast.js +6 -3
  10. package/dist/js/colors/index.d.ts +21 -0
  11. package/dist/js/colors/light.d.ts +3 -0
  12. package/dist/js/colors/light.js +3 -0
  13. package/dist/js/colors/light_colorblind.d.ts +3 -0
  14. package/dist/js/colors/light_colorblind.js +3 -0
  15. package/dist/js/colors/light_high_contrast.d.ts +3 -0
  16. package/dist/js/colors/light_high_contrast.js +10 -7
  17. package/dist/js/index.d.ts +21 -0
  18. package/dist/json/colors/dark.json +3 -0
  19. package/dist/json/colors/dark_colorblind.json +3 -0
  20. package/dist/json/colors/dark_dimmed.json +3 -0
  21. package/dist/json/colors/dark_high_contrast.json +6 -3
  22. package/dist/json/colors/light.json +3 -0
  23. package/dist/json/colors/light_colorblind.json +3 -0
  24. package/dist/json/colors/light_high_contrast.json +10 -7
  25. package/dist/scss/colors/_dark.scss +3 -0
  26. package/dist/scss/colors/_dark_colorblind.scss +3 -0
  27. package/dist/scss/colors/_dark_dimmed.scss +3 -0
  28. package/dist/scss/colors/_dark_high_contrast.scss +6 -3
  29. package/dist/scss/colors/_light.scss +3 -0
  30. package/dist/scss/colors/_light_colorblind.scss +3 -0
  31. package/dist/scss/colors/_light_high_contrast.scss +10 -7
  32. package/dist/ts/colors/dark.ts +3 -0
  33. package/dist/ts/colors/dark_colorblind.ts +3 -0
  34. package/dist/ts/colors/dark_dimmed.ts +3 -0
  35. package/dist/ts/colors/dark_high_contrast.ts +6 -3
  36. package/dist/ts/colors/light.ts +3 -0
  37. package/dist/ts/colors/light_colorblind.ts +3 -0
  38. package/dist/ts/colors/light_high_contrast.ts +10 -7
  39. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @primer/primitives
2
2
 
3
+ ## 7.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#283](https://github.com/primer/primitives/pull/283) [`1bcb44f`](https://github.com/primer/primitives/commit/1bcb44f51bbf612302e9204cf4e1dc187ec6be94) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Background adjustments for High Contrast theme.
8
+
9
+ ## 7.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#284](https://github.com/primer/primitives/pull/284) [`fc76170`](https://github.com/primer/primitives/commit/fc76170cc8e6ee59011d70857698867093f94d81) Thanks [@simurai](https://github.com/simurai)! - Add `pageHeaderBg` primitive
14
+
3
15
  ## 7.2.0
4
16
 
5
17
  ### Minor Changes
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  canvasDefaultTransparent: string;
3
+ pageHeaderBg: string;
3
4
  marketingIcon: {
4
5
  primary: string;
5
6
  secondary: string;
@@ -333,7 +334,9 @@ declare const _default: {
333
334
  inlineDivider: string;
334
335
  default: {
335
336
  hoverBg: string;
337
+ hoverBorder: string;
336
338
  activeBg: string;
339
+ activeBorder: string;
337
340
  selectedBg: string;
338
341
  };
339
342
  danger: {
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  "canvasDefaultTransparent": "rgba(13,17,23,0)",
5
+ "pageHeaderBg": "#0d1117",
5
6
  "marketingIcon": {
6
7
  "primary": "#79c0ff",
7
8
  "secondary": "#1f6feb"
@@ -335,7 +336,9 @@ exports.default = {
335
336
  "inlineDivider": "rgba(48,54,61,0.48)",
336
337
  "default": {
337
338
  "hoverBg": "rgba(177,186,196,0.12)",
339
+ "hoverBorder": "rgba(0,0,0,0)",
338
340
  "activeBg": "rgba(177,186,196,0.2)",
341
+ "activeBorder": "rgba(0,0,0,0)",
339
342
  "selectedBg": "rgba(177,186,196,0.08)"
340
343
  },
341
344
  "danger": {
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  canvasDefaultTransparent: string;
3
+ pageHeaderBg: string;
3
4
  marketingIcon: {
4
5
  primary: string;
5
6
  secondary: string;
@@ -333,7 +334,9 @@ declare const _default: {
333
334
  inlineDivider: string;
334
335
  default: {
335
336
  hoverBg: string;
337
+ hoverBorder: string;
336
338
  activeBg: string;
339
+ activeBorder: string;
337
340
  selectedBg: string;
338
341
  };
339
342
  danger: {
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  "canvasDefaultTransparent": "rgba(13,17,23,0)",
5
+ "pageHeaderBg": "#0d1117",
5
6
  "marketingIcon": {
6
7
  "primary": "#79c0ff",
7
8
  "secondary": "#1f6feb"
@@ -335,7 +336,9 @@ exports.default = {
335
336
  "inlineDivider": "rgba(48,54,61,0.48)",
336
337
  "default": {
337
338
  "hoverBg": "rgba(177,186,196,0.12)",
339
+ "hoverBorder": "rgba(0,0,0,0)",
338
340
  "activeBg": "rgba(177,186,196,0.2)",
341
+ "activeBorder": "rgba(0,0,0,0)",
339
342
  "selectedBg": "rgba(177,186,196,0.08)"
340
343
  },
341
344
  "danger": {
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  canvasDefaultTransparent: string;
3
+ pageHeaderBg: string;
3
4
  marketingIcon: {
4
5
  primary: string;
5
6
  secondary: string;
@@ -333,7 +334,9 @@ declare const _default: {
333
334
  inlineDivider: string;
334
335
  default: {
335
336
  hoverBg: string;
337
+ hoverBorder: string;
336
338
  activeBg: string;
339
+ activeBorder: string;
337
340
  selectedBg: string;
338
341
  };
339
342
  danger: {
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  "canvasDefaultTransparent": "rgba(34,39,46,0)",
5
+ "pageHeaderBg": "#22272e",
5
6
  "marketingIcon": {
6
7
  "primary": "#6cb6ff",
7
8
  "secondary": "#316dca"
@@ -335,7 +336,9 @@ exports.default = {
335
336
  "inlineDivider": "rgba(68,76,86,0.48)",
336
337
  "default": {
337
338
  "hoverBg": "rgba(144,157,171,0.12)",
339
+ "hoverBorder": "rgba(0,0,0,0)",
338
340
  "activeBg": "rgba(144,157,171,0.2)",
341
+ "activeBorder": "rgba(0,0,0,0)",
339
342
  "selectedBg": "rgba(144,157,171,0.08)"
340
343
  },
341
344
  "danger": {
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  canvasDefaultTransparent: string;
3
+ pageHeaderBg: string;
3
4
  marketingIcon: {
4
5
  primary: string;
5
6
  secondary: string;
@@ -333,7 +334,9 @@ declare const _default: {
333
334
  inlineDivider: string;
334
335
  default: {
335
336
  hoverBg: string;
337
+ hoverBorder: string;
336
338
  activeBg: string;
339
+ activeBorder: string;
337
340
  selectedBg: string;
338
341
  };
339
342
  danger: {
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  "canvasDefaultTransparent": "rgba(10,12,16,0)",
5
+ "pageHeaderBg": "#0a0c10",
5
6
  "marketingIcon": {
6
7
  "primary": "#91cbff",
7
8
  "secondary": "#409eff"
@@ -334,9 +335,11 @@ exports.default = {
334
335
  "actionListItem": {
335
336
  "inlineDivider": "#7a828e",
336
337
  "default": {
337
- "hoverBg": "rgba(217,222,227,0.12)",
338
- "activeBg": "rgba(217,222,227,0.24)",
339
- "selectedBg": "rgba(217,222,227,0.08)"
338
+ "hoverBg": "#272b33",
339
+ "hoverBorder": "#7a828e",
340
+ "activeBg": "#525964",
341
+ "activeBorder": "#9ea7b3",
342
+ "selectedBg": "#525964"
340
343
  },
341
344
  "danger": {
342
345
  "hoverBg": "#ff6a69",
@@ -1,6 +1,7 @@
1
1
  declare const _default: {
2
2
  light: {
3
3
  canvasDefaultTransparent: string;
4
+ pageHeaderBg: string;
4
5
  marketingIcon: {
5
6
  primary: string;
6
7
  secondary: string;
@@ -334,7 +335,9 @@ declare const _default: {
334
335
  inlineDivider: string;
335
336
  default: {
336
337
  hoverBg: string;
338
+ hoverBorder: string;
337
339
  activeBg: string;
340
+ activeBorder: string;
338
341
  selectedBg: string;
339
342
  };
340
343
  danger: {
@@ -448,6 +451,7 @@ declare const _default: {
448
451
  };
449
452
  light_high_contrast: {
450
453
  canvasDefaultTransparent: string;
454
+ pageHeaderBg: string;
451
455
  marketingIcon: {
452
456
  primary: string;
453
457
  secondary: string;
@@ -781,7 +785,9 @@ declare const _default: {
781
785
  inlineDivider: string;
782
786
  default: {
783
787
  hoverBg: string;
788
+ hoverBorder: string;
784
789
  activeBg: string;
790
+ activeBorder: string;
785
791
  selectedBg: string;
786
792
  };
787
793
  danger: {
@@ -895,6 +901,7 @@ declare const _default: {
895
901
  };
896
902
  light_colorblind: {
897
903
  canvasDefaultTransparent: string;
904
+ pageHeaderBg: string;
898
905
  marketingIcon: {
899
906
  primary: string;
900
907
  secondary: string;
@@ -1228,7 +1235,9 @@ declare const _default: {
1228
1235
  inlineDivider: string;
1229
1236
  default: {
1230
1237
  hoverBg: string;
1238
+ hoverBorder: string;
1231
1239
  activeBg: string;
1240
+ activeBorder: string;
1232
1241
  selectedBg: string;
1233
1242
  };
1234
1243
  danger: {
@@ -1342,6 +1351,7 @@ declare const _default: {
1342
1351
  };
1343
1352
  dark: {
1344
1353
  canvasDefaultTransparent: string;
1354
+ pageHeaderBg: string;
1345
1355
  marketingIcon: {
1346
1356
  primary: string;
1347
1357
  secondary: string;
@@ -1675,7 +1685,9 @@ declare const _default: {
1675
1685
  inlineDivider: string;
1676
1686
  default: {
1677
1687
  hoverBg: string;
1688
+ hoverBorder: string;
1678
1689
  activeBg: string;
1690
+ activeBorder: string;
1679
1691
  selectedBg: string;
1680
1692
  };
1681
1693
  danger: {
@@ -1789,6 +1801,7 @@ declare const _default: {
1789
1801
  };
1790
1802
  dark_dimmed: {
1791
1803
  canvasDefaultTransparent: string;
1804
+ pageHeaderBg: string;
1792
1805
  marketingIcon: {
1793
1806
  primary: string;
1794
1807
  secondary: string;
@@ -2122,7 +2135,9 @@ declare const _default: {
2122
2135
  inlineDivider: string;
2123
2136
  default: {
2124
2137
  hoverBg: string;
2138
+ hoverBorder: string;
2125
2139
  activeBg: string;
2140
+ activeBorder: string;
2126
2141
  selectedBg: string;
2127
2142
  };
2128
2143
  danger: {
@@ -2236,6 +2251,7 @@ declare const _default: {
2236
2251
  };
2237
2252
  dark_high_contrast: {
2238
2253
  canvasDefaultTransparent: string;
2254
+ pageHeaderBg: string;
2239
2255
  marketingIcon: {
2240
2256
  primary: string;
2241
2257
  secondary: string;
@@ -2569,7 +2585,9 @@ declare const _default: {
2569
2585
  inlineDivider: string;
2570
2586
  default: {
2571
2587
  hoverBg: string;
2588
+ hoverBorder: string;
2572
2589
  activeBg: string;
2590
+ activeBorder: string;
2573
2591
  selectedBg: string;
2574
2592
  };
2575
2593
  danger: {
@@ -2683,6 +2701,7 @@ declare const _default: {
2683
2701
  };
2684
2702
  dark_colorblind: {
2685
2703
  canvasDefaultTransparent: string;
2704
+ pageHeaderBg: string;
2686
2705
  marketingIcon: {
2687
2706
  primary: string;
2688
2707
  secondary: string;
@@ -3016,7 +3035,9 @@ declare const _default: {
3016
3035
  inlineDivider: string;
3017
3036
  default: {
3018
3037
  hoverBg: string;
3038
+ hoverBorder: string;
3019
3039
  activeBg: string;
3040
+ activeBorder: string;
3020
3041
  selectedBg: string;
3021
3042
  };
3022
3043
  danger: {
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  canvasDefaultTransparent: string;
3
+ pageHeaderBg: string;
3
4
  marketingIcon: {
4
5
  primary: string;
5
6
  secondary: string;
@@ -333,7 +334,9 @@ declare const _default: {
333
334
  inlineDivider: string;
334
335
  default: {
335
336
  hoverBg: string;
337
+ hoverBorder: string;
336
338
  activeBg: string;
339
+ activeBorder: string;
337
340
  selectedBg: string;
338
341
  };
339
342
  danger: {
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  "canvasDefaultTransparent": "rgba(255,255,255,0)",
5
+ "pageHeaderBg": "#f6f8fa",
5
6
  "marketingIcon": {
6
7
  "primary": "#218bff",
7
8
  "secondary": "#54aeff"
@@ -335,7 +336,9 @@ exports.default = {
335
336
  "inlineDivider": "rgba(208,215,222,0.48)",
336
337
  "default": {
337
338
  "hoverBg": "rgba(208,215,222,0.32)",
339
+ "hoverBorder": "rgba(0,0,0,0)",
338
340
  "activeBg": "rgba(208,215,222,0.48)",
341
+ "activeBorder": "rgba(0,0,0,0)",
339
342
  "selectedBg": "rgba(208,215,222,0.24)"
340
343
  },
341
344
  "danger": {
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  canvasDefaultTransparent: string;
3
+ pageHeaderBg: string;
3
4
  marketingIcon: {
4
5
  primary: string;
5
6
  secondary: string;
@@ -333,7 +334,9 @@ declare const _default: {
333
334
  inlineDivider: string;
334
335
  default: {
335
336
  hoverBg: string;
337
+ hoverBorder: string;
336
338
  activeBg: string;
339
+ activeBorder: string;
337
340
  selectedBg: string;
338
341
  };
339
342
  danger: {
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  "canvasDefaultTransparent": "rgba(255,255,255,0)",
5
+ "pageHeaderBg": "#f6f8fa",
5
6
  "marketingIcon": {
6
7
  "primary": "#218bff",
7
8
  "secondary": "#54aeff"
@@ -335,7 +336,9 @@ exports.default = {
335
336
  "inlineDivider": "rgba(208,215,222,0.48)",
336
337
  "default": {
337
338
  "hoverBg": "rgba(208,215,222,0.32)",
339
+ "hoverBorder": "rgba(0,0,0,0)",
338
340
  "activeBg": "rgba(208,215,222,0.48)",
341
+ "activeBorder": "rgba(0,0,0,0)",
339
342
  "selectedBg": "rgba(208,215,222,0.24)"
340
343
  },
341
344
  "danger": {
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  canvasDefaultTransparent: string;
3
+ pageHeaderBg: string;
3
4
  marketingIcon: {
4
5
  primary: string;
5
6
  secondary: string;
@@ -333,7 +334,9 @@ declare const _default: {
333
334
  inlineDivider: string;
334
335
  default: {
335
336
  hoverBg: string;
337
+ hoverBorder: string;
336
338
  activeBg: string;
339
+ activeBorder: string;
337
340
  selectedBg: string;
338
341
  };
339
342
  danger: {
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  "canvasDefaultTransparent": "rgba(255,255,255,0)",
5
+ "pageHeaderBg": "#ffffff",
5
6
  "marketingIcon": {
6
7
  "primary": "#1168e3",
7
8
  "secondary": "#368cf9"
@@ -332,16 +333,18 @@ exports.default = {
332
333
  "borderHover": "rgba(172,182,192,0.2)"
333
334
  },
334
335
  "actionListItem": {
335
- "inlineDivider": "rgba(32,37,44,0.48)",
336
+ "inlineDivider": "#88929D",
336
337
  "default": {
337
- "hoverBg": "rgba(206,213,220,0.32)",
338
- "activeBg": "rgba(206,213,220,0.48)",
339
- "selectedBg": "rgba(206,213,220,0.24)"
338
+ "hoverBg": "#E7ECF0",
339
+ "hoverBorder": "#88929D",
340
+ "activeBg": "#CED5DC",
341
+ "activeBorder": "#20252C",
342
+ "selectedBg": "#CED5DC"
340
343
  },
341
344
  "danger": {
342
- "hoverBg": "rgba(255,240,238,0.64)",
343
- "activeBg": "#fff0ee",
344
- "hoverText": "#a0111f"
345
+ "hoverBg": "#a0111f",
346
+ "activeBg": "#6e011a",
347
+ "hoverText": "#ffffff"
345
348
  }
346
349
  },
347
350
  "fg": {
@@ -2,6 +2,7 @@ declare const _default: {
2
2
  colors: {
3
3
  light: {
4
4
  canvasDefaultTransparent: string;
5
+ pageHeaderBg: string;
5
6
  marketingIcon: {
6
7
  primary: string;
7
8
  secondary: string;
@@ -335,7 +336,9 @@ declare const _default: {
335
336
  inlineDivider: string;
336
337
  default: {
337
338
  hoverBg: string;
339
+ hoverBorder: string;
338
340
  activeBg: string;
341
+ activeBorder: string;
339
342
  selectedBg: string;
340
343
  };
341
344
  danger: {
@@ -449,6 +452,7 @@ declare const _default: {
449
452
  };
450
453
  light_high_contrast: {
451
454
  canvasDefaultTransparent: string;
455
+ pageHeaderBg: string;
452
456
  marketingIcon: {
453
457
  primary: string;
454
458
  secondary: string;
@@ -782,7 +786,9 @@ declare const _default: {
782
786
  inlineDivider: string;
783
787
  default: {
784
788
  hoverBg: string;
789
+ hoverBorder: string;
785
790
  activeBg: string;
791
+ activeBorder: string;
786
792
  selectedBg: string;
787
793
  };
788
794
  danger: {
@@ -896,6 +902,7 @@ declare const _default: {
896
902
  };
897
903
  light_colorblind: {
898
904
  canvasDefaultTransparent: string;
905
+ pageHeaderBg: string;
899
906
  marketingIcon: {
900
907
  primary: string;
901
908
  secondary: string;
@@ -1229,7 +1236,9 @@ declare const _default: {
1229
1236
  inlineDivider: string;
1230
1237
  default: {
1231
1238
  hoverBg: string;
1239
+ hoverBorder: string;
1232
1240
  activeBg: string;
1241
+ activeBorder: string;
1233
1242
  selectedBg: string;
1234
1243
  };
1235
1244
  danger: {
@@ -1343,6 +1352,7 @@ declare const _default: {
1343
1352
  };
1344
1353
  dark: {
1345
1354
  canvasDefaultTransparent: string;
1355
+ pageHeaderBg: string;
1346
1356
  marketingIcon: {
1347
1357
  primary: string;
1348
1358
  secondary: string;
@@ -1676,7 +1686,9 @@ declare const _default: {
1676
1686
  inlineDivider: string;
1677
1687
  default: {
1678
1688
  hoverBg: string;
1689
+ hoverBorder: string;
1679
1690
  activeBg: string;
1691
+ activeBorder: string;
1680
1692
  selectedBg: string;
1681
1693
  };
1682
1694
  danger: {
@@ -1790,6 +1802,7 @@ declare const _default: {
1790
1802
  };
1791
1803
  dark_dimmed: {
1792
1804
  canvasDefaultTransparent: string;
1805
+ pageHeaderBg: string;
1793
1806
  marketingIcon: {
1794
1807
  primary: string;
1795
1808
  secondary: string;
@@ -2123,7 +2136,9 @@ declare const _default: {
2123
2136
  inlineDivider: string;
2124
2137
  default: {
2125
2138
  hoverBg: string;
2139
+ hoverBorder: string;
2126
2140
  activeBg: string;
2141
+ activeBorder: string;
2127
2142
  selectedBg: string;
2128
2143
  };
2129
2144
  danger: {
@@ -2237,6 +2252,7 @@ declare const _default: {
2237
2252
  };
2238
2253
  dark_high_contrast: {
2239
2254
  canvasDefaultTransparent: string;
2255
+ pageHeaderBg: string;
2240
2256
  marketingIcon: {
2241
2257
  primary: string;
2242
2258
  secondary: string;
@@ -2570,7 +2586,9 @@ declare const _default: {
2570
2586
  inlineDivider: string;
2571
2587
  default: {
2572
2588
  hoverBg: string;
2589
+ hoverBorder: string;
2573
2590
  activeBg: string;
2591
+ activeBorder: string;
2574
2592
  selectedBg: string;
2575
2593
  };
2576
2594
  danger: {
@@ -2684,6 +2702,7 @@ declare const _default: {
2684
2702
  };
2685
2703
  dark_colorblind: {
2686
2704
  canvasDefaultTransparent: string;
2705
+ pageHeaderBg: string;
2687
2706
  marketingIcon: {
2688
2707
  primary: string;
2689
2708
  secondary: string;
@@ -3017,7 +3036,9 @@ declare const _default: {
3017
3036
  inlineDivider: string;
3018
3037
  default: {
3019
3038
  hoverBg: string;
3039
+ hoverBorder: string;
3020
3040
  activeBg: string;
3041
+ activeBorder: string;
3021
3042
  selectedBg: string;
3022
3043
  };
3023
3044
  danger: {
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "canvasDefaultTransparent": "rgba(13,17,23,0)",
3
+ "pageHeaderBg": "#0d1117",
3
4
  "marketingIcon": {
4
5
  "primary": "#79c0ff",
5
6
  "secondary": "#1f6feb"
@@ -333,7 +334,9 @@
333
334
  "inlineDivider": "rgba(48,54,61,0.48)",
334
335
  "default": {
335
336
  "hoverBg": "rgba(177,186,196,0.12)",
337
+ "hoverBorder": "rgba(0,0,0,0)",
336
338
  "activeBg": "rgba(177,186,196,0.2)",
339
+ "activeBorder": "rgba(0,0,0,0)",
337
340
  "selectedBg": "rgba(177,186,196,0.08)"
338
341
  },
339
342
  "danger": {
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "canvasDefaultTransparent": "rgba(13,17,23,0)",
3
+ "pageHeaderBg": "#0d1117",
3
4
  "marketingIcon": {
4
5
  "primary": "#79c0ff",
5
6
  "secondary": "#1f6feb"
@@ -333,7 +334,9 @@
333
334
  "inlineDivider": "rgba(48,54,61,0.48)",
334
335
  "default": {
335
336
  "hoverBg": "rgba(177,186,196,0.12)",
337
+ "hoverBorder": "rgba(0,0,0,0)",
336
338
  "activeBg": "rgba(177,186,196,0.2)",
339
+ "activeBorder": "rgba(0,0,0,0)",
337
340
  "selectedBg": "rgba(177,186,196,0.08)"
338
341
  },
339
342
  "danger": {
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "canvasDefaultTransparent": "rgba(34,39,46,0)",
3
+ "pageHeaderBg": "#22272e",
3
4
  "marketingIcon": {
4
5
  "primary": "#6cb6ff",
5
6
  "secondary": "#316dca"
@@ -333,7 +334,9 @@
333
334
  "inlineDivider": "rgba(68,76,86,0.48)",
334
335
  "default": {
335
336
  "hoverBg": "rgba(144,157,171,0.12)",
337
+ "hoverBorder": "rgba(0,0,0,0)",
336
338
  "activeBg": "rgba(144,157,171,0.2)",
339
+ "activeBorder": "rgba(0,0,0,0)",
337
340
  "selectedBg": "rgba(144,157,171,0.08)"
338
341
  },
339
342
  "danger": {
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "canvasDefaultTransparent": "rgba(10,12,16,0)",
3
+ "pageHeaderBg": "#0a0c10",
3
4
  "marketingIcon": {
4
5
  "primary": "#91cbff",
5
6
  "secondary": "#409eff"
@@ -332,9 +333,11 @@
332
333
  "actionListItem": {
333
334
  "inlineDivider": "#7a828e",
334
335
  "default": {
335
- "hoverBg": "rgba(217,222,227,0.12)",
336
- "activeBg": "rgba(217,222,227,0.24)",
337
- "selectedBg": "rgba(217,222,227,0.08)"
336
+ "hoverBg": "#272b33",
337
+ "hoverBorder": "#7a828e",
338
+ "activeBg": "#525964",
339
+ "activeBorder": "#9ea7b3",
340
+ "selectedBg": "#525964"
338
341
  },
339
342
  "danger": {
340
343
  "hoverBg": "#ff6a69",
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "canvasDefaultTransparent": "rgba(255,255,255,0)",
3
+ "pageHeaderBg": "#f6f8fa",
3
4
  "marketingIcon": {
4
5
  "primary": "#218bff",
5
6
  "secondary": "#54aeff"
@@ -333,7 +334,9 @@
333
334
  "inlineDivider": "rgba(208,215,222,0.48)",
334
335
  "default": {
335
336
  "hoverBg": "rgba(208,215,222,0.32)",
337
+ "hoverBorder": "rgba(0,0,0,0)",
336
338
  "activeBg": "rgba(208,215,222,0.48)",
339
+ "activeBorder": "rgba(0,0,0,0)",
337
340
  "selectedBg": "rgba(208,215,222,0.24)"
338
341
  },
339
342
  "danger": {
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "canvasDefaultTransparent": "rgba(255,255,255,0)",
3
+ "pageHeaderBg": "#f6f8fa",
3
4
  "marketingIcon": {
4
5
  "primary": "#218bff",
5
6
  "secondary": "#54aeff"
@@ -333,7 +334,9 @@
333
334
  "inlineDivider": "rgba(208,215,222,0.48)",
334
335
  "default": {
335
336
  "hoverBg": "rgba(208,215,222,0.32)",
337
+ "hoverBorder": "rgba(0,0,0,0)",
336
338
  "activeBg": "rgba(208,215,222,0.48)",
339
+ "activeBorder": "rgba(0,0,0,0)",
337
340
  "selectedBg": "rgba(208,215,222,0.24)"
338
341
  },
339
342
  "danger": {
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "canvasDefaultTransparent": "rgba(255,255,255,0)",
3
+ "pageHeaderBg": "#ffffff",
3
4
  "marketingIcon": {
4
5
  "primary": "#1168e3",
5
6
  "secondary": "#368cf9"
@@ -330,16 +331,18 @@
330
331
  "borderHover": "rgba(172,182,192,0.2)"
331
332
  },
332
333
  "actionListItem": {
333
- "inlineDivider": "rgba(32,37,44,0.48)",
334
+ "inlineDivider": "#88929D",
334
335
  "default": {
335
- "hoverBg": "rgba(206,213,220,0.32)",
336
- "activeBg": "rgba(206,213,220,0.48)",
337
- "selectedBg": "rgba(206,213,220,0.24)"
336
+ "hoverBg": "#E7ECF0",
337
+ "hoverBorder": "#88929D",
338
+ "activeBg": "#CED5DC",
339
+ "activeBorder": "#20252C",
340
+ "selectedBg": "#CED5DC"
338
341
  },
339
342
  "danger": {
340
- "hoverBg": "rgba(255,240,238,0.64)",
341
- "activeBg": "#fff0ee",
342
- "hoverText": "#a0111f"
343
+ "hoverBg": "#a0111f",
344
+ "activeBg": "#6e011a",
345
+ "hoverText": "#ffffff"
343
346
  }
344
347
  },
345
348
  "fg": {
@@ -1,6 +1,7 @@
1
1
  @mixin primer-colors-dark {
2
2
  & {
3
3
  --color-canvas-default-transparent: rgba(13,17,23,0);
4
+ --color-page-header-bg: #0d1117;
4
5
  --color-marketing-icon-primary: #79c0ff;
5
6
  --color-marketing-icon-secondary: #1f6feb;
6
7
  --color-diff-blob-addition-num-text: #c9d1d9;
@@ -262,7 +263,9 @@
262
263
  --color-underlinenav-border-hover: rgba(110,118,129,0.4);
263
264
  --color-action-list-item-inline-divider: rgba(48,54,61,0.48);
264
265
  --color-action-list-item-default-hover-bg: rgba(177,186,196,0.12);
266
+ --color-action-list-item-default-hover-border: rgba(0,0,0,0);
265
267
  --color-action-list-item-default-active-bg: rgba(177,186,196,0.2);
268
+ --color-action-list-item-default-active-border: rgba(0,0,0,0);
266
269
  --color-action-list-item-default-selected-bg: rgba(177,186,196,0.08);
267
270
  --color-action-list-item-danger-hover-bg: rgba(248,81,73,0.16);
268
271
  --color-action-list-item-danger-active-bg: rgba(248,81,73,0.24);
@@ -1,6 +1,7 @@
1
1
  @mixin primer-colors-dark_colorblind {
2
2
  & {
3
3
  --color-canvas-default-transparent: rgba(13,17,23,0);
4
+ --color-page-header-bg: #0d1117;
4
5
  --color-marketing-icon-primary: #79c0ff;
5
6
  --color-marketing-icon-secondary: #1f6feb;
6
7
  --color-diff-blob-addition-num-text: #c9d1d9;
@@ -262,7 +263,9 @@
262
263
  --color-underlinenav-border-hover: rgba(110,118,129,0.4);
263
264
  --color-action-list-item-inline-divider: rgba(48,54,61,0.48);
264
265
  --color-action-list-item-default-hover-bg: rgba(177,186,196,0.12);
266
+ --color-action-list-item-default-hover-border: rgba(0,0,0,0);
265
267
  --color-action-list-item-default-active-bg: rgba(177,186,196,0.2);
268
+ --color-action-list-item-default-active-border: rgba(0,0,0,0);
266
269
  --color-action-list-item-default-selected-bg: rgba(177,186,196,0.08);
267
270
  --color-action-list-item-danger-hover-bg: rgba(195,128,0,0.16);
268
271
  --color-action-list-item-danger-active-bg: rgba(195,128,0,0.24);
@@ -1,6 +1,7 @@
1
1
  @mixin primer-colors-dark_dimmed {
2
2
  & {
3
3
  --color-canvas-default-transparent: rgba(34,39,46,0);
4
+ --color-page-header-bg: #22272e;
4
5
  --color-marketing-icon-primary: #6cb6ff;
5
6
  --color-marketing-icon-secondary: #316dca;
6
7
  --color-diff-blob-addition-num-text: #adbac7;
@@ -262,7 +263,9 @@
262
263
  --color-underlinenav-border-hover: rgba(99,110,123,0.4);
263
264
  --color-action-list-item-inline-divider: rgba(68,76,86,0.48);
264
265
  --color-action-list-item-default-hover-bg: rgba(144,157,171,0.12);
266
+ --color-action-list-item-default-hover-border: rgba(0,0,0,0);
265
267
  --color-action-list-item-default-active-bg: rgba(144,157,171,0.2);
268
+ --color-action-list-item-default-active-border: rgba(0,0,0,0);
266
269
  --color-action-list-item-default-selected-bg: rgba(144,157,171,0.08);
267
270
  --color-action-list-item-danger-hover-bg: rgba(229,83,75,0.16);
268
271
  --color-action-list-item-danger-active-bg: rgba(229,83,75,0.24);
@@ -1,6 +1,7 @@
1
1
  @mixin primer-colors-dark_high_contrast {
2
2
  & {
3
3
  --color-canvas-default-transparent: rgba(10,12,16,0);
4
+ --color-page-header-bg: #0a0c10;
4
5
  --color-marketing-icon-primary: #91cbff;
5
6
  --color-marketing-icon-secondary: #409eff;
6
7
  --color-diff-blob-addition-num-text: #f0f3f6;
@@ -261,9 +262,11 @@
261
262
  --color-underlinenav-icon: #f0f3f6;
262
263
  --color-underlinenav-border-hover: #bdc4cc;
263
264
  --color-action-list-item-inline-divider: #7a828e;
264
- --color-action-list-item-default-hover-bg: rgba(217,222,227,0.12);
265
- --color-action-list-item-default-active-bg: rgba(217,222,227,0.24);
266
- --color-action-list-item-default-selected-bg: rgba(217,222,227,0.08);
265
+ --color-action-list-item-default-hover-bg: #272b33;
266
+ --color-action-list-item-default-hover-border: #7a828e;
267
+ --color-action-list-item-default-active-bg: #525964;
268
+ --color-action-list-item-default-active-border: #9ea7b3;
269
+ --color-action-list-item-default-selected-bg: #525964;
267
270
  --color-action-list-item-danger-hover-bg: #ff6a69;
268
271
  --color-action-list-item-danger-active-bg: #ff4445;
269
272
  --color-action-list-item-danger-hover-text: #0a0c10;
@@ -1,6 +1,7 @@
1
1
  @mixin primer-colors-light {
2
2
  & {
3
3
  --color-canvas-default-transparent: rgba(255,255,255,0);
4
+ --color-page-header-bg: #f6f8fa;
4
5
  --color-marketing-icon-primary: #218bff;
5
6
  --color-marketing-icon-secondary: #54aeff;
6
7
  --color-diff-blob-addition-num-text: #24292f;
@@ -262,7 +263,9 @@
262
263
  --color-underlinenav-border-hover: rgba(175,184,193,0.2);
263
264
  --color-action-list-item-inline-divider: rgba(208,215,222,0.48);
264
265
  --color-action-list-item-default-hover-bg: rgba(208,215,222,0.32);
266
+ --color-action-list-item-default-hover-border: rgba(0,0,0,0);
265
267
  --color-action-list-item-default-active-bg: rgba(208,215,222,0.48);
268
+ --color-action-list-item-default-active-border: rgba(0,0,0,0);
266
269
  --color-action-list-item-default-selected-bg: rgba(208,215,222,0.24);
267
270
  --color-action-list-item-danger-hover-bg: rgba(255,235,233,0.64);
268
271
  --color-action-list-item-danger-active-bg: #FFEBE9;
@@ -1,6 +1,7 @@
1
1
  @mixin primer-colors-light_colorblind {
2
2
  & {
3
3
  --color-canvas-default-transparent: rgba(255,255,255,0);
4
+ --color-page-header-bg: #f6f8fa;
4
5
  --color-marketing-icon-primary: #218bff;
5
6
  --color-marketing-icon-secondary: #54aeff;
6
7
  --color-diff-blob-addition-num-text: #24292f;
@@ -262,7 +263,9 @@
262
263
  --color-underlinenav-border-hover: rgba(175,184,193,0.2);
263
264
  --color-action-list-item-inline-divider: rgba(208,215,222,0.48);
264
265
  --color-action-list-item-default-hover-bg: rgba(208,215,222,0.32);
266
+ --color-action-list-item-default-hover-border: rgba(0,0,0,0);
265
267
  --color-action-list-item-default-active-bg: rgba(208,215,222,0.48);
268
+ --color-action-list-item-default-active-border: rgba(0,0,0,0);
266
269
  --color-action-list-item-default-selected-bg: rgba(208,215,222,0.24);
267
270
  --color-action-list-item-danger-hover-bg: rgba(254,254,72,0.64);
268
271
  --color-action-list-item-danger-active-bg: #fefe48;
@@ -1,6 +1,7 @@
1
1
  @mixin primer-colors-light_high_contrast {
2
2
  & {
3
3
  --color-canvas-default-transparent: rgba(255,255,255,0);
4
+ --color-page-header-bg: #ffffff;
4
5
  --color-marketing-icon-primary: #1168e3;
5
6
  --color-marketing-icon-secondary: #368cf9;
6
7
  --color-diff-blob-addition-num-text: #0E1116;
@@ -260,13 +261,15 @@
260
261
  --color-btn-danger-hover-icon: #ffffff;
261
262
  --color-underlinenav-icon: #66707B;
262
263
  --color-underlinenav-border-hover: rgba(172,182,192,0.2);
263
- --color-action-list-item-inline-divider: rgba(32,37,44,0.48);
264
- --color-action-list-item-default-hover-bg: rgba(206,213,220,0.32);
265
- --color-action-list-item-default-active-bg: rgba(206,213,220,0.48);
266
- --color-action-list-item-default-selected-bg: rgba(206,213,220,0.24);
267
- --color-action-list-item-danger-hover-bg: rgba(255,240,238,0.64);
268
- --color-action-list-item-danger-active-bg: #fff0ee;
269
- --color-action-list-item-danger-hover-text: #a0111f;
264
+ --color-action-list-item-inline-divider: #88929D;
265
+ --color-action-list-item-default-hover-bg: #E7ECF0;
266
+ --color-action-list-item-default-hover-border: #88929D;
267
+ --color-action-list-item-default-active-bg: #CED5DC;
268
+ --color-action-list-item-default-active-border: #20252C;
269
+ --color-action-list-item-default-selected-bg: #CED5DC;
270
+ --color-action-list-item-danger-hover-bg: #a0111f;
271
+ --color-action-list-item-danger-active-bg: #6e011a;
272
+ --color-action-list-item-danger-hover-text: #ffffff;
270
273
  --color-fg-default: #0E1116;
271
274
  --color-fg-muted: #0E1116;
272
275
  --color-fg-subtle: #66707B;
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  "canvasDefaultTransparent": "rgba(13,17,23,0)",
3
+ "pageHeaderBg": "#0d1117",
3
4
  "marketingIcon": {
4
5
  "primary": "#79c0ff",
5
6
  "secondary": "#1f6feb"
@@ -333,7 +334,9 @@ export default {
333
334
  "inlineDivider": "rgba(48,54,61,0.48)",
334
335
  "default": {
335
336
  "hoverBg": "rgba(177,186,196,0.12)",
337
+ "hoverBorder": "rgba(0,0,0,0)",
336
338
  "activeBg": "rgba(177,186,196,0.2)",
339
+ "activeBorder": "rgba(0,0,0,0)",
337
340
  "selectedBg": "rgba(177,186,196,0.08)"
338
341
  },
339
342
  "danger": {
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  "canvasDefaultTransparent": "rgba(13,17,23,0)",
3
+ "pageHeaderBg": "#0d1117",
3
4
  "marketingIcon": {
4
5
  "primary": "#79c0ff",
5
6
  "secondary": "#1f6feb"
@@ -333,7 +334,9 @@ export default {
333
334
  "inlineDivider": "rgba(48,54,61,0.48)",
334
335
  "default": {
335
336
  "hoverBg": "rgba(177,186,196,0.12)",
337
+ "hoverBorder": "rgba(0,0,0,0)",
336
338
  "activeBg": "rgba(177,186,196,0.2)",
339
+ "activeBorder": "rgba(0,0,0,0)",
337
340
  "selectedBg": "rgba(177,186,196,0.08)"
338
341
  },
339
342
  "danger": {
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  "canvasDefaultTransparent": "rgba(34,39,46,0)",
3
+ "pageHeaderBg": "#22272e",
3
4
  "marketingIcon": {
4
5
  "primary": "#6cb6ff",
5
6
  "secondary": "#316dca"
@@ -333,7 +334,9 @@ export default {
333
334
  "inlineDivider": "rgba(68,76,86,0.48)",
334
335
  "default": {
335
336
  "hoverBg": "rgba(144,157,171,0.12)",
337
+ "hoverBorder": "rgba(0,0,0,0)",
336
338
  "activeBg": "rgba(144,157,171,0.2)",
339
+ "activeBorder": "rgba(0,0,0,0)",
337
340
  "selectedBg": "rgba(144,157,171,0.08)"
338
341
  },
339
342
  "danger": {
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  "canvasDefaultTransparent": "rgba(10,12,16,0)",
3
+ "pageHeaderBg": "#0a0c10",
3
4
  "marketingIcon": {
4
5
  "primary": "#91cbff",
5
6
  "secondary": "#409eff"
@@ -332,9 +333,11 @@ export default {
332
333
  "actionListItem": {
333
334
  "inlineDivider": "#7a828e",
334
335
  "default": {
335
- "hoverBg": "rgba(217,222,227,0.12)",
336
- "activeBg": "rgba(217,222,227,0.24)",
337
- "selectedBg": "rgba(217,222,227,0.08)"
336
+ "hoverBg": "#272b33",
337
+ "hoverBorder": "#7a828e",
338
+ "activeBg": "#525964",
339
+ "activeBorder": "#9ea7b3",
340
+ "selectedBg": "#525964"
338
341
  },
339
342
  "danger": {
340
343
  "hoverBg": "#ff6a69",
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  "canvasDefaultTransparent": "rgba(255,255,255,0)",
3
+ "pageHeaderBg": "#f6f8fa",
3
4
  "marketingIcon": {
4
5
  "primary": "#218bff",
5
6
  "secondary": "#54aeff"
@@ -333,7 +334,9 @@ export default {
333
334
  "inlineDivider": "rgba(208,215,222,0.48)",
334
335
  "default": {
335
336
  "hoverBg": "rgba(208,215,222,0.32)",
337
+ "hoverBorder": "rgba(0,0,0,0)",
336
338
  "activeBg": "rgba(208,215,222,0.48)",
339
+ "activeBorder": "rgba(0,0,0,0)",
337
340
  "selectedBg": "rgba(208,215,222,0.24)"
338
341
  },
339
342
  "danger": {
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  "canvasDefaultTransparent": "rgba(255,255,255,0)",
3
+ "pageHeaderBg": "#f6f8fa",
3
4
  "marketingIcon": {
4
5
  "primary": "#218bff",
5
6
  "secondary": "#54aeff"
@@ -333,7 +334,9 @@ export default {
333
334
  "inlineDivider": "rgba(208,215,222,0.48)",
334
335
  "default": {
335
336
  "hoverBg": "rgba(208,215,222,0.32)",
337
+ "hoverBorder": "rgba(0,0,0,0)",
336
338
  "activeBg": "rgba(208,215,222,0.48)",
339
+ "activeBorder": "rgba(0,0,0,0)",
337
340
  "selectedBg": "rgba(208,215,222,0.24)"
338
341
  },
339
342
  "danger": {
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  "canvasDefaultTransparent": "rgba(255,255,255,0)",
3
+ "pageHeaderBg": "#ffffff",
3
4
  "marketingIcon": {
4
5
  "primary": "#1168e3",
5
6
  "secondary": "#368cf9"
@@ -330,16 +331,18 @@ export default {
330
331
  "borderHover": "rgba(172,182,192,0.2)"
331
332
  },
332
333
  "actionListItem": {
333
- "inlineDivider": "rgba(32,37,44,0.48)",
334
+ "inlineDivider": "#88929D",
334
335
  "default": {
335
- "hoverBg": "rgba(206,213,220,0.32)",
336
- "activeBg": "rgba(206,213,220,0.48)",
337
- "selectedBg": "rgba(206,213,220,0.24)"
336
+ "hoverBg": "#E7ECF0",
337
+ "hoverBorder": "#88929D",
338
+ "activeBg": "#CED5DC",
339
+ "activeBorder": "#20252C",
340
+ "selectedBg": "#CED5DC"
338
341
  },
339
342
  "danger": {
340
- "hoverBg": "rgba(255,240,238,0.64)",
341
- "activeBg": "#fff0ee",
342
- "hoverText": "#a0111f"
343
+ "hoverBg": "#a0111f",
344
+ "activeBg": "#6e011a",
345
+ "hoverText": "#ffffff"
343
346
  }
344
347
  },
345
348
  "fg": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "7.2.0",
3
+ "version": "7.4.0",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "files": ["dist"],
6
6
  "main": "dist/js/index.js",