@primer/primitives 7.11.8-rc.802463c → 7.11.8-rc.895a7d7

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 (71) hide show
  1. package/package.json +2 -4
  2. package/tokens-next-private/css/functional/themes/dark-colorblind.css +186 -186
  3. package/tokens-next-private/css/functional/themes/dark-dimmed.css +186 -186
  4. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +186 -186
  5. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +186 -186
  6. package/tokens-next-private/css/functional/themes/dark.css +186 -186
  7. package/tokens-next-private/css/functional/themes/light-colorblind.css +186 -186
  8. package/tokens-next-private/css/functional/themes/light-high-contrast.css +186 -186
  9. package/tokens-next-private/css/functional/themes/light-tritanopia.css +186 -186
  10. package/tokens-next-private/css/functional/themes/light.css +186 -186
  11. package/tokens-next-private/docs/functional/size/border.json +3 -1
  12. package/tokens-next-private/docs/functional/typography/typography.json +33 -11
  13. package/tokens-next-private/scss/functional/size/border.scss +1 -1
  14. package/tokens-next-private/scss/functional/typography/typography.scss +11 -11
  15. package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +1 -1
  16. package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +1 -1
  17. package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +1 -1
  18. package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +1 -1
  19. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  20. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  21. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  22. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  23. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  24. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  25. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  26. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  27. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  28. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  29. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  30. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  31. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  32. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  33. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  34. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  35. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  36. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  37. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  38. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  39. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  40. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  41. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  42. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  43. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  44. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  45. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  46. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  47. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  48. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  49. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  50. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  51. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  52. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  53. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  54. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  55. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  56. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  57. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  58. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  59. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  60. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  61. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  62. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  63. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  64. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  65. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  66. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  67. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  68. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  69. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  70. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  71. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
@@ -285,99 +285,99 @@
285
285
  --color-prettylights-syntax-markup-ignored-bg: #0550ae;
286
286
  --color-prettylights-syntax-meta-diff-range: #8250df;
287
287
  --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
288
- --color-scale-black: #1f2328; /* Avoid using scales, use other functional tokens instead */
289
- --color-scale-transparent: #ffffff00; /* Avoid using scales, use other functional tokens instead */
290
- --color-scale-white: #ffffff; /* Avoid using scales, use other functional tokens instead */
291
- --color-scale-gray-0: #f6f8fa; /* Avoid using scales, use other functional tokens instead */
292
- --color-scale-gray-1: #eaeef2; /* Avoid using scales, use other functional tokens instead */
293
- --color-scale-gray-2: #d0d7de; /* Avoid using scales, use other functional tokens instead */
294
- --color-scale-gray-3: #afb8c1; /* Avoid using scales, use other functional tokens instead */
295
- --color-scale-gray-4: #8c959f; /* Avoid using scales, use other functional tokens instead */
296
- --color-scale-gray-5: #6e7781; /* Avoid using scales, use other functional tokens instead */
297
- --color-scale-gray-6: #57606a; /* Avoid using scales, use other functional tokens instead */
298
- --color-scale-gray-7: #424a53; /* Avoid using scales, use other functional tokens instead */
299
- --color-scale-gray-8: #32383f; /* Avoid using scales, use other functional tokens instead */
300
- --color-scale-gray-9: #24292f; /* Avoid using scales, use other functional tokens instead */
301
- --color-scale-blue-0: #ddf4ff; /* Avoid using scales, use other functional tokens instead */
302
- --color-scale-blue-1: #b6e3ff; /* Avoid using scales, use other functional tokens instead */
303
- --color-scale-blue-2: #80ccff; /* Avoid using scales, use other functional tokens instead */
304
- --color-scale-blue-3: #54aeff; /* Avoid using scales, use other functional tokens instead */
305
- --color-scale-blue-4: #218bff; /* Avoid using scales, use other functional tokens instead */
306
- --color-scale-blue-5: #0969da; /* Avoid using scales, use other functional tokens instead */
307
- --color-scale-blue-6: #0550ae; /* Avoid using scales, use other functional tokens instead */
308
- --color-scale-blue-7: #033d8b; /* Avoid using scales, use other functional tokens instead */
309
- --color-scale-blue-8: #0a3069; /* Avoid using scales, use other functional tokens instead */
310
- --color-scale-blue-9: #002155; /* Avoid using scales, use other functional tokens instead */
311
- --color-scale-green-0: #dafbe1; /* Avoid using scales, use other functional tokens instead */
312
- --color-scale-green-1: #aceebb; /* Avoid using scales, use other functional tokens instead */
313
- --color-scale-green-2: #6fdd8b; /* Avoid using scales, use other functional tokens instead */
314
- --color-scale-green-3: #4ac26b; /* Avoid using scales, use other functional tokens instead */
315
- --color-scale-green-4: #2da44e; /* Avoid using scales, use other functional tokens instead */
316
- --color-scale-green-5: #1a7f37; /* Avoid using scales, use other functional tokens instead */
317
- --color-scale-green-6: #116329; /* Avoid using scales, use other functional tokens instead */
318
- --color-scale-green-7: #044f1e; /* Avoid using scales, use other functional tokens instead */
319
- --color-scale-green-8: #003d16; /* Avoid using scales, use other functional tokens instead */
320
- --color-scale-green-9: #002d11; /* Avoid using scales, use other functional tokens instead */
321
- --color-scale-yellow-0: #fff8c5; /* Avoid using scales, use other functional tokens instead */
322
- --color-scale-yellow-1: #fae17d; /* Avoid using scales, use other functional tokens instead */
323
- --color-scale-yellow-2: #eac54f; /* Avoid using scales, use other functional tokens instead */
324
- --color-scale-yellow-3: #d4a72c; /* Avoid using scales, use other functional tokens instead */
325
- --color-scale-yellow-4: #bf8700; /* Avoid using scales, use other functional tokens instead */
326
- --color-scale-yellow-5: #9a6700; /* Avoid using scales, use other functional tokens instead */
327
- --color-scale-yellow-6: #7d4e00; /* Avoid using scales, use other functional tokens instead */
328
- --color-scale-yellow-7: #633c01; /* Avoid using scales, use other functional tokens instead */
329
- --color-scale-yellow-8: #4d2d00; /* Avoid using scales, use other functional tokens instead */
330
- --color-scale-yellow-9: #3b2300; /* Avoid using scales, use other functional tokens instead */
331
- --color-scale-orange-0: #fff1e5; /* Avoid using scales, use other functional tokens instead */
332
- --color-scale-orange-1: #ffd8b5; /* Avoid using scales, use other functional tokens instead */
333
- --color-scale-orange-2: #ffb77c; /* Avoid using scales, use other functional tokens instead */
334
- --color-scale-orange-3: #fb8f44; /* Avoid using scales, use other functional tokens instead */
335
- --color-scale-orange-4: #e16f24; /* Avoid using scales, use other functional tokens instead */
336
- --color-scale-orange-5: #bc4c00; /* Avoid using scales, use other functional tokens instead */
337
- --color-scale-orange-6: #953800; /* Avoid using scales, use other functional tokens instead */
338
- --color-scale-orange-7: #762c00; /* Avoid using scales, use other functional tokens instead */
339
- --color-scale-orange-8: #5c2200; /* Avoid using scales, use other functional tokens instead */
340
- --color-scale-orange-9: #471700; /* Avoid using scales, use other functional tokens instead */
341
- --color-scale-red-0: #ffebe9; /* Avoid using scales, use other functional tokens instead */
342
- --color-scale-red-1: #ffcecb; /* Avoid using scales, use other functional tokens instead */
343
- --color-scale-red-2: #ffaba8; /* Avoid using scales, use other functional tokens instead */
344
- --color-scale-red-3: #ff8182; /* Avoid using scales, use other functional tokens instead */
345
- --color-scale-red-4: #fa4549; /* Avoid using scales, use other functional tokens instead */
346
- --color-scale-red-5: #cf222e; /* Avoid using scales, use other functional tokens instead */
347
- --color-scale-red-6: #a40e26; /* Avoid using scales, use other functional tokens instead */
348
- --color-scale-red-7: #82071e; /* Avoid using scales, use other functional tokens instead */
349
- --color-scale-red-8: #660018; /* Avoid using scales, use other functional tokens instead */
350
- --color-scale-red-9: #4c0014; /* Avoid using scales, use other functional tokens instead */
351
- --color-scale-purple-0: #fbefff; /* Avoid using scales, use other functional tokens instead */
352
- --color-scale-purple-1: #ecd8ff; /* Avoid using scales, use other functional tokens instead */
353
- --color-scale-purple-2: #d8b9ff; /* Avoid using scales, use other functional tokens instead */
354
- --color-scale-purple-3: #c297ff; /* Avoid using scales, use other functional tokens instead */
355
- --color-scale-purple-4: #a475f9; /* Avoid using scales, use other functional tokens instead */
356
- --color-scale-purple-5: #8250df; /* Avoid using scales, use other functional tokens instead */
357
- --color-scale-purple-6: #6639ba; /* Avoid using scales, use other functional tokens instead */
358
- --color-scale-purple-7: #512a97; /* Avoid using scales, use other functional tokens instead */
359
- --color-scale-purple-8: #3e1f79; /* Avoid using scales, use other functional tokens instead */
360
- --color-scale-purple-9: #2e1461; /* Avoid using scales, use other functional tokens instead */
361
- --color-scale-pink-0: #ffeff7; /* Avoid using scales, use other functional tokens instead */
362
- --color-scale-pink-1: #ffd3eb; /* Avoid using scales, use other functional tokens instead */
363
- --color-scale-pink-2: #ffadda; /* Avoid using scales, use other functional tokens instead */
364
- --color-scale-pink-3: #ff80c8; /* Avoid using scales, use other functional tokens instead */
365
- --color-scale-pink-4: #e85aad; /* Avoid using scales, use other functional tokens instead */
366
- --color-scale-pink-5: #bf3989; /* Avoid using scales, use other functional tokens instead */
367
- --color-scale-pink-6: #99286e; /* Avoid using scales, use other functional tokens instead */
368
- --color-scale-pink-7: #772057; /* Avoid using scales, use other functional tokens instead */
369
- --color-scale-pink-8: #611347; /* Avoid using scales, use other functional tokens instead */
370
- --color-scale-pink-9: #4d0336; /* Avoid using scales, use other functional tokens instead */
371
- --color-scale-coral-0: #fff0eb; /* Avoid using scales, use other functional tokens instead */
372
- --color-scale-coral-1: #ffd6cc; /* Avoid using scales, use other functional tokens instead */
373
- --color-scale-coral-2: #ffb4a1; /* Avoid using scales, use other functional tokens instead */
374
- --color-scale-coral-3: #fd8c73; /* Avoid using scales, use other functional tokens instead */
375
- --color-scale-coral-4: #ec6547; /* Avoid using scales, use other functional tokens instead */
376
- --color-scale-coral-5: #c4432b; /* Avoid using scales, use other functional tokens instead */
377
- --color-scale-coral-6: #9e2f1c; /* Avoid using scales, use other functional tokens instead */
378
- --color-scale-coral-7: #801f0f; /* Avoid using scales, use other functional tokens instead */
379
- --color-scale-coral-8: #691105; /* Avoid using scales, use other functional tokens instead */
380
- --color-scale-coral-9: #510901; /* Avoid using scales, use other functional tokens instead */
288
+ --color-scale-black: #1f2328;
289
+ --color-scale-transparent: #ffffff00;
290
+ --color-scale-white: #ffffff;
291
+ --color-scale-gray-0: #f6f8fa;
292
+ --color-scale-gray-1: #eaeef2;
293
+ --color-scale-gray-2: #d0d7de;
294
+ --color-scale-gray-3: #afb8c1;
295
+ --color-scale-gray-4: #8c959f;
296
+ --color-scale-gray-5: #6e7781;
297
+ --color-scale-gray-6: #57606a;
298
+ --color-scale-gray-7: #424a53;
299
+ --color-scale-gray-8: #32383f;
300
+ --color-scale-gray-9: #24292f;
301
+ --color-scale-blue-0: #ddf4ff;
302
+ --color-scale-blue-1: #b6e3ff;
303
+ --color-scale-blue-2: #80ccff;
304
+ --color-scale-blue-3: #54aeff;
305
+ --color-scale-blue-4: #218bff;
306
+ --color-scale-blue-5: #0969da;
307
+ --color-scale-blue-6: #0550ae;
308
+ --color-scale-blue-7: #033d8b;
309
+ --color-scale-blue-8: #0a3069;
310
+ --color-scale-blue-9: #002155;
311
+ --color-scale-green-0: #dafbe1;
312
+ --color-scale-green-1: #aceebb;
313
+ --color-scale-green-2: #6fdd8b;
314
+ --color-scale-green-3: #4ac26b;
315
+ --color-scale-green-4: #2da44e;
316
+ --color-scale-green-5: #1a7f37;
317
+ --color-scale-green-6: #116329;
318
+ --color-scale-green-7: #044f1e;
319
+ --color-scale-green-8: #003d16;
320
+ --color-scale-green-9: #002d11;
321
+ --color-scale-yellow-0: #fff8c5;
322
+ --color-scale-yellow-1: #fae17d;
323
+ --color-scale-yellow-2: #eac54f;
324
+ --color-scale-yellow-3: #d4a72c;
325
+ --color-scale-yellow-4: #bf8700;
326
+ --color-scale-yellow-5: #9a6700;
327
+ --color-scale-yellow-6: #7d4e00;
328
+ --color-scale-yellow-7: #633c01;
329
+ --color-scale-yellow-8: #4d2d00;
330
+ --color-scale-yellow-9: #3b2300;
331
+ --color-scale-orange-0: #fff1e5;
332
+ --color-scale-orange-1: #ffd8b5;
333
+ --color-scale-orange-2: #ffb77c;
334
+ --color-scale-orange-3: #fb8f44;
335
+ --color-scale-orange-4: #e16f24;
336
+ --color-scale-orange-5: #bc4c00;
337
+ --color-scale-orange-6: #953800;
338
+ --color-scale-orange-7: #762c00;
339
+ --color-scale-orange-8: #5c2200;
340
+ --color-scale-orange-9: #471700;
341
+ --color-scale-red-0: #ffebe9;
342
+ --color-scale-red-1: #ffcecb;
343
+ --color-scale-red-2: #ffaba8;
344
+ --color-scale-red-3: #ff8182;
345
+ --color-scale-red-4: #fa4549;
346
+ --color-scale-red-5: #cf222e;
347
+ --color-scale-red-6: #a40e26;
348
+ --color-scale-red-7: #82071e;
349
+ --color-scale-red-8: #660018;
350
+ --color-scale-red-9: #4c0014;
351
+ --color-scale-purple-0: #fbefff;
352
+ --color-scale-purple-1: #ecd8ff;
353
+ --color-scale-purple-2: #d8b9ff;
354
+ --color-scale-purple-3: #c297ff;
355
+ --color-scale-purple-4: #a475f9;
356
+ --color-scale-purple-5: #8250df;
357
+ --color-scale-purple-6: #6639ba;
358
+ --color-scale-purple-7: #512a97;
359
+ --color-scale-purple-8: #3e1f79;
360
+ --color-scale-purple-9: #2e1461;
361
+ --color-scale-pink-0: #ffeff7;
362
+ --color-scale-pink-1: #ffd3eb;
363
+ --color-scale-pink-2: #ffadda;
364
+ --color-scale-pink-3: #ff80c8;
365
+ --color-scale-pink-4: #e85aad;
366
+ --color-scale-pink-5: #bf3989;
367
+ --color-scale-pink-6: #99286e;
368
+ --color-scale-pink-7: #772057;
369
+ --color-scale-pink-8: #611347;
370
+ --color-scale-pink-9: #4d0336;
371
+ --color-scale-coral-0: #fff0eb;
372
+ --color-scale-coral-1: #ffd6cc;
373
+ --color-scale-coral-2: #ffb4a1;
374
+ --color-scale-coral-3: #fd8c73;
375
+ --color-scale-coral-4: #ec6547;
376
+ --color-scale-coral-5: #c4432b;
377
+ --color-scale-coral-6: #9e2f1c;
378
+ --color-scale-coral-7: #801f0f;
379
+ --color-scale-coral-8: #691105;
380
+ --color-scale-coral-9: #510901;
381
381
  --shadow-inset: inset 0px 1px 0px 0px #1f23280d;
382
382
  --shadow-highlight: inset 0px 1px 0px 0px #ffffff40;
383
383
  --shadow-resting-xsmall: 0px 1px 0px 0px #1f23280f;
@@ -675,99 +675,99 @@
675
675
  --color-prettylights-syntax-markup-ignored-bg: #0550ae;
676
676
  --color-prettylights-syntax-meta-diff-range: #8250df;
677
677
  --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
678
- --color-scale-black: #1f2328; /* Avoid using scales, use other functional tokens instead */
679
- --color-scale-transparent: #ffffff00; /* Avoid using scales, use other functional tokens instead */
680
- --color-scale-white: #ffffff; /* Avoid using scales, use other functional tokens instead */
681
- --color-scale-gray-0: #f6f8fa; /* Avoid using scales, use other functional tokens instead */
682
- --color-scale-gray-1: #eaeef2; /* Avoid using scales, use other functional tokens instead */
683
- --color-scale-gray-2: #d0d7de; /* Avoid using scales, use other functional tokens instead */
684
- --color-scale-gray-3: #afb8c1; /* Avoid using scales, use other functional tokens instead */
685
- --color-scale-gray-4: #8c959f; /* Avoid using scales, use other functional tokens instead */
686
- --color-scale-gray-5: #6e7781; /* Avoid using scales, use other functional tokens instead */
687
- --color-scale-gray-6: #57606a; /* Avoid using scales, use other functional tokens instead */
688
- --color-scale-gray-7: #424a53; /* Avoid using scales, use other functional tokens instead */
689
- --color-scale-gray-8: #32383f; /* Avoid using scales, use other functional tokens instead */
690
- --color-scale-gray-9: #24292f; /* Avoid using scales, use other functional tokens instead */
691
- --color-scale-blue-0: #ddf4ff; /* Avoid using scales, use other functional tokens instead */
692
- --color-scale-blue-1: #b6e3ff; /* Avoid using scales, use other functional tokens instead */
693
- --color-scale-blue-2: #80ccff; /* Avoid using scales, use other functional tokens instead */
694
- --color-scale-blue-3: #54aeff; /* Avoid using scales, use other functional tokens instead */
695
- --color-scale-blue-4: #218bff; /* Avoid using scales, use other functional tokens instead */
696
- --color-scale-blue-5: #0969da; /* Avoid using scales, use other functional tokens instead */
697
- --color-scale-blue-6: #0550ae; /* Avoid using scales, use other functional tokens instead */
698
- --color-scale-blue-7: #033d8b; /* Avoid using scales, use other functional tokens instead */
699
- --color-scale-blue-8: #0a3069; /* Avoid using scales, use other functional tokens instead */
700
- --color-scale-blue-9: #002155; /* Avoid using scales, use other functional tokens instead */
701
- --color-scale-green-0: #dafbe1; /* Avoid using scales, use other functional tokens instead */
702
- --color-scale-green-1: #aceebb; /* Avoid using scales, use other functional tokens instead */
703
- --color-scale-green-2: #6fdd8b; /* Avoid using scales, use other functional tokens instead */
704
- --color-scale-green-3: #4ac26b; /* Avoid using scales, use other functional tokens instead */
705
- --color-scale-green-4: #2da44e; /* Avoid using scales, use other functional tokens instead */
706
- --color-scale-green-5: #1a7f37; /* Avoid using scales, use other functional tokens instead */
707
- --color-scale-green-6: #116329; /* Avoid using scales, use other functional tokens instead */
708
- --color-scale-green-7: #044f1e; /* Avoid using scales, use other functional tokens instead */
709
- --color-scale-green-8: #003d16; /* Avoid using scales, use other functional tokens instead */
710
- --color-scale-green-9: #002d11; /* Avoid using scales, use other functional tokens instead */
711
- --color-scale-yellow-0: #fff8c5; /* Avoid using scales, use other functional tokens instead */
712
- --color-scale-yellow-1: #fae17d; /* Avoid using scales, use other functional tokens instead */
713
- --color-scale-yellow-2: #eac54f; /* Avoid using scales, use other functional tokens instead */
714
- --color-scale-yellow-3: #d4a72c; /* Avoid using scales, use other functional tokens instead */
715
- --color-scale-yellow-4: #bf8700; /* Avoid using scales, use other functional tokens instead */
716
- --color-scale-yellow-5: #9a6700; /* Avoid using scales, use other functional tokens instead */
717
- --color-scale-yellow-6: #7d4e00; /* Avoid using scales, use other functional tokens instead */
718
- --color-scale-yellow-7: #633c01; /* Avoid using scales, use other functional tokens instead */
719
- --color-scale-yellow-8: #4d2d00; /* Avoid using scales, use other functional tokens instead */
720
- --color-scale-yellow-9: #3b2300; /* Avoid using scales, use other functional tokens instead */
721
- --color-scale-orange-0: #fff1e5; /* Avoid using scales, use other functional tokens instead */
722
- --color-scale-orange-1: #ffd8b5; /* Avoid using scales, use other functional tokens instead */
723
- --color-scale-orange-2: #ffb77c; /* Avoid using scales, use other functional tokens instead */
724
- --color-scale-orange-3: #fb8f44; /* Avoid using scales, use other functional tokens instead */
725
- --color-scale-orange-4: #e16f24; /* Avoid using scales, use other functional tokens instead */
726
- --color-scale-orange-5: #bc4c00; /* Avoid using scales, use other functional tokens instead */
727
- --color-scale-orange-6: #953800; /* Avoid using scales, use other functional tokens instead */
728
- --color-scale-orange-7: #762c00; /* Avoid using scales, use other functional tokens instead */
729
- --color-scale-orange-8: #5c2200; /* Avoid using scales, use other functional tokens instead */
730
- --color-scale-orange-9: #471700; /* Avoid using scales, use other functional tokens instead */
731
- --color-scale-red-0: #ffebe9; /* Avoid using scales, use other functional tokens instead */
732
- --color-scale-red-1: #ffcecb; /* Avoid using scales, use other functional tokens instead */
733
- --color-scale-red-2: #ffaba8; /* Avoid using scales, use other functional tokens instead */
734
- --color-scale-red-3: #ff8182; /* Avoid using scales, use other functional tokens instead */
735
- --color-scale-red-4: #fa4549; /* Avoid using scales, use other functional tokens instead */
736
- --color-scale-red-5: #cf222e; /* Avoid using scales, use other functional tokens instead */
737
- --color-scale-red-6: #a40e26; /* Avoid using scales, use other functional tokens instead */
738
- --color-scale-red-7: #82071e; /* Avoid using scales, use other functional tokens instead */
739
- --color-scale-red-8: #660018; /* Avoid using scales, use other functional tokens instead */
740
- --color-scale-red-9: #4c0014; /* Avoid using scales, use other functional tokens instead */
741
- --color-scale-purple-0: #fbefff; /* Avoid using scales, use other functional tokens instead */
742
- --color-scale-purple-1: #ecd8ff; /* Avoid using scales, use other functional tokens instead */
743
- --color-scale-purple-2: #d8b9ff; /* Avoid using scales, use other functional tokens instead */
744
- --color-scale-purple-3: #c297ff; /* Avoid using scales, use other functional tokens instead */
745
- --color-scale-purple-4: #a475f9; /* Avoid using scales, use other functional tokens instead */
746
- --color-scale-purple-5: #8250df; /* Avoid using scales, use other functional tokens instead */
747
- --color-scale-purple-6: #6639ba; /* Avoid using scales, use other functional tokens instead */
748
- --color-scale-purple-7: #512a97; /* Avoid using scales, use other functional tokens instead */
749
- --color-scale-purple-8: #3e1f79; /* Avoid using scales, use other functional tokens instead */
750
- --color-scale-purple-9: #2e1461; /* Avoid using scales, use other functional tokens instead */
751
- --color-scale-pink-0: #ffeff7; /* Avoid using scales, use other functional tokens instead */
752
- --color-scale-pink-1: #ffd3eb; /* Avoid using scales, use other functional tokens instead */
753
- --color-scale-pink-2: #ffadda; /* Avoid using scales, use other functional tokens instead */
754
- --color-scale-pink-3: #ff80c8; /* Avoid using scales, use other functional tokens instead */
755
- --color-scale-pink-4: #e85aad; /* Avoid using scales, use other functional tokens instead */
756
- --color-scale-pink-5: #bf3989; /* Avoid using scales, use other functional tokens instead */
757
- --color-scale-pink-6: #99286e; /* Avoid using scales, use other functional tokens instead */
758
- --color-scale-pink-7: #772057; /* Avoid using scales, use other functional tokens instead */
759
- --color-scale-pink-8: #611347; /* Avoid using scales, use other functional tokens instead */
760
- --color-scale-pink-9: #4d0336; /* Avoid using scales, use other functional tokens instead */
761
- --color-scale-coral-0: #fff0eb; /* Avoid using scales, use other functional tokens instead */
762
- --color-scale-coral-1: #ffd6cc; /* Avoid using scales, use other functional tokens instead */
763
- --color-scale-coral-2: #ffb4a1; /* Avoid using scales, use other functional tokens instead */
764
- --color-scale-coral-3: #fd8c73; /* Avoid using scales, use other functional tokens instead */
765
- --color-scale-coral-4: #ec6547; /* Avoid using scales, use other functional tokens instead */
766
- --color-scale-coral-5: #c4432b; /* Avoid using scales, use other functional tokens instead */
767
- --color-scale-coral-6: #9e2f1c; /* Avoid using scales, use other functional tokens instead */
768
- --color-scale-coral-7: #801f0f; /* Avoid using scales, use other functional tokens instead */
769
- --color-scale-coral-8: #691105; /* Avoid using scales, use other functional tokens instead */
770
- --color-scale-coral-9: #510901; /* Avoid using scales, use other functional tokens instead */
678
+ --color-scale-black: #1f2328;
679
+ --color-scale-transparent: #ffffff00;
680
+ --color-scale-white: #ffffff;
681
+ --color-scale-gray-0: #f6f8fa;
682
+ --color-scale-gray-1: #eaeef2;
683
+ --color-scale-gray-2: #d0d7de;
684
+ --color-scale-gray-3: #afb8c1;
685
+ --color-scale-gray-4: #8c959f;
686
+ --color-scale-gray-5: #6e7781;
687
+ --color-scale-gray-6: #57606a;
688
+ --color-scale-gray-7: #424a53;
689
+ --color-scale-gray-8: #32383f;
690
+ --color-scale-gray-9: #24292f;
691
+ --color-scale-blue-0: #ddf4ff;
692
+ --color-scale-blue-1: #b6e3ff;
693
+ --color-scale-blue-2: #80ccff;
694
+ --color-scale-blue-3: #54aeff;
695
+ --color-scale-blue-4: #218bff;
696
+ --color-scale-blue-5: #0969da;
697
+ --color-scale-blue-6: #0550ae;
698
+ --color-scale-blue-7: #033d8b;
699
+ --color-scale-blue-8: #0a3069;
700
+ --color-scale-blue-9: #002155;
701
+ --color-scale-green-0: #dafbe1;
702
+ --color-scale-green-1: #aceebb;
703
+ --color-scale-green-2: #6fdd8b;
704
+ --color-scale-green-3: #4ac26b;
705
+ --color-scale-green-4: #2da44e;
706
+ --color-scale-green-5: #1a7f37;
707
+ --color-scale-green-6: #116329;
708
+ --color-scale-green-7: #044f1e;
709
+ --color-scale-green-8: #003d16;
710
+ --color-scale-green-9: #002d11;
711
+ --color-scale-yellow-0: #fff8c5;
712
+ --color-scale-yellow-1: #fae17d;
713
+ --color-scale-yellow-2: #eac54f;
714
+ --color-scale-yellow-3: #d4a72c;
715
+ --color-scale-yellow-4: #bf8700;
716
+ --color-scale-yellow-5: #9a6700;
717
+ --color-scale-yellow-6: #7d4e00;
718
+ --color-scale-yellow-7: #633c01;
719
+ --color-scale-yellow-8: #4d2d00;
720
+ --color-scale-yellow-9: #3b2300;
721
+ --color-scale-orange-0: #fff1e5;
722
+ --color-scale-orange-1: #ffd8b5;
723
+ --color-scale-orange-2: #ffb77c;
724
+ --color-scale-orange-3: #fb8f44;
725
+ --color-scale-orange-4: #e16f24;
726
+ --color-scale-orange-5: #bc4c00;
727
+ --color-scale-orange-6: #953800;
728
+ --color-scale-orange-7: #762c00;
729
+ --color-scale-orange-8: #5c2200;
730
+ --color-scale-orange-9: #471700;
731
+ --color-scale-red-0: #ffebe9;
732
+ --color-scale-red-1: #ffcecb;
733
+ --color-scale-red-2: #ffaba8;
734
+ --color-scale-red-3: #ff8182;
735
+ --color-scale-red-4: #fa4549;
736
+ --color-scale-red-5: #cf222e;
737
+ --color-scale-red-6: #a40e26;
738
+ --color-scale-red-7: #82071e;
739
+ --color-scale-red-8: #660018;
740
+ --color-scale-red-9: #4c0014;
741
+ --color-scale-purple-0: #fbefff;
742
+ --color-scale-purple-1: #ecd8ff;
743
+ --color-scale-purple-2: #d8b9ff;
744
+ --color-scale-purple-3: #c297ff;
745
+ --color-scale-purple-4: #a475f9;
746
+ --color-scale-purple-5: #8250df;
747
+ --color-scale-purple-6: #6639ba;
748
+ --color-scale-purple-7: #512a97;
749
+ --color-scale-purple-8: #3e1f79;
750
+ --color-scale-purple-9: #2e1461;
751
+ --color-scale-pink-0: #ffeff7;
752
+ --color-scale-pink-1: #ffd3eb;
753
+ --color-scale-pink-2: #ffadda;
754
+ --color-scale-pink-3: #ff80c8;
755
+ --color-scale-pink-4: #e85aad;
756
+ --color-scale-pink-5: #bf3989;
757
+ --color-scale-pink-6: #99286e;
758
+ --color-scale-pink-7: #772057;
759
+ --color-scale-pink-8: #611347;
760
+ --color-scale-pink-9: #4d0336;
761
+ --color-scale-coral-0: #fff0eb;
762
+ --color-scale-coral-1: #ffd6cc;
763
+ --color-scale-coral-2: #ffb4a1;
764
+ --color-scale-coral-3: #fd8c73;
765
+ --color-scale-coral-4: #ec6547;
766
+ --color-scale-coral-5: #c4432b;
767
+ --color-scale-coral-6: #9e2f1c;
768
+ --color-scale-coral-7: #801f0f;
769
+ --color-scale-coral-8: #691105;
770
+ --color-scale-coral-9: #510901;
771
771
  --shadow-inset: inset 0px 1px 0px 0px #1f23280d;
772
772
  --shadow-highlight: inset 0px 1px 0px 0px #ffffff40;
773
773
  --shadow-resting-xsmall: 0px 1px 0px 0px #1f23280f;
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "boxShadow-thin": {
3
3
  "value": "inset 0 0 0 max(1px, 0.0625rem)",
4
+ "comment": "Thin shadow for borders",
4
5
  "filePath": "src/tokens/functional/size/border.json",
5
6
  "isSource": true,
6
7
  "original": {
7
- "value": "inset 0 0 0 {borderWidth.thin}"
8
+ "value": "inset 0 0 0 {borderWidth.thin}",
9
+ "comment": "Thin shadow for borders"
8
10
  },
9
11
  "name": "boxShadow-thin",
10
12
  "attributes": {},
@@ -91,6 +91,7 @@
91
91
  "text-display-shorthand": {
92
92
  "value": "500 2.5rem/calc(56/40) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
93
93
  "$type": "typography",
94
+ "comment": "Hero-style text for brand to product transition pages. Utilize Title (large) styles on narrow viewports.",
94
95
  "filePath": "src/tokens/functional/typography/typography.json",
95
96
  "isSource": true,
96
97
  "original": {
@@ -100,7 +101,8 @@
100
101
  "lineHeight": "{text.display.lineHeight}",
101
102
  "fontFamily": "{fontStack.sansSerif}"
102
103
  },
103
- "$type": "typography"
104
+ "$type": "typography",
105
+ "comment": "Hero-style text for brand to product transition pages. Utilize Title (large) styles on narrow viewports."
104
106
  },
105
107
  "name": "text-display-shorthand",
106
108
  "attributes": {},
@@ -220,6 +222,7 @@
220
222
  "text-title-shorthand-large": {
221
223
  "value": "600 2rem/calc(48/32) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
222
224
  "$type": "typography",
225
+ "comment": "Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports.",
223
226
  "filePath": "src/tokens/functional/typography/typography.json",
224
227
  "isSource": true,
225
228
  "original": {
@@ -229,7 +232,8 @@
229
232
  "lineHeight": "{text.title.lineHeight.large}",
230
233
  "fontFamily": "{fontStack.sansSerif}"
231
234
  },
232
- "$type": "typography"
235
+ "$type": "typography",
236
+ "comment": "Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports."
233
237
  },
234
238
  "name": "text-title-shorthand-large",
235
239
  "attributes": {},
@@ -238,6 +242,7 @@
238
242
  "text-title-shorthand-medium": {
239
243
  "value": "600 1.25rem/calc(32/20) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
240
244
  "$type": "typography",
245
+ "comment": "Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition.",
241
246
  "filePath": "src/tokens/functional/typography/typography.json",
242
247
  "isSource": true,
243
248
  "original": {
@@ -247,7 +252,8 @@
247
252
  "lineHeight": "{text.title.lineHeight.medium}",
248
253
  "fontFamily": "{fontStack.sansSerif}"
249
254
  },
250
- "$type": "typography"
255
+ "$type": "typography",
256
+ "comment": "Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition."
251
257
  },
252
258
  "name": "text-title-shorthand-medium",
253
259
  "attributes": {},
@@ -256,6 +262,7 @@
256
262
  "text-title-shorthand-small": {
257
263
  "value": "600 1rem/calc(24/16) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
258
264
  "$type": "typography",
265
+ "comment": "Uses the same size as body (large) with a heavier weight of semibold (600).",
259
266
  "filePath": "src/tokens/functional/typography/typography.json",
260
267
  "isSource": true,
261
268
  "original": {
@@ -265,7 +272,8 @@
265
272
  "lineHeight": "{text.title.lineHeight.small}",
266
273
  "fontFamily": "{fontStack.sansSerif}"
267
274
  },
268
- "$type": "typography"
275
+ "$type": "typography",
276
+ "comment": "Uses the same size as body (large) with a heavier weight of semibold (600)."
269
277
  },
270
278
  "name": "text-title-shorthand-small",
271
279
  "attributes": {},
@@ -311,6 +319,7 @@
311
319
  "text-subtitle-shorthand": {
312
320
  "value": "400 1.25rem/calc(32/20) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
313
321
  "$type": "typography",
322
+ "comment": "Page sections/sub headings, or less important object names in page titles (automated action titles, for example). Same line-height as title (medium).",
314
323
  "filePath": "src/tokens/functional/typography/typography.json",
315
324
  "isSource": true,
316
325
  "original": {
@@ -320,7 +329,8 @@
320
329
  "lineHeight": "{text.subtitle.lineHeight}",
321
330
  "fontFamily": "{fontStack.sansSerif}"
322
331
  },
323
- "$type": "typography"
332
+ "$type": "typography",
333
+ "comment": "Page sections/sub headings, or less important object names in page titles (automated action titles, for example). Same line-height as title (medium)."
324
334
  },
325
335
  "name": "text-subtitle-shorthand",
326
336
  "attributes": {},
@@ -414,6 +424,7 @@
414
424
  "text-body-shorthand-large": {
415
425
  "value": "400 1rem/calc(24/16) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
416
426
  "$type": "typography",
427
+ "comment": "User-generated content, markdown rendering.",
417
428
  "filePath": "src/tokens/functional/typography/typography.json",
418
429
  "isSource": true,
419
430
  "original": {
@@ -423,7 +434,8 @@
423
434
  "lineHeight": "{text.body.lineHeight.large}",
424
435
  "fontFamily": "{fontStack.sansSerif}"
425
436
  },
426
- "$type": "typography"
437
+ "$type": "typography",
438
+ "comment": "User-generated content, markdown rendering."
427
439
  },
428
440
  "name": "text-body-shorthand-large",
429
441
  "attributes": {},
@@ -432,6 +444,7 @@
432
444
  "text-body-shorthand-medium": {
433
445
  "value": "400 0.875rem/calc(20/14) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
434
446
  "$type": "typography",
447
+ "comment": "Default UI font. Most commonly used for body text.",
435
448
  "filePath": "src/tokens/functional/typography/typography.json",
436
449
  "isSource": true,
437
450
  "original": {
@@ -441,7 +454,8 @@
441
454
  "lineHeight": "{text.body.lineHeight.medium}",
442
455
  "fontFamily": "{fontStack.sansSerif}"
443
456
  },
444
- "$type": "typography"
457
+ "$type": "typography",
458
+ "comment": "Default UI font. Most commonly used for body text."
445
459
  },
446
460
  "name": "text-body-shorthand-medium",
447
461
  "attributes": {},
@@ -450,6 +464,7 @@
450
464
  "text-body-shorthand-small": {
451
465
  "value": "400 0.75rem/calc(20/12) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
452
466
  "$type": "typography",
467
+ "comment": "Small body text for discrete UI applications, such as helper, footnote text. Should be used sparingly across pages. Line-height matches Body (medium) at 20px.",
453
468
  "filePath": "src/tokens/functional/typography/typography.json",
454
469
  "isSource": true,
455
470
  "original": {
@@ -459,7 +474,8 @@
459
474
  "lineHeight": "{text.body.lineHeight.small}",
460
475
  "fontFamily": "{fontStack.sansSerif}"
461
476
  },
462
- "$type": "typography"
477
+ "$type": "typography",
478
+ "comment": "Small body text for discrete UI applications, such as helper, footnote text. Should be used sparingly across pages. Line-height matches Body (medium) at 20px."
463
479
  },
464
480
  "name": "text-body-shorthand-small",
465
481
  "attributes": {},
@@ -505,6 +521,7 @@
505
521
  "text-caption-shorthand": {
506
522
  "value": "400 0.75rem/calc(16/12) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
507
523
  "$type": "typography",
524
+ "comment": "Compact small font with a smaller line height of 16px. Use it for single-line scenarios, as the small sizing doesn’t pass accessibility requirements.",
508
525
  "filePath": "src/tokens/functional/typography/typography.json",
509
526
  "isSource": true,
510
527
  "original": {
@@ -514,7 +531,8 @@
514
531
  "lineHeight": "{text.caption.lineHeight}",
515
532
  "fontFamily": "{fontStack.sansSerif}"
516
533
  },
517
- "$type": "typography"
534
+ "$type": "typography",
535
+ "comment": "Compact small font with a smaller line height of 16px. Use it for single-line scenarios, as the small sizing doesn’t pass accessibility requirements."
518
536
  },
519
537
  "name": "text-caption-shorthand",
520
538
  "attributes": {},
@@ -558,6 +576,7 @@
558
576
  "text-codeBlock-shorthand": {
559
577
  "value": "400 0.8125rem/calc(20/13) ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
560
578
  "$type": "typography",
579
+ "comment": "Default style for rendering code blocks.",
561
580
  "filePath": "src/tokens/functional/typography/typography.json",
562
581
  "isSource": true,
563
582
  "original": {
@@ -567,7 +586,8 @@
567
586
  "lineHeight": "{text.codeBlock.lineHeight}",
568
587
  "fontFamily": "{fontStack.monospace}"
569
588
  },
570
- "$type": "typography"
589
+ "$type": "typography",
590
+ "comment": "Default style for rendering code blocks."
571
591
  },
572
592
  "name": "text-codeBlock-shorthand",
573
593
  "attributes": {},
@@ -602,6 +622,7 @@
602
622
  "text-codeInline-shorthand": {
603
623
  "value": "400 0.9285em ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
604
624
  "$type": "typography",
625
+ "comment": "Inline code blocks using em units to inherit size from its parent.",
605
626
  "filePath": "src/tokens/functional/typography/typography.json",
606
627
  "isSource": true,
607
628
  "original": {
@@ -610,7 +631,8 @@
610
631
  "fontSize": "{text.codeInline.size}",
611
632
  "fontFamily": "{fontStack.monospace}"
612
633
  },
613
- "$type": "typography"
634
+ "$type": "typography",
635
+ "comment": "Inline code blocks using em units to inherit size from its parent."
614
636
  },
615
637
  "name": "text-codeInline-shorthand",
616
638
  "attributes": {},
@@ -1,6 +1,6 @@
1
1
  @mixin primer-colors-border {
2
2
  & {
3
- --boxShadow-thin: inset 0 0 0 max(1px, 0.0625rem);
3
+ --boxShadow-thin: inset 0 0 0 max(1px, 0.0625rem); /* Thin shadow for borders */
4
4
  --boxShadow-thick: inset 0 0 0 max(2px, 0.125rem);
5
5
  --boxShadow-thicker: inset 0 0 0 max(4px, 0.25rem);
6
6
  --borderWidth-thin: max(1px, 0.0625rem);