@primer/primitives 7.4.1 → 7.5.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 +10 -0
  2. package/dist/js/colors/dark.d.ts +12 -0
  3. package/dist/js/colors/dark.js +12 -0
  4. package/dist/js/colors/dark_colorblind.d.ts +12 -0
  5. package/dist/js/colors/dark_colorblind.js +12 -0
  6. package/dist/js/colors/dark_dimmed.d.ts +12 -0
  7. package/dist/js/colors/dark_dimmed.js +12 -0
  8. package/dist/js/colors/dark_high_contrast.d.ts +12 -0
  9. package/dist/js/colors/dark_high_contrast.js +12 -0
  10. package/dist/js/colors/index.d.ts +84 -0
  11. package/dist/js/colors/light.d.ts +12 -0
  12. package/dist/js/colors/light.js +13 -1
  13. package/dist/js/colors/light_colorblind.d.ts +12 -0
  14. package/dist/js/colors/light_colorblind.js +13 -1
  15. package/dist/js/colors/light_high_contrast.d.ts +12 -0
  16. package/dist/js/colors/light_high_contrast.js +13 -1
  17. package/dist/js/index.d.ts +84 -0
  18. package/dist/json/colors/dark.json +12 -0
  19. package/dist/json/colors/dark_colorblind.json +12 -0
  20. package/dist/json/colors/dark_dimmed.json +12 -0
  21. package/dist/json/colors/dark_high_contrast.json +12 -0
  22. package/dist/json/colors/light.json +13 -1
  23. package/dist/json/colors/light_colorblind.json +13 -1
  24. package/dist/json/colors/light_high_contrast.json +13 -1
  25. package/dist/scss/colors/_dark.scss +8 -0
  26. package/dist/scss/colors/_dark_colorblind.scss +8 -0
  27. package/dist/scss/colors/_dark_dimmed.scss +8 -0
  28. package/dist/scss/colors/_dark_high_contrast.scss +8 -0
  29. package/dist/scss/colors/_light.scss +9 -1
  30. package/dist/scss/colors/_light_colorblind.scss +9 -1
  31. package/dist/scss/colors/_light_high_contrast.scss +9 -1
  32. package/dist/ts/colors/dark.ts +12 -0
  33. package/dist/ts/colors/dark_colorblind.ts +12 -0
  34. package/dist/ts/colors/dark_dimmed.ts +12 -0
  35. package/dist/ts/colors/dark_high_contrast.ts +12 -0
  36. package/dist/ts/colors/light.ts +13 -1
  37. package/dist/ts/colors/light_colorblind.ts +13 -1
  38. package/dist/ts/colors/light_high_contrast.ts +13 -1
  39. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @primer/primitives
2
2
 
3
+ ## 7.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#296](https://github.com/primer/primitives/pull/296) [`389b08b`](https://github.com/primer/primitives/commit/389b08bd09d965b117516ea5c72da64bc4cb03d9) Thanks [@simurai](https://github.com/simurai)! - Add `open` and `closed` roles
8
+
9
+ ### Patch Changes
10
+
11
+ - [#301](https://github.com/primer/primitives/pull/301) [`2f18306`](https://github.com/primer/primitives/commit/2f1830606a025239a9153d4ebeec46ef0fa894e6) Thanks [@konradpabjan](https://github.com/konradpabjan)! - [Actions] Update light theme color for gateWaitingText
12
+
3
13
  ## 7.4.1
4
14
 
5
15
  ### Patch Changes
@@ -404,6 +404,18 @@ declare const _default: {
404
404
  muted: string;
405
405
  subtle: string;
406
406
  };
407
+ open: {
408
+ fg: string;
409
+ emphasis: string;
410
+ muted: string;
411
+ subtle: string;
412
+ };
413
+ closed: {
414
+ fg: string;
415
+ emphasis: string;
416
+ muted: string;
417
+ subtle: string;
418
+ };
407
419
  done: {
408
420
  fg: string;
409
421
  emphasis: string;
@@ -406,6 +406,18 @@ exports.default = {
406
406
  "muted": "rgba(248,81,73,0.4)",
407
407
  "subtle": "rgba(248,81,73,0.15)"
408
408
  },
409
+ "open": {
410
+ "fg": "#3fb950",
411
+ "emphasis": "#238636",
412
+ "muted": "rgba(46,160,67,0.4)",
413
+ "subtle": "rgba(46,160,67,0.15)"
414
+ },
415
+ "closed": {
416
+ "fg": "#f85149",
417
+ "emphasis": "#da3633",
418
+ "muted": "rgba(248,81,73,0.4)",
419
+ "subtle": "rgba(248,81,73,0.15)"
420
+ },
409
421
  "done": {
410
422
  "fg": "#a371f7",
411
423
  "emphasis": "#8957e5",
@@ -404,6 +404,18 @@ declare const _default: {
404
404
  muted: string;
405
405
  subtle: string;
406
406
  };
407
+ open: {
408
+ fg: string;
409
+ emphasis: string;
410
+ muted: string;
411
+ subtle: string;
412
+ };
413
+ closed: {
414
+ fg: string;
415
+ emphasis: string;
416
+ muted: string;
417
+ subtle: string;
418
+ };
407
419
  done: {
408
420
  fg: string;
409
421
  emphasis: string;
@@ -406,6 +406,18 @@ exports.default = {
406
406
  "muted": "rgba(195,128,0,0.4)",
407
407
  "subtle": "rgba(195,128,0,0.15)"
408
408
  },
409
+ "open": {
410
+ "fg": "#f0883e",
411
+ "emphasis": "#bd561d",
412
+ "muted": "rgba(219,109,40,0.4)",
413
+ "subtle": "rgba(219,109,40,0.15)"
414
+ },
415
+ "closed": {
416
+ "fg": "#6e7681",
417
+ "emphasis": "#484f58",
418
+ "muted": "rgba(110,118,129,0.4)",
419
+ "subtle": "rgba(110,118,129,0.15)"
420
+ },
409
421
  "done": {
410
422
  "fg": "#a371f7",
411
423
  "emphasis": "#8957e5",
@@ -404,6 +404,18 @@ declare const _default: {
404
404
  muted: string;
405
405
  subtle: string;
406
406
  };
407
+ open: {
408
+ fg: string;
409
+ emphasis: string;
410
+ muted: string;
411
+ subtle: string;
412
+ };
413
+ closed: {
414
+ fg: string;
415
+ emphasis: string;
416
+ muted: string;
417
+ subtle: string;
418
+ };
407
419
  done: {
408
420
  fg: string;
409
421
  emphasis: string;
@@ -406,6 +406,18 @@ exports.default = {
406
406
  "muted": "rgba(229,83,75,0.4)",
407
407
  "subtle": "rgba(229,83,75,0.15)"
408
408
  },
409
+ "open": {
410
+ "fg": "#57ab5a",
411
+ "emphasis": "#347d39",
412
+ "muted": "rgba(70,149,74,0.4)",
413
+ "subtle": "rgba(70,149,74,0.15)"
414
+ },
415
+ "closed": {
416
+ "fg": "#e5534b",
417
+ "emphasis": "#c93c37",
418
+ "muted": "rgba(229,83,75,0.4)",
419
+ "subtle": "rgba(229,83,75,0.15)"
420
+ },
409
421
  "done": {
410
422
  "fg": "#986ee2",
411
423
  "emphasis": "#8256d0",
@@ -404,6 +404,18 @@ declare const _default: {
404
404
  muted: string;
405
405
  subtle: string;
406
406
  };
407
+ open: {
408
+ fg: string;
409
+ emphasis: string;
410
+ muted: string;
411
+ subtle: string;
412
+ };
413
+ closed: {
414
+ fg: string;
415
+ emphasis: string;
416
+ muted: string;
417
+ subtle: string;
418
+ };
407
419
  done: {
408
420
  fg: string;
409
421
  emphasis: string;
@@ -406,6 +406,18 @@ exports.default = {
406
406
  "muted": "#ff6a69",
407
407
  "subtle": "rgba(255,106,105,0.15)"
408
408
  },
409
+ "open": {
410
+ "fg": "#26cd4d",
411
+ "emphasis": "#09b43a",
412
+ "muted": "rgba(9,180,58,0.4)",
413
+ "subtle": "rgba(9,180,58,0.15)"
414
+ },
415
+ "closed": {
416
+ "fg": "#ff6a69",
417
+ "emphasis": "#ff6a69",
418
+ "muted": "rgba(255,106,105,0.4)",
419
+ "subtle": "rgba(255,106,105,0.15)"
420
+ },
409
421
  "done": {
410
422
  "fg": "#b780ff",
411
423
  "emphasis": "#b87fff",
@@ -405,6 +405,18 @@ declare const _default: {
405
405
  muted: string;
406
406
  subtle: string;
407
407
  };
408
+ open: {
409
+ fg: string;
410
+ emphasis: string;
411
+ muted: string;
412
+ subtle: string;
413
+ };
414
+ closed: {
415
+ fg: string;
416
+ emphasis: string;
417
+ muted: string;
418
+ subtle: string;
419
+ };
408
420
  done: {
409
421
  fg: string;
410
422
  emphasis: string;
@@ -855,6 +867,18 @@ declare const _default: {
855
867
  muted: string;
856
868
  subtle: string;
857
869
  };
870
+ open: {
871
+ fg: string;
872
+ emphasis: string;
873
+ muted: string;
874
+ subtle: string;
875
+ };
876
+ closed: {
877
+ fg: string;
878
+ emphasis: string;
879
+ muted: string;
880
+ subtle: string;
881
+ };
858
882
  done: {
859
883
  fg: string;
860
884
  emphasis: string;
@@ -1305,6 +1329,18 @@ declare const _default: {
1305
1329
  muted: string;
1306
1330
  subtle: string;
1307
1331
  };
1332
+ open: {
1333
+ fg: string;
1334
+ emphasis: string;
1335
+ muted: string;
1336
+ subtle: string;
1337
+ };
1338
+ closed: {
1339
+ fg: string;
1340
+ emphasis: string;
1341
+ muted: string;
1342
+ subtle: string;
1343
+ };
1308
1344
  done: {
1309
1345
  fg: string;
1310
1346
  emphasis: string;
@@ -1755,6 +1791,18 @@ declare const _default: {
1755
1791
  muted: string;
1756
1792
  subtle: string;
1757
1793
  };
1794
+ open: {
1795
+ fg: string;
1796
+ emphasis: string;
1797
+ muted: string;
1798
+ subtle: string;
1799
+ };
1800
+ closed: {
1801
+ fg: string;
1802
+ emphasis: string;
1803
+ muted: string;
1804
+ subtle: string;
1805
+ };
1758
1806
  done: {
1759
1807
  fg: string;
1760
1808
  emphasis: string;
@@ -2205,6 +2253,18 @@ declare const _default: {
2205
2253
  muted: string;
2206
2254
  subtle: string;
2207
2255
  };
2256
+ open: {
2257
+ fg: string;
2258
+ emphasis: string;
2259
+ muted: string;
2260
+ subtle: string;
2261
+ };
2262
+ closed: {
2263
+ fg: string;
2264
+ emphasis: string;
2265
+ muted: string;
2266
+ subtle: string;
2267
+ };
2208
2268
  done: {
2209
2269
  fg: string;
2210
2270
  emphasis: string;
@@ -2655,6 +2715,18 @@ declare const _default: {
2655
2715
  muted: string;
2656
2716
  subtle: string;
2657
2717
  };
2718
+ open: {
2719
+ fg: string;
2720
+ emphasis: string;
2721
+ muted: string;
2722
+ subtle: string;
2723
+ };
2724
+ closed: {
2725
+ fg: string;
2726
+ emphasis: string;
2727
+ muted: string;
2728
+ subtle: string;
2729
+ };
2658
2730
  done: {
2659
2731
  fg: string;
2660
2732
  emphasis: string;
@@ -3105,6 +3177,18 @@ declare const _default: {
3105
3177
  muted: string;
3106
3178
  subtle: string;
3107
3179
  };
3180
+ open: {
3181
+ fg: string;
3182
+ emphasis: string;
3183
+ muted: string;
3184
+ subtle: string;
3185
+ };
3186
+ closed: {
3187
+ fg: string;
3188
+ emphasis: string;
3189
+ muted: string;
3190
+ subtle: string;
3191
+ };
3108
3192
  done: {
3109
3193
  fg: string;
3110
3194
  emphasis: string;
@@ -404,6 +404,18 @@ declare const _default: {
404
404
  muted: string;
405
405
  subtle: string;
406
406
  };
407
+ open: {
408
+ fg: string;
409
+ emphasis: string;
410
+ muted: string;
411
+ subtle: string;
412
+ };
413
+ closed: {
414
+ fg: string;
415
+ emphasis: string;
416
+ muted: string;
417
+ subtle: string;
418
+ };
407
419
  done: {
408
420
  fg: string;
409
421
  emphasis: string;
@@ -137,7 +137,7 @@ exports.default = {
137
137
  "lineDtFmBg": "#9a6700",
138
138
  "gateBg": "rgba(125,78,0,0.15)",
139
139
  "gateText": "#d0d7de",
140
- "gateWaitingText": "#afb8c1",
140
+ "gateWaitingText": "#d4a72c",
141
141
  "stepHeaderOpenBg": "#32383f",
142
142
  "stepErrorText": "#ff8182",
143
143
  "stepWarningText": "#d4a72c",
@@ -406,6 +406,18 @@ exports.default = {
406
406
  "muted": "rgba(255,129,130,0.4)",
407
407
  "subtle": "#FFEBE9"
408
408
  },
409
+ "open": {
410
+ "fg": "#1a7f37",
411
+ "emphasis": "#2da44e",
412
+ "muted": "rgba(74,194,107,0.4)",
413
+ "subtle": "#dafbe1"
414
+ },
415
+ "closed": {
416
+ "fg": "#cf222e",
417
+ "emphasis": "#cf222e",
418
+ "muted": "rgba(255,129,130,0.4)",
419
+ "subtle": "#FFEBE9"
420
+ },
409
421
  "done": {
410
422
  "fg": "#8250df",
411
423
  "emphasis": "#8250df",
@@ -404,6 +404,18 @@ declare const _default: {
404
404
  muted: string;
405
405
  subtle: string;
406
406
  };
407
+ open: {
408
+ fg: string;
409
+ emphasis: string;
410
+ muted: string;
411
+ subtle: string;
412
+ };
413
+ closed: {
414
+ fg: string;
415
+ emphasis: string;
416
+ muted: string;
417
+ subtle: string;
418
+ };
407
419
  done: {
408
420
  fg: string;
409
421
  emphasis: string;
@@ -137,7 +137,7 @@ exports.default = {
137
137
  "lineDtFmBg": "#9a6700",
138
138
  "gateBg": "rgba(125,78,0,0.15)",
139
139
  "gateText": "#d0d7de",
140
- "gateWaitingText": "#afb8c1",
140
+ "gateWaitingText": "#d4a72c",
141
141
  "stepHeaderOpenBg": "#32383f",
142
142
  "stepErrorText": "#e7a100",
143
143
  "stepWarningText": "#d4a72c",
@@ -406,6 +406,18 @@ exports.default = {
406
406
  "muted": "rgba(231,161,0,0.4)",
407
407
  "subtle": "#fefe48"
408
408
  },
409
+ "open": {
410
+ "fg": "#bc4c00",
411
+ "emphasis": "#e16f24",
412
+ "muted": "rgba(251,143,68,0.4)",
413
+ "subtle": "#fff1e5"
414
+ },
415
+ "closed": {
416
+ "fg": "#6e7781",
417
+ "emphasis": "#6e7781",
418
+ "muted": "rgba(175,184,193,0.4)",
419
+ "subtle": "#f6f8fa"
420
+ },
409
421
  "done": {
410
422
  "fg": "#8250df",
411
423
  "emphasis": "#8250df",
@@ -404,6 +404,18 @@ declare const _default: {
404
404
  muted: string;
405
405
  subtle: string;
406
406
  };
407
+ open: {
408
+ fg: string;
409
+ emphasis: string;
410
+ muted: string;
411
+ subtle: string;
412
+ };
413
+ closed: {
414
+ fg: string;
415
+ emphasis: string;
416
+ muted: string;
417
+ subtle: string;
418
+ };
407
419
  done: {
408
420
  fg: string;
409
421
  emphasis: string;
@@ -137,7 +137,7 @@ exports.default = {
137
137
  "lineDtFmBg": "#744500",
138
138
  "gateBg": "rgba(96,55,0,0.15)",
139
139
  "gateText": "#CED5DC",
140
- "gateWaitingText": "#ACB6C0",
140
+ "gateWaitingText": "#b58407",
141
141
  "stepHeaderOpenBg": "#20252C",
142
142
  "stepErrorText": "#ee5a5d",
143
143
  "stepWarningText": "#b58407",
@@ -406,6 +406,18 @@ exports.default = {
406
406
  "muted": "#ee5a5d",
407
407
  "subtle": "#fff0ee"
408
408
  },
409
+ "open": {
410
+ "fg": "#055d20",
411
+ "emphasis": "#117f32",
412
+ "muted": "rgba(38,161,72,0.4)",
413
+ "subtle": "#d2fedb"
414
+ },
415
+ "closed": {
416
+ "fg": "#a0111f",
417
+ "emphasis": "#a0111f",
418
+ "muted": "rgba(238,90,93,0.4)",
419
+ "subtle": "#fff0ee"
420
+ },
409
421
  "done": {
410
422
  "fg": "#622cbc",
411
423
  "emphasis": "#622cbc",
@@ -406,6 +406,18 @@ declare const _default: {
406
406
  muted: string;
407
407
  subtle: string;
408
408
  };
409
+ open: {
410
+ fg: string;
411
+ emphasis: string;
412
+ muted: string;
413
+ subtle: string;
414
+ };
415
+ closed: {
416
+ fg: string;
417
+ emphasis: string;
418
+ muted: string;
419
+ subtle: string;
420
+ };
409
421
  done: {
410
422
  fg: string;
411
423
  emphasis: string;
@@ -856,6 +868,18 @@ declare const _default: {
856
868
  muted: string;
857
869
  subtle: string;
858
870
  };
871
+ open: {
872
+ fg: string;
873
+ emphasis: string;
874
+ muted: string;
875
+ subtle: string;
876
+ };
877
+ closed: {
878
+ fg: string;
879
+ emphasis: string;
880
+ muted: string;
881
+ subtle: string;
882
+ };
859
883
  done: {
860
884
  fg: string;
861
885
  emphasis: string;
@@ -1306,6 +1330,18 @@ declare const _default: {
1306
1330
  muted: string;
1307
1331
  subtle: string;
1308
1332
  };
1333
+ open: {
1334
+ fg: string;
1335
+ emphasis: string;
1336
+ muted: string;
1337
+ subtle: string;
1338
+ };
1339
+ closed: {
1340
+ fg: string;
1341
+ emphasis: string;
1342
+ muted: string;
1343
+ subtle: string;
1344
+ };
1309
1345
  done: {
1310
1346
  fg: string;
1311
1347
  emphasis: string;
@@ -1756,6 +1792,18 @@ declare const _default: {
1756
1792
  muted: string;
1757
1793
  subtle: string;
1758
1794
  };
1795
+ open: {
1796
+ fg: string;
1797
+ emphasis: string;
1798
+ muted: string;
1799
+ subtle: string;
1800
+ };
1801
+ closed: {
1802
+ fg: string;
1803
+ emphasis: string;
1804
+ muted: string;
1805
+ subtle: string;
1806
+ };
1759
1807
  done: {
1760
1808
  fg: string;
1761
1809
  emphasis: string;
@@ -2206,6 +2254,18 @@ declare const _default: {
2206
2254
  muted: string;
2207
2255
  subtle: string;
2208
2256
  };
2257
+ open: {
2258
+ fg: string;
2259
+ emphasis: string;
2260
+ muted: string;
2261
+ subtle: string;
2262
+ };
2263
+ closed: {
2264
+ fg: string;
2265
+ emphasis: string;
2266
+ muted: string;
2267
+ subtle: string;
2268
+ };
2209
2269
  done: {
2210
2270
  fg: string;
2211
2271
  emphasis: string;
@@ -2656,6 +2716,18 @@ declare const _default: {
2656
2716
  muted: string;
2657
2717
  subtle: string;
2658
2718
  };
2719
+ open: {
2720
+ fg: string;
2721
+ emphasis: string;
2722
+ muted: string;
2723
+ subtle: string;
2724
+ };
2725
+ closed: {
2726
+ fg: string;
2727
+ emphasis: string;
2728
+ muted: string;
2729
+ subtle: string;
2730
+ };
2659
2731
  done: {
2660
2732
  fg: string;
2661
2733
  emphasis: string;
@@ -3106,6 +3178,18 @@ declare const _default: {
3106
3178
  muted: string;
3107
3179
  subtle: string;
3108
3180
  };
3181
+ open: {
3182
+ fg: string;
3183
+ emphasis: string;
3184
+ muted: string;
3185
+ subtle: string;
3186
+ };
3187
+ closed: {
3188
+ fg: string;
3189
+ emphasis: string;
3190
+ muted: string;
3191
+ subtle: string;
3192
+ };
3109
3193
  done: {
3110
3194
  fg: string;
3111
3195
  emphasis: string;
@@ -404,6 +404,18 @@
404
404
  "muted": "rgba(248,81,73,0.4)",
405
405
  "subtle": "rgba(248,81,73,0.15)"
406
406
  },
407
+ "open": {
408
+ "fg": "#3fb950",
409
+ "emphasis": "#238636",
410
+ "muted": "rgba(46,160,67,0.4)",
411
+ "subtle": "rgba(46,160,67,0.15)"
412
+ },
413
+ "closed": {
414
+ "fg": "#f85149",
415
+ "emphasis": "#da3633",
416
+ "muted": "rgba(248,81,73,0.4)",
417
+ "subtle": "rgba(248,81,73,0.15)"
418
+ },
407
419
  "done": {
408
420
  "fg": "#a371f7",
409
421
  "emphasis": "#8957e5",
@@ -404,6 +404,18 @@
404
404
  "muted": "rgba(195,128,0,0.4)",
405
405
  "subtle": "rgba(195,128,0,0.15)"
406
406
  },
407
+ "open": {
408
+ "fg": "#f0883e",
409
+ "emphasis": "#bd561d",
410
+ "muted": "rgba(219,109,40,0.4)",
411
+ "subtle": "rgba(219,109,40,0.15)"
412
+ },
413
+ "closed": {
414
+ "fg": "#6e7681",
415
+ "emphasis": "#484f58",
416
+ "muted": "rgba(110,118,129,0.4)",
417
+ "subtle": "rgba(110,118,129,0.15)"
418
+ },
407
419
  "done": {
408
420
  "fg": "#a371f7",
409
421
  "emphasis": "#8957e5",
@@ -404,6 +404,18 @@
404
404
  "muted": "rgba(229,83,75,0.4)",
405
405
  "subtle": "rgba(229,83,75,0.15)"
406
406
  },
407
+ "open": {
408
+ "fg": "#57ab5a",
409
+ "emphasis": "#347d39",
410
+ "muted": "rgba(70,149,74,0.4)",
411
+ "subtle": "rgba(70,149,74,0.15)"
412
+ },
413
+ "closed": {
414
+ "fg": "#e5534b",
415
+ "emphasis": "#c93c37",
416
+ "muted": "rgba(229,83,75,0.4)",
417
+ "subtle": "rgba(229,83,75,0.15)"
418
+ },
407
419
  "done": {
408
420
  "fg": "#986ee2",
409
421
  "emphasis": "#8256d0",
@@ -404,6 +404,18 @@
404
404
  "muted": "#ff6a69",
405
405
  "subtle": "rgba(255,106,105,0.15)"
406
406
  },
407
+ "open": {
408
+ "fg": "#26cd4d",
409
+ "emphasis": "#09b43a",
410
+ "muted": "rgba(9,180,58,0.4)",
411
+ "subtle": "rgba(9,180,58,0.15)"
412
+ },
413
+ "closed": {
414
+ "fg": "#ff6a69",
415
+ "emphasis": "#ff6a69",
416
+ "muted": "rgba(255,106,105,0.4)",
417
+ "subtle": "rgba(255,106,105,0.15)"
418
+ },
407
419
  "done": {
408
420
  "fg": "#b780ff",
409
421
  "emphasis": "#b87fff",
@@ -135,7 +135,7 @@
135
135
  "lineDtFmBg": "#9a6700",
136
136
  "gateBg": "rgba(125,78,0,0.15)",
137
137
  "gateText": "#d0d7de",
138
- "gateWaitingText": "#afb8c1",
138
+ "gateWaitingText": "#d4a72c",
139
139
  "stepHeaderOpenBg": "#32383f",
140
140
  "stepErrorText": "#ff8182",
141
141
  "stepWarningText": "#d4a72c",
@@ -404,6 +404,18 @@
404
404
  "muted": "rgba(255,129,130,0.4)",
405
405
  "subtle": "#FFEBE9"
406
406
  },
407
+ "open": {
408
+ "fg": "#1a7f37",
409
+ "emphasis": "#2da44e",
410
+ "muted": "rgba(74,194,107,0.4)",
411
+ "subtle": "#dafbe1"
412
+ },
413
+ "closed": {
414
+ "fg": "#cf222e",
415
+ "emphasis": "#cf222e",
416
+ "muted": "rgba(255,129,130,0.4)",
417
+ "subtle": "#FFEBE9"
418
+ },
407
419
  "done": {
408
420
  "fg": "#8250df",
409
421
  "emphasis": "#8250df",
@@ -135,7 +135,7 @@
135
135
  "lineDtFmBg": "#9a6700",
136
136
  "gateBg": "rgba(125,78,0,0.15)",
137
137
  "gateText": "#d0d7de",
138
- "gateWaitingText": "#afb8c1",
138
+ "gateWaitingText": "#d4a72c",
139
139
  "stepHeaderOpenBg": "#32383f",
140
140
  "stepErrorText": "#e7a100",
141
141
  "stepWarningText": "#d4a72c",
@@ -404,6 +404,18 @@
404
404
  "muted": "rgba(231,161,0,0.4)",
405
405
  "subtle": "#fefe48"
406
406
  },
407
+ "open": {
408
+ "fg": "#bc4c00",
409
+ "emphasis": "#e16f24",
410
+ "muted": "rgba(251,143,68,0.4)",
411
+ "subtle": "#fff1e5"
412
+ },
413
+ "closed": {
414
+ "fg": "#6e7781",
415
+ "emphasis": "#6e7781",
416
+ "muted": "rgba(175,184,193,0.4)",
417
+ "subtle": "#f6f8fa"
418
+ },
407
419
  "done": {
408
420
  "fg": "#8250df",
409
421
  "emphasis": "#8250df",
@@ -135,7 +135,7 @@
135
135
  "lineDtFmBg": "#744500",
136
136
  "gateBg": "rgba(96,55,0,0.15)",
137
137
  "gateText": "#CED5DC",
138
- "gateWaitingText": "#ACB6C0",
138
+ "gateWaitingText": "#b58407",
139
139
  "stepHeaderOpenBg": "#20252C",
140
140
  "stepErrorText": "#ee5a5d",
141
141
  "stepWarningText": "#b58407",
@@ -404,6 +404,18 @@
404
404
  "muted": "#ee5a5d",
405
405
  "subtle": "#fff0ee"
406
406
  },
407
+ "open": {
408
+ "fg": "#055d20",
409
+ "emphasis": "#117f32",
410
+ "muted": "rgba(38,161,72,0.4)",
411
+ "subtle": "#d2fedb"
412
+ },
413
+ "closed": {
414
+ "fg": "#a0111f",
415
+ "emphasis": "#a0111f",
416
+ "muted": "rgba(238,90,93,0.4)",
417
+ "subtle": "#fff0ee"
418
+ },
407
419
  "done": {
408
420
  "fg": "#622cbc",
409
421
  "emphasis": "#622cbc",
@@ -309,6 +309,14 @@
309
309
  --color-danger-emphasis: #da3633;
310
310
  --color-danger-muted: rgba(248,81,73,0.4);
311
311
  --color-danger-subtle: rgba(248,81,73,0.15);
312
+ --color-open-fg: #3fb950;
313
+ --color-open-emphasis: #238636;
314
+ --color-open-muted: rgba(46,160,67,0.4);
315
+ --color-open-subtle: rgba(46,160,67,0.15);
316
+ --color-closed-fg: #f85149;
317
+ --color-closed-emphasis: #da3633;
318
+ --color-closed-muted: rgba(248,81,73,0.4);
319
+ --color-closed-subtle: rgba(248,81,73,0.15);
312
320
  --color-done-fg: #a371f7;
313
321
  --color-done-emphasis: #8957e5;
314
322
  --color-done-muted: rgba(163,113,247,0.4);
@@ -309,6 +309,14 @@
309
309
  --color-danger-emphasis: #a66900;
310
310
  --color-danger-muted: rgba(195,128,0,0.4);
311
311
  --color-danger-subtle: rgba(195,128,0,0.15);
312
+ --color-open-fg: #f0883e;
313
+ --color-open-emphasis: #bd561d;
314
+ --color-open-muted: rgba(219,109,40,0.4);
315
+ --color-open-subtle: rgba(219,109,40,0.15);
316
+ --color-closed-fg: #6e7681;
317
+ --color-closed-emphasis: #484f58;
318
+ --color-closed-muted: rgba(110,118,129,0.4);
319
+ --color-closed-subtle: rgba(110,118,129,0.15);
312
320
  --color-done-fg: #a371f7;
313
321
  --color-done-emphasis: #8957e5;
314
322
  --color-done-muted: rgba(163,113,247,0.4);
@@ -309,6 +309,14 @@
309
309
  --color-danger-emphasis: #c93c37;
310
310
  --color-danger-muted: rgba(229,83,75,0.4);
311
311
  --color-danger-subtle: rgba(229,83,75,0.15);
312
+ --color-open-fg: #57ab5a;
313
+ --color-open-emphasis: #347d39;
314
+ --color-open-muted: rgba(70,149,74,0.4);
315
+ --color-open-subtle: rgba(70,149,74,0.15);
316
+ --color-closed-fg: #e5534b;
317
+ --color-closed-emphasis: #c93c37;
318
+ --color-closed-muted: rgba(229,83,75,0.4);
319
+ --color-closed-subtle: rgba(229,83,75,0.15);
312
320
  --color-done-fg: #986ee2;
313
321
  --color-done-emphasis: #8256d0;
314
322
  --color-done-muted: rgba(152,110,226,0.4);
@@ -309,6 +309,14 @@
309
309
  --color-danger-emphasis: #ff6a69;
310
310
  --color-danger-muted: #ff6a69;
311
311
  --color-danger-subtle: rgba(255,106,105,0.15);
312
+ --color-open-fg: #26cd4d;
313
+ --color-open-emphasis: #09b43a;
314
+ --color-open-muted: rgba(9,180,58,0.4);
315
+ --color-open-subtle: rgba(9,180,58,0.15);
316
+ --color-closed-fg: #ff6a69;
317
+ --color-closed-emphasis: #ff6a69;
318
+ --color-closed-muted: rgba(255,106,105,0.4);
319
+ --color-closed-subtle: rgba(255,106,105,0.15);
312
320
  --color-done-fg: #b780ff;
313
321
  --color-done-emphasis: #b87fff;
314
322
  --color-done-muted: #b780ff;
@@ -111,7 +111,7 @@
111
111
  --color-checks-line-dt-fm-bg: #9a6700;
112
112
  --color-checks-gate-bg: rgba(125,78,0,0.15);
113
113
  --color-checks-gate-text: #d0d7de;
114
- --color-checks-gate-waiting-text: #afb8c1;
114
+ --color-checks-gate-waiting-text: #d4a72c;
115
115
  --color-checks-step-header-open-bg: #32383f;
116
116
  --color-checks-step-error-text: #ff8182;
117
117
  --color-checks-step-warning-text: #d4a72c;
@@ -309,6 +309,14 @@
309
309
  --color-danger-emphasis: #cf222e;
310
310
  --color-danger-muted: rgba(255,129,130,0.4);
311
311
  --color-danger-subtle: #FFEBE9;
312
+ --color-open-fg: #1a7f37;
313
+ --color-open-emphasis: #2da44e;
314
+ --color-open-muted: rgba(74,194,107,0.4);
315
+ --color-open-subtle: #dafbe1;
316
+ --color-closed-fg: #cf222e;
317
+ --color-closed-emphasis: #cf222e;
318
+ --color-closed-muted: rgba(255,129,130,0.4);
319
+ --color-closed-subtle: #FFEBE9;
312
320
  --color-done-fg: #8250df;
313
321
  --color-done-emphasis: #8250df;
314
322
  --color-done-muted: rgba(194,151,255,0.4);
@@ -111,7 +111,7 @@
111
111
  --color-checks-line-dt-fm-bg: #9a6700;
112
112
  --color-checks-gate-bg: rgba(125,78,0,0.15);
113
113
  --color-checks-gate-text: #d0d7de;
114
- --color-checks-gate-waiting-text: #afb8c1;
114
+ --color-checks-gate-waiting-text: #d4a72c;
115
115
  --color-checks-step-header-open-bg: #32383f;
116
116
  --color-checks-step-error-text: #e7a100;
117
117
  --color-checks-step-warning-text: #d4a72c;
@@ -309,6 +309,14 @@
309
309
  --color-danger-emphasis: #ac5e00;
310
310
  --color-danger-muted: rgba(231,161,0,0.4);
311
311
  --color-danger-subtle: #fefe48;
312
+ --color-open-fg: #bc4c00;
313
+ --color-open-emphasis: #e16f24;
314
+ --color-open-muted: rgba(251,143,68,0.4);
315
+ --color-open-subtle: #fff1e5;
316
+ --color-closed-fg: #6e7781;
317
+ --color-closed-emphasis: #6e7781;
318
+ --color-closed-muted: rgba(175,184,193,0.4);
319
+ --color-closed-subtle: #f6f8fa;
312
320
  --color-done-fg: #8250df;
313
321
  --color-done-emphasis: #8250df;
314
322
  --color-done-muted: rgba(194,151,255,0.4);
@@ -111,7 +111,7 @@
111
111
  --color-checks-line-dt-fm-bg: #744500;
112
112
  --color-checks-gate-bg: rgba(96,55,0,0.15);
113
113
  --color-checks-gate-text: #CED5DC;
114
- --color-checks-gate-waiting-text: #ACB6C0;
114
+ --color-checks-gate-waiting-text: #b58407;
115
115
  --color-checks-step-header-open-bg: #20252C;
116
116
  --color-checks-step-error-text: #ee5a5d;
117
117
  --color-checks-step-warning-text: #b58407;
@@ -309,6 +309,14 @@
309
309
  --color-danger-emphasis: #a0111f;
310
310
  --color-danger-muted: #ee5a5d;
311
311
  --color-danger-subtle: #fff0ee;
312
+ --color-open-fg: #055d20;
313
+ --color-open-emphasis: #117f32;
314
+ --color-open-muted: rgba(38,161,72,0.4);
315
+ --color-open-subtle: #d2fedb;
316
+ --color-closed-fg: #a0111f;
317
+ --color-closed-emphasis: #a0111f;
318
+ --color-closed-muted: rgba(238,90,93,0.4);
319
+ --color-closed-subtle: #fff0ee;
312
320
  --color-done-fg: #622cbc;
313
321
  --color-done-emphasis: #622cbc;
314
322
  --color-done-muted: #a371f7;
@@ -404,6 +404,18 @@ export default {
404
404
  "muted": "rgba(248,81,73,0.4)",
405
405
  "subtle": "rgba(248,81,73,0.15)"
406
406
  },
407
+ "open": {
408
+ "fg": "#3fb950",
409
+ "emphasis": "#238636",
410
+ "muted": "rgba(46,160,67,0.4)",
411
+ "subtle": "rgba(46,160,67,0.15)"
412
+ },
413
+ "closed": {
414
+ "fg": "#f85149",
415
+ "emphasis": "#da3633",
416
+ "muted": "rgba(248,81,73,0.4)",
417
+ "subtle": "rgba(248,81,73,0.15)"
418
+ },
407
419
  "done": {
408
420
  "fg": "#a371f7",
409
421
  "emphasis": "#8957e5",
@@ -404,6 +404,18 @@ export default {
404
404
  "muted": "rgba(195,128,0,0.4)",
405
405
  "subtle": "rgba(195,128,0,0.15)"
406
406
  },
407
+ "open": {
408
+ "fg": "#f0883e",
409
+ "emphasis": "#bd561d",
410
+ "muted": "rgba(219,109,40,0.4)",
411
+ "subtle": "rgba(219,109,40,0.15)"
412
+ },
413
+ "closed": {
414
+ "fg": "#6e7681",
415
+ "emphasis": "#484f58",
416
+ "muted": "rgba(110,118,129,0.4)",
417
+ "subtle": "rgba(110,118,129,0.15)"
418
+ },
407
419
  "done": {
408
420
  "fg": "#a371f7",
409
421
  "emphasis": "#8957e5",
@@ -404,6 +404,18 @@ export default {
404
404
  "muted": "rgba(229,83,75,0.4)",
405
405
  "subtle": "rgba(229,83,75,0.15)"
406
406
  },
407
+ "open": {
408
+ "fg": "#57ab5a",
409
+ "emphasis": "#347d39",
410
+ "muted": "rgba(70,149,74,0.4)",
411
+ "subtle": "rgba(70,149,74,0.15)"
412
+ },
413
+ "closed": {
414
+ "fg": "#e5534b",
415
+ "emphasis": "#c93c37",
416
+ "muted": "rgba(229,83,75,0.4)",
417
+ "subtle": "rgba(229,83,75,0.15)"
418
+ },
407
419
  "done": {
408
420
  "fg": "#986ee2",
409
421
  "emphasis": "#8256d0",
@@ -404,6 +404,18 @@ export default {
404
404
  "muted": "#ff6a69",
405
405
  "subtle": "rgba(255,106,105,0.15)"
406
406
  },
407
+ "open": {
408
+ "fg": "#26cd4d",
409
+ "emphasis": "#09b43a",
410
+ "muted": "rgba(9,180,58,0.4)",
411
+ "subtle": "rgba(9,180,58,0.15)"
412
+ },
413
+ "closed": {
414
+ "fg": "#ff6a69",
415
+ "emphasis": "#ff6a69",
416
+ "muted": "rgba(255,106,105,0.4)",
417
+ "subtle": "rgba(255,106,105,0.15)"
418
+ },
407
419
  "done": {
408
420
  "fg": "#b780ff",
409
421
  "emphasis": "#b87fff",
@@ -135,7 +135,7 @@ export default {
135
135
  "lineDtFmBg": "#9a6700",
136
136
  "gateBg": "rgba(125,78,0,0.15)",
137
137
  "gateText": "#d0d7de",
138
- "gateWaitingText": "#afb8c1",
138
+ "gateWaitingText": "#d4a72c",
139
139
  "stepHeaderOpenBg": "#32383f",
140
140
  "stepErrorText": "#ff8182",
141
141
  "stepWarningText": "#d4a72c",
@@ -404,6 +404,18 @@ export default {
404
404
  "muted": "rgba(255,129,130,0.4)",
405
405
  "subtle": "#FFEBE9"
406
406
  },
407
+ "open": {
408
+ "fg": "#1a7f37",
409
+ "emphasis": "#2da44e",
410
+ "muted": "rgba(74,194,107,0.4)",
411
+ "subtle": "#dafbe1"
412
+ },
413
+ "closed": {
414
+ "fg": "#cf222e",
415
+ "emphasis": "#cf222e",
416
+ "muted": "rgba(255,129,130,0.4)",
417
+ "subtle": "#FFEBE9"
418
+ },
407
419
  "done": {
408
420
  "fg": "#8250df",
409
421
  "emphasis": "#8250df",
@@ -135,7 +135,7 @@ export default {
135
135
  "lineDtFmBg": "#9a6700",
136
136
  "gateBg": "rgba(125,78,0,0.15)",
137
137
  "gateText": "#d0d7de",
138
- "gateWaitingText": "#afb8c1",
138
+ "gateWaitingText": "#d4a72c",
139
139
  "stepHeaderOpenBg": "#32383f",
140
140
  "stepErrorText": "#e7a100",
141
141
  "stepWarningText": "#d4a72c",
@@ -404,6 +404,18 @@ export default {
404
404
  "muted": "rgba(231,161,0,0.4)",
405
405
  "subtle": "#fefe48"
406
406
  },
407
+ "open": {
408
+ "fg": "#bc4c00",
409
+ "emphasis": "#e16f24",
410
+ "muted": "rgba(251,143,68,0.4)",
411
+ "subtle": "#fff1e5"
412
+ },
413
+ "closed": {
414
+ "fg": "#6e7781",
415
+ "emphasis": "#6e7781",
416
+ "muted": "rgba(175,184,193,0.4)",
417
+ "subtle": "#f6f8fa"
418
+ },
407
419
  "done": {
408
420
  "fg": "#8250df",
409
421
  "emphasis": "#8250df",
@@ -135,7 +135,7 @@ export default {
135
135
  "lineDtFmBg": "#744500",
136
136
  "gateBg": "rgba(96,55,0,0.15)",
137
137
  "gateText": "#CED5DC",
138
- "gateWaitingText": "#ACB6C0",
138
+ "gateWaitingText": "#b58407",
139
139
  "stepHeaderOpenBg": "#20252C",
140
140
  "stepErrorText": "#ee5a5d",
141
141
  "stepWarningText": "#b58407",
@@ -404,6 +404,18 @@ export default {
404
404
  "muted": "#ee5a5d",
405
405
  "subtle": "#fff0ee"
406
406
  },
407
+ "open": {
408
+ "fg": "#055d20",
409
+ "emphasis": "#117f32",
410
+ "muted": "rgba(38,161,72,0.4)",
411
+ "subtle": "#d2fedb"
412
+ },
413
+ "closed": {
414
+ "fg": "#a0111f",
415
+ "emphasis": "#a0111f",
416
+ "muted": "rgba(238,90,93,0.4)",
417
+ "subtle": "#fff0ee"
418
+ },
407
419
  "done": {
408
420
  "fg": "#622cbc",
409
421
  "emphasis": "#622cbc",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "7.4.1",
3
+ "version": "7.5.0",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "files": ["dist"],
6
6
  "main": "dist/js/index.js",
@@ -52,7 +52,7 @@
52
52
  "flat": "^5.0.2",
53
53
  "lodash": "^4.17.20",
54
54
  "mkdirp": "^1.0.4",
55
- "node-sass": "^4.14.1",
55
+ "node-sass": "^7.0.0",
56
56
  "sass-extract": "^2.1.0",
57
57
  "ts-node": "^8.10.2",
58
58
  "typescript": "^3.7.2"