@primer/primitives 11.4.0-rc.daff2d10 → 11.4.0-rc.e472be0d

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 (90) hide show
  1. package/dist/build/formats/markdownLlmGuidelines.d.ts +3 -1
  2. package/dist/build/formats/markdownLlmGuidelines.js +53 -10
  3. package/dist/build/platforms/llmGuidelines.js +1 -0
  4. package/dist/build/preprocessors/inheritGroupProperties.d.ts +7 -0
  5. package/dist/build/preprocessors/inheritGroupProperties.js +70 -0
  6. package/dist/build/primerStyleDictionary.js +2 -0
  7. package/dist/build/schemas/designToken.d.ts +1 -1
  8. package/dist/build/schemas/designToken.js +113 -21
  9. package/dist/build/schemas/dimensionToken.d.ts +2 -2
  10. package/dist/build/schemas/dimensionToken.js +4 -2
  11. package/dist/build/schemas/validTokenType.d.ts +5 -1
  12. package/dist/build/schemas/validTokenType.js +71 -17
  13. package/dist/css/functional/size/size-coarse.css +3 -3
  14. package/dist/css/functional/size/size-fine.css +3 -3
  15. package/dist/css/functional/themes/dark-colorblind-high-contrast.css +4 -4
  16. package/dist/css/functional/themes/dark-colorblind.css +4 -4
  17. package/dist/css/functional/themes/dark-dimmed-high-contrast.css +4 -4
  18. package/dist/css/functional/themes/dark-dimmed.css +4 -4
  19. package/dist/css/functional/themes/dark-high-contrast.css +4 -4
  20. package/dist/css/functional/themes/dark-tritanopia-high-contrast.css +4 -4
  21. package/dist/css/functional/themes/dark-tritanopia.css +4 -4
  22. package/dist/css/functional/themes/dark.css +4 -4
  23. package/dist/css/functional/themes/light-colorblind-high-contrast.css +4 -4
  24. package/dist/css/functional/themes/light-colorblind.css +4 -4
  25. package/dist/css/functional/themes/light-high-contrast.css +4 -4
  26. package/dist/css/functional/themes/light-tritanopia-high-contrast.css +4 -4
  27. package/dist/css/functional/themes/light-tritanopia.css +4 -4
  28. package/dist/css/functional/themes/light.css +4 -4
  29. package/dist/docs/functional/size/size-coarse.json +45 -3
  30. package/dist/docs/functional/size/size-fine.json +45 -3
  31. package/dist/docs/functional/themes/dark-colorblind-high-contrast.json +22 -2
  32. package/dist/docs/functional/themes/dark-colorblind.json +22 -2
  33. package/dist/docs/functional/themes/dark-dimmed-high-contrast.json +22 -2
  34. package/dist/docs/functional/themes/dark-dimmed.json +22 -2
  35. package/dist/docs/functional/themes/dark-high-contrast.json +22 -2
  36. package/dist/docs/functional/themes/dark-tritanopia-high-contrast.json +22 -2
  37. package/dist/docs/functional/themes/dark-tritanopia.json +22 -2
  38. package/dist/docs/functional/themes/dark.json +22 -2
  39. package/dist/docs/functional/themes/light-colorblind-high-contrast.json +22 -2
  40. package/dist/docs/functional/themes/light-colorblind.json +22 -2
  41. package/dist/docs/functional/themes/light-high-contrast.json +22 -2
  42. package/dist/docs/functional/themes/light-tritanopia-high-contrast.json +22 -2
  43. package/dist/docs/functional/themes/light-tritanopia.json +22 -2
  44. package/dist/docs/functional/themes/light.json +22 -2
  45. package/dist/figma/themes/dark-colorblind.json +2 -0
  46. package/dist/figma/themes/dark-dimmed.json +2 -0
  47. package/dist/figma/themes/dark-high-contrast.json +2 -0
  48. package/dist/figma/themes/dark-tritanopia.json +2 -0
  49. package/dist/figma/themes/dark.json +2 -0
  50. package/dist/figma/themes/light-colorblind.json +2 -0
  51. package/dist/figma/themes/light-high-contrast.json +2 -0
  52. package/dist/figma/themes/light-tritanopia.json +2 -0
  53. package/dist/figma/themes/light.json +2 -0
  54. package/dist/internalCss/dark-colorblind-high-contrast.css +4 -4
  55. package/dist/internalCss/dark-colorblind.css +4 -4
  56. package/dist/internalCss/dark-dimmed-high-contrast.css +4 -4
  57. package/dist/internalCss/dark-dimmed.css +4 -4
  58. package/dist/internalCss/dark-high-contrast.css +4 -4
  59. package/dist/internalCss/dark-tritanopia-high-contrast.css +4 -4
  60. package/dist/internalCss/dark-tritanopia.css +4 -4
  61. package/dist/internalCss/dark.css +4 -4
  62. package/dist/internalCss/light-colorblind-high-contrast.css +4 -4
  63. package/dist/internalCss/light-colorblind.css +4 -4
  64. package/dist/internalCss/light-high-contrast.css +4 -4
  65. package/dist/internalCss/light-tritanopia-high-contrast.css +4 -4
  66. package/dist/internalCss/light-tritanopia.css +4 -4
  67. package/dist/internalCss/light.css +4 -4
  68. package/dist/styleLint/functional/size/size-coarse.json +42 -0
  69. package/dist/styleLint/functional/size/size-fine.json +42 -0
  70. package/dist/styleLint/functional/themes/dark-colorblind-high-contrast.json +20 -0
  71. package/dist/styleLint/functional/themes/dark-colorblind.json +20 -0
  72. package/dist/styleLint/functional/themes/dark-dimmed-high-contrast.json +20 -0
  73. package/dist/styleLint/functional/themes/dark-dimmed.json +20 -0
  74. package/dist/styleLint/functional/themes/dark-high-contrast.json +20 -0
  75. package/dist/styleLint/functional/themes/dark-tritanopia-high-contrast.json +20 -0
  76. package/dist/styleLint/functional/themes/dark-tritanopia.json +20 -0
  77. package/dist/styleLint/functional/themes/dark.json +20 -0
  78. package/dist/styleLint/functional/themes/light-colorblind-high-contrast.json +20 -0
  79. package/dist/styleLint/functional/themes/light-colorblind.json +20 -0
  80. package/dist/styleLint/functional/themes/light-high-contrast.json +20 -0
  81. package/dist/styleLint/functional/themes/light-tritanopia-high-contrast.json +20 -0
  82. package/dist/styleLint/functional/themes/light-tritanopia.json +20 -0
  83. package/dist/styleLint/functional/themes/light.json +20 -0
  84. package/package.json +1 -1
  85. package/src/tokens/functional/color/data-vis.json5 +7 -0
  86. package/src/tokens/functional/color/focus.json5 +5 -0
  87. package/src/tokens/functional/color/selection.json5 +5 -0
  88. package/src/tokens/functional/size/size-coarse.json5 +24 -3
  89. package/src/tokens/functional/size/size-fine.json5 +45 -24
  90. package/token-guidelines.llm.md +109 -86
@@ -38292,11 +38292,16 @@
38292
38292
  "key": "{focus.outlineColor}",
38293
38293
  "$value": "#409eff",
38294
38294
  "$type": "color",
38295
+ "$description": "Outline color for focus states on interactive elements",
38295
38296
  "$extensions": {
38296
38297
  "org.primer.figma": {
38297
38298
  "collection": "mode",
38298
38299
  "group": "component (internal)",
38299
38300
  "scopes": ["borderColor", "effectColor"]
38301
+ },
38302
+ "org.primer.llm": {
38303
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38304
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38300
38305
  }
38301
38306
  },
38302
38307
  "filePath": "src/tokens/functional/color/focus.json5",
@@ -38304,11 +38309,16 @@
38304
38309
  "original": {
38305
38310
  "$value": "{borderColor.accent.emphasis}",
38306
38311
  "$type": "color",
38312
+ "$description": "Outline color for focus states on interactive elements",
38307
38313
  "$extensions": {
38308
38314
  "org.primer.figma": {
38309
38315
  "collection": "mode",
38310
38316
  "group": "component (internal)",
38311
38317
  "scopes": ["borderColor", "effectColor"]
38318
+ },
38319
+ "org.primer.llm": {
38320
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38321
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38312
38322
  }
38313
38323
  },
38314
38324
  "key": "{focus.outlineColor}"
@@ -47364,6 +47374,7 @@
47364
47374
  "key": "{selection.bgColor}",
47365
47375
  "$value": "#194fb1b3",
47366
47376
  "$type": "color",
47377
+ "$description": "Background color for text selection highlights",
47367
47378
  "$extensions": {
47368
47379
  "org.primer.figma": {
47369
47380
  "collection": "mode",
@@ -47378,6 +47389,10 @@
47378
47389
  "isSource": true,
47379
47390
  "$type": "color"
47380
47391
  }
47392
+ },
47393
+ "org.primer.llm": {
47394
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47395
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47381
47396
  }
47382
47397
  },
47383
47398
  "alpha": 0.7,
@@ -47386,6 +47401,7 @@
47386
47401
  "original": {
47387
47402
  "$value": "{bgColor.accent.emphasis}",
47388
47403
  "$type": "color",
47404
+ "$description": "Background color for text selection highlights",
47389
47405
  "$extensions": {
47390
47406
  "org.primer.figma": {
47391
47407
  "collection": "mode",
@@ -47400,6 +47416,10 @@
47400
47416
  "isSource": true,
47401
47417
  "$type": "color"
47402
47418
  }
47419
+ },
47420
+ "org.primer.llm": {
47421
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47422
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47403
47423
  }
47404
47424
  },
47405
47425
  "alpha": 0.7,
@@ -38292,11 +38292,16 @@
38292
38292
  "key": "{focus.outlineColor}",
38293
38293
  "$value": "#1f6feb",
38294
38294
  "$type": "color",
38295
+ "$description": "Outline color for focus states on interactive elements",
38295
38296
  "$extensions": {
38296
38297
  "org.primer.figma": {
38297
38298
  "collection": "mode",
38298
38299
  "group": "component (internal)",
38299
38300
  "scopes": ["borderColor", "effectColor"]
38301
+ },
38302
+ "org.primer.llm": {
38303
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38304
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38300
38305
  }
38301
38306
  },
38302
38307
  "filePath": "src/tokens/functional/color/focus.json5",
@@ -38304,11 +38309,16 @@
38304
38309
  "original": {
38305
38310
  "$value": "{borderColor.accent.emphasis}",
38306
38311
  "$type": "color",
38312
+ "$description": "Outline color for focus states on interactive elements",
38307
38313
  "$extensions": {
38308
38314
  "org.primer.figma": {
38309
38315
  "collection": "mode",
38310
38316
  "group": "component (internal)",
38311
38317
  "scopes": ["borderColor", "effectColor"]
38318
+ },
38319
+ "org.primer.llm": {
38320
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38321
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38312
38322
  }
38313
38323
  },
38314
38324
  "key": "{focus.outlineColor}"
@@ -47364,6 +47374,7 @@
47364
47374
  "key": "{selection.bgColor}",
47365
47375
  "$value": "#1f6febb3",
47366
47376
  "$type": "color",
47377
+ "$description": "Background color for text selection highlights",
47367
47378
  "$extensions": {
47368
47379
  "org.primer.figma": {
47369
47380
  "collection": "mode",
@@ -47378,6 +47389,10 @@
47378
47389
  "isSource": true,
47379
47390
  "$type": "color"
47380
47391
  }
47392
+ },
47393
+ "org.primer.llm": {
47394
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47395
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47381
47396
  }
47382
47397
  },
47383
47398
  "alpha": 0.7,
@@ -47386,6 +47401,7 @@
47386
47401
  "original": {
47387
47402
  "$value": "{bgColor.accent.emphasis}",
47388
47403
  "$type": "color",
47404
+ "$description": "Background color for text selection highlights",
47389
47405
  "$extensions": {
47390
47406
  "org.primer.figma": {
47391
47407
  "collection": "mode",
@@ -47400,6 +47416,10 @@
47400
47416
  "isSource": true,
47401
47417
  "$type": "color"
47402
47418
  }
47419
+ },
47420
+ "org.primer.llm": {
47421
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47422
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47403
47423
  }
47404
47424
  },
47405
47425
  "alpha": 0.7,
@@ -38282,11 +38282,16 @@
38282
38282
  "key": "{focus.outlineColor}",
38283
38283
  "$value": "#6cb6ff",
38284
38284
  "$type": "color",
38285
+ "$description": "Outline color for focus states on interactive elements",
38285
38286
  "$extensions": {
38286
38287
  "org.primer.figma": {
38287
38288
  "collection": "mode",
38288
38289
  "group": "component (internal)",
38289
38290
  "scopes": ["borderColor", "effectColor"]
38291
+ },
38292
+ "org.primer.llm": {
38293
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38294
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38290
38295
  }
38291
38296
  },
38292
38297
  "filePath": "src/tokens/functional/color/focus.json5",
@@ -38294,11 +38299,16 @@
38294
38299
  "original": {
38295
38300
  "$value": "{borderColor.accent.emphasis}",
38296
38301
  "$type": "color",
38302
+ "$description": "Outline color for focus states on interactive elements",
38297
38303
  "$extensions": {
38298
38304
  "org.primer.figma": {
38299
38305
  "collection": "mode",
38300
38306
  "group": "component (internal)",
38301
38307
  "scopes": ["borderColor", "effectColor"]
38308
+ },
38309
+ "org.primer.llm": {
38310
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38311
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38302
38312
  }
38303
38313
  },
38304
38314
  "key": "{focus.outlineColor}"
@@ -47354,6 +47364,7 @@
47354
47364
  "key": "{selection.bgColor}",
47355
47365
  "$value": "#1b4b91b3",
47356
47366
  "$type": "color",
47367
+ "$description": "Background color for text selection highlights",
47357
47368
  "$extensions": {
47358
47369
  "org.primer.figma": {
47359
47370
  "collection": "mode",
@@ -47368,6 +47379,10 @@
47368
47379
  "isSource": true,
47369
47380
  "$type": "color"
47370
47381
  }
47382
+ },
47383
+ "org.primer.llm": {
47384
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47385
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47371
47386
  }
47372
47387
  },
47373
47388
  "alpha": 0.7,
@@ -47376,6 +47391,7 @@
47376
47391
  "original": {
47377
47392
  "$value": "{bgColor.accent.emphasis}",
47378
47393
  "$type": "color",
47394
+ "$description": "Background color for text selection highlights",
47379
47395
  "$extensions": {
47380
47396
  "org.primer.figma": {
47381
47397
  "collection": "mode",
@@ -47390,6 +47406,10 @@
47390
47406
  "isSource": true,
47391
47407
  "$type": "color"
47392
47408
  }
47409
+ },
47410
+ "org.primer.llm": {
47411
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47412
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47393
47413
  }
47394
47414
  },
47395
47415
  "alpha": 0.7,
@@ -38282,11 +38282,16 @@
38282
38282
  "key": "{focus.outlineColor}",
38283
38283
  "$value": "#316dca",
38284
38284
  "$type": "color",
38285
+ "$description": "Outline color for focus states on interactive elements",
38285
38286
  "$extensions": {
38286
38287
  "org.primer.figma": {
38287
38288
  "collection": "mode",
38288
38289
  "group": "component (internal)",
38289
38290
  "scopes": ["borderColor", "effectColor"]
38291
+ },
38292
+ "org.primer.llm": {
38293
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38294
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38290
38295
  }
38291
38296
  },
38292
38297
  "filePath": "src/tokens/functional/color/focus.json5",
@@ -38294,11 +38299,16 @@
38294
38299
  "original": {
38295
38300
  "$value": "{borderColor.accent.emphasis}",
38296
38301
  "$type": "color",
38302
+ "$description": "Outline color for focus states on interactive elements",
38297
38303
  "$extensions": {
38298
38304
  "org.primer.figma": {
38299
38305
  "collection": "mode",
38300
38306
  "group": "component (internal)",
38301
38307
  "scopes": ["borderColor", "effectColor"]
38308
+ },
38309
+ "org.primer.llm": {
38310
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38311
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38302
38312
  }
38303
38313
  },
38304
38314
  "key": "{focus.outlineColor}"
@@ -47354,6 +47364,7 @@
47354
47364
  "key": "{selection.bgColor}",
47355
47365
  "$value": "#316dcab3",
47356
47366
  "$type": "color",
47367
+ "$description": "Background color for text selection highlights",
47357
47368
  "$extensions": {
47358
47369
  "org.primer.figma": {
47359
47370
  "collection": "mode",
@@ -47368,6 +47379,10 @@
47368
47379
  "isSource": true,
47369
47380
  "$type": "color"
47370
47381
  }
47382
+ },
47383
+ "org.primer.llm": {
47384
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47385
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47371
47386
  }
47372
47387
  },
47373
47388
  "alpha": 0.7,
@@ -47376,6 +47391,7 @@
47376
47391
  "original": {
47377
47392
  "$value": "{bgColor.accent.emphasis}",
47378
47393
  "$type": "color",
47394
+ "$description": "Background color for text selection highlights",
47379
47395
  "$extensions": {
47380
47396
  "org.primer.figma": {
47381
47397
  "collection": "mode",
@@ -47390,6 +47406,10 @@
47390
47406
  "isSource": true,
47391
47407
  "$type": "color"
47392
47408
  }
47409
+ },
47410
+ "org.primer.llm": {
47411
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47412
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47393
47413
  }
47394
47414
  },
47395
47415
  "alpha": 0.7,
@@ -38288,11 +38288,16 @@
38288
38288
  "key": "{focus.outlineColor}",
38289
38289
  "$value": "#409eff",
38290
38290
  "$type": "color",
38291
+ "$description": "Outline color for focus states on interactive elements",
38291
38292
  "$extensions": {
38292
38293
  "org.primer.figma": {
38293
38294
  "collection": "mode",
38294
38295
  "group": "component (internal)",
38295
38296
  "scopes": ["borderColor", "effectColor"]
38297
+ },
38298
+ "org.primer.llm": {
38299
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38300
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38296
38301
  }
38297
38302
  },
38298
38303
  "filePath": "src/tokens/functional/color/focus.json5",
@@ -38300,11 +38305,16 @@
38300
38305
  "original": {
38301
38306
  "$value": "{borderColor.accent.emphasis}",
38302
38307
  "$type": "color",
38308
+ "$description": "Outline color for focus states on interactive elements",
38303
38309
  "$extensions": {
38304
38310
  "org.primer.figma": {
38305
38311
  "collection": "mode",
38306
38312
  "group": "component (internal)",
38307
38313
  "scopes": ["borderColor", "effectColor"]
38314
+ },
38315
+ "org.primer.llm": {
38316
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38317
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38308
38318
  }
38309
38319
  },
38310
38320
  "key": "{focus.outlineColor}"
@@ -47360,6 +47370,7 @@
47360
47370
  "key": "{selection.bgColor}",
47361
47371
  "$value": "#194fb1b3",
47362
47372
  "$type": "color",
47373
+ "$description": "Background color for text selection highlights",
47363
47374
  "$extensions": {
47364
47375
  "org.primer.figma": {
47365
47376
  "collection": "mode",
@@ -47374,6 +47385,10 @@
47374
47385
  "isSource": true,
47375
47386
  "$type": "color"
47376
47387
  }
47388
+ },
47389
+ "org.primer.llm": {
47390
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47391
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47377
47392
  }
47378
47393
  },
47379
47394
  "alpha": 0.7,
@@ -47382,6 +47397,7 @@
47382
47397
  "original": {
47383
47398
  "$value": "{bgColor.accent.emphasis}",
47384
47399
  "$type": "color",
47400
+ "$description": "Background color for text selection highlights",
47385
47401
  "$extensions": {
47386
47402
  "org.primer.figma": {
47387
47403
  "collection": "mode",
@@ -47396,6 +47412,10 @@
47396
47412
  "isSource": true,
47397
47413
  "$type": "color"
47398
47414
  }
47415
+ },
47416
+ "org.primer.llm": {
47417
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47418
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47399
47419
  }
47400
47420
  },
47401
47421
  "alpha": 0.7,
@@ -38288,11 +38288,16 @@
38288
38288
  "key": "{focus.outlineColor}",
38289
38289
  "$value": "#409eff",
38290
38290
  "$type": "color",
38291
+ "$description": "Outline color for focus states on interactive elements",
38291
38292
  "$extensions": {
38292
38293
  "org.primer.figma": {
38293
38294
  "collection": "mode",
38294
38295
  "group": "component (internal)",
38295
38296
  "scopes": ["borderColor", "effectColor"]
38297
+ },
38298
+ "org.primer.llm": {
38299
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38300
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38296
38301
  }
38297
38302
  },
38298
38303
  "filePath": "src/tokens/functional/color/focus.json5",
@@ -38300,11 +38305,16 @@
38300
38305
  "original": {
38301
38306
  "$value": "{borderColor.accent.emphasis}",
38302
38307
  "$type": "color",
38308
+ "$description": "Outline color for focus states on interactive elements",
38303
38309
  "$extensions": {
38304
38310
  "org.primer.figma": {
38305
38311
  "collection": "mode",
38306
38312
  "group": "component (internal)",
38307
38313
  "scopes": ["borderColor", "effectColor"]
38314
+ },
38315
+ "org.primer.llm": {
38316
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38317
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38308
38318
  }
38309
38319
  },
38310
38320
  "key": "{focus.outlineColor}"
@@ -47360,6 +47370,7 @@
47360
47370
  "key": "{selection.bgColor}",
47361
47371
  "$value": "#194fb1b3",
47362
47372
  "$type": "color",
47373
+ "$description": "Background color for text selection highlights",
47363
47374
  "$extensions": {
47364
47375
  "org.primer.figma": {
47365
47376
  "collection": "mode",
@@ -47374,6 +47385,10 @@
47374
47385
  "isSource": true,
47375
47386
  "$type": "color"
47376
47387
  }
47388
+ },
47389
+ "org.primer.llm": {
47390
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47391
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47377
47392
  }
47378
47393
  },
47379
47394
  "alpha": 0.7,
@@ -47382,6 +47397,7 @@
47382
47397
  "original": {
47383
47398
  "$value": "{bgColor.accent.emphasis}",
47384
47399
  "$type": "color",
47400
+ "$description": "Background color for text selection highlights",
47385
47401
  "$extensions": {
47386
47402
  "org.primer.figma": {
47387
47403
  "collection": "mode",
@@ -47396,6 +47412,10 @@
47396
47412
  "isSource": true,
47397
47413
  "$type": "color"
47398
47414
  }
47415
+ },
47416
+ "org.primer.llm": {
47417
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47418
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47399
47419
  }
47400
47420
  },
47401
47421
  "alpha": 0.7,
@@ -38290,11 +38290,16 @@
38290
38290
  "key": "{focus.outlineColor}",
38291
38291
  "$value": "#1f6feb",
38292
38292
  "$type": "color",
38293
+ "$description": "Outline color for focus states on interactive elements",
38293
38294
  "$extensions": {
38294
38295
  "org.primer.figma": {
38295
38296
  "collection": "mode",
38296
38297
  "group": "component (internal)",
38297
38298
  "scopes": ["borderColor", "effectColor"]
38299
+ },
38300
+ "org.primer.llm": {
38301
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38302
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38298
38303
  }
38299
38304
  },
38300
38305
  "filePath": "src/tokens/functional/color/focus.json5",
@@ -38302,11 +38307,16 @@
38302
38307
  "original": {
38303
38308
  "$value": "{borderColor.accent.emphasis}",
38304
38309
  "$type": "color",
38310
+ "$description": "Outline color for focus states on interactive elements",
38305
38311
  "$extensions": {
38306
38312
  "org.primer.figma": {
38307
38313
  "collection": "mode",
38308
38314
  "group": "component (internal)",
38309
38315
  "scopes": ["borderColor", "effectColor"]
38316
+ },
38317
+ "org.primer.llm": {
38318
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38319
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38310
38320
  }
38311
38321
  },
38312
38322
  "key": "{focus.outlineColor}"
@@ -47362,6 +47372,7 @@
47362
47372
  "key": "{selection.bgColor}",
47363
47373
  "$value": "#1f6febb3",
47364
47374
  "$type": "color",
47375
+ "$description": "Background color for text selection highlights",
47365
47376
  "$extensions": {
47366
47377
  "org.primer.figma": {
47367
47378
  "collection": "mode",
@@ -47376,6 +47387,10 @@
47376
47387
  "isSource": true,
47377
47388
  "$type": "color"
47378
47389
  }
47390
+ },
47391
+ "org.primer.llm": {
47392
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47393
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47379
47394
  }
47380
47395
  },
47381
47396
  "alpha": 0.7,
@@ -47384,6 +47399,7 @@
47384
47399
  "original": {
47385
47400
  "$value": "{bgColor.accent.emphasis}",
47386
47401
  "$type": "color",
47402
+ "$description": "Background color for text selection highlights",
47387
47403
  "$extensions": {
47388
47404
  "org.primer.figma": {
47389
47405
  "collection": "mode",
@@ -47398,6 +47414,10 @@
47398
47414
  "isSource": true,
47399
47415
  "$type": "color"
47400
47416
  }
47417
+ },
47418
+ "org.primer.llm": {
47419
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47420
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47401
47421
  }
47402
47422
  },
47403
47423
  "alpha": 0.7,
@@ -38278,11 +38278,16 @@
38278
38278
  "key": "{focus.outlineColor}",
38279
38279
  "$value": "#1f6feb",
38280
38280
  "$type": "color",
38281
+ "$description": "Outline color for focus states on interactive elements",
38281
38282
  "$extensions": {
38282
38283
  "org.primer.figma": {
38283
38284
  "collection": "mode",
38284
38285
  "group": "component (internal)",
38285
38286
  "scopes": ["borderColor", "effectColor"]
38287
+ },
38288
+ "org.primer.llm": {
38289
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38290
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38286
38291
  }
38287
38292
  },
38288
38293
  "filePath": "src/tokens/functional/color/focus.json5",
@@ -38290,11 +38295,16 @@
38290
38295
  "original": {
38291
38296
  "$value": "{borderColor.accent.emphasis}",
38292
38297
  "$type": "color",
38298
+ "$description": "Outline color for focus states on interactive elements",
38293
38299
  "$extensions": {
38294
38300
  "org.primer.figma": {
38295
38301
  "collection": "mode",
38296
38302
  "group": "component (internal)",
38297
38303
  "scopes": ["borderColor", "effectColor"]
38304
+ },
38305
+ "org.primer.llm": {
38306
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38307
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38298
38308
  }
38299
38309
  },
38300
38310
  "key": "{focus.outlineColor}"
@@ -47350,6 +47360,7 @@
47350
47360
  "key": "{selection.bgColor}",
47351
47361
  "$value": "#1f6febb3",
47352
47362
  "$type": "color",
47363
+ "$description": "Background color for text selection highlights",
47353
47364
  "$extensions": {
47354
47365
  "org.primer.figma": {
47355
47366
  "collection": "mode",
@@ -47364,6 +47375,10 @@
47364
47375
  "isSource": true,
47365
47376
  "$type": "color"
47366
47377
  }
47378
+ },
47379
+ "org.primer.llm": {
47380
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47381
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47367
47382
  }
47368
47383
  },
47369
47384
  "alpha": 0.7,
@@ -47372,6 +47387,7 @@
47372
47387
  "original": {
47373
47388
  "$value": "{bgColor.accent.emphasis}",
47374
47389
  "$type": "color",
47390
+ "$description": "Background color for text selection highlights",
47375
47391
  "$extensions": {
47376
47392
  "org.primer.figma": {
47377
47393
  "collection": "mode",
@@ -47386,6 +47402,10 @@
47386
47402
  "isSource": true,
47387
47403
  "$type": "color"
47388
47404
  }
47405
+ },
47406
+ "org.primer.llm": {
47407
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47408
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47389
47409
  }
47390
47410
  },
47391
47411
  "alpha": 0.7,
@@ -38258,11 +38258,16 @@
38258
38258
  "key": "{focus.outlineColor}",
38259
38259
  "$value": "#0349b4",
38260
38260
  "$type": "color",
38261
+ "$description": "Outline color for focus states on interactive elements",
38261
38262
  "$extensions": {
38262
38263
  "org.primer.figma": {
38263
38264
  "collection": "mode",
38264
38265
  "group": "component (internal)",
38265
38266
  "scopes": ["borderColor", "effectColor"]
38267
+ },
38268
+ "org.primer.llm": {
38269
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38270
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38266
38271
  }
38267
38272
  },
38268
38273
  "filePath": "src/tokens/functional/color/focus.json5",
@@ -38270,11 +38275,16 @@
38270
38275
  "original": {
38271
38276
  "$value": "{borderColor.accent.emphasis}",
38272
38277
  "$type": "color",
38278
+ "$description": "Outline color for focus states on interactive elements",
38273
38279
  "$extensions": {
38274
38280
  "org.primer.figma": {
38275
38281
  "collection": "mode",
38276
38282
  "group": "component (internal)",
38277
38283
  "scopes": ["borderColor", "effectColor"]
38284
+ },
38285
+ "org.primer.llm": {
38286
+ "usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
38287
+ "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
38278
38288
  }
38279
38289
  },
38280
38290
  "key": "{focus.outlineColor}"
@@ -47322,6 +47332,7 @@
47322
47332
  "key": "{selection.bgColor}",
47323
47333
  "$value": "#0349b433",
47324
47334
  "$type": "color",
47335
+ "$description": "Background color for text selection highlights",
47325
47336
  "$extensions": {
47326
47337
  "org.primer.figma": {
47327
47338
  "collection": "mode",
@@ -47336,6 +47347,10 @@
47336
47347
  "isSource": true,
47337
47348
  "$type": "color"
47338
47349
  }
47350
+ },
47351
+ "org.primer.llm": {
47352
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47353
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47339
47354
  }
47340
47355
  },
47341
47356
  "alpha": 0.2,
@@ -47344,6 +47359,7 @@
47344
47359
  "original": {
47345
47360
  "$value": "{bgColor.accent.emphasis}",
47346
47361
  "$type": "color",
47362
+ "$description": "Background color for text selection highlights",
47347
47363
  "$extensions": {
47348
47364
  "org.primer.figma": {
47349
47365
  "collection": "mode",
@@ -47358,6 +47374,10 @@
47358
47374
  "isSource": true,
47359
47375
  "$type": "color"
47360
47376
  }
47377
+ },
47378
+ "org.primer.llm": {
47379
+ "usage": ["text-selection", "highlighted-text", "selected-content"],
47380
+ "rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
47361
47381
  }
47362
47382
  },
47363
47383
  "alpha": 0.2,