@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.
- package/dist/build/formats/markdownLlmGuidelines.d.ts +3 -1
- package/dist/build/formats/markdownLlmGuidelines.js +53 -10
- package/dist/build/platforms/llmGuidelines.js +1 -0
- package/dist/build/preprocessors/inheritGroupProperties.d.ts +7 -0
- package/dist/build/preprocessors/inheritGroupProperties.js +70 -0
- package/dist/build/primerStyleDictionary.js +2 -0
- package/dist/build/schemas/designToken.d.ts +1 -1
- package/dist/build/schemas/designToken.js +113 -21
- package/dist/build/schemas/dimensionToken.d.ts +2 -2
- package/dist/build/schemas/dimensionToken.js +4 -2
- package/dist/build/schemas/validTokenType.d.ts +5 -1
- package/dist/build/schemas/validTokenType.js +71 -17
- package/dist/css/functional/size/size-coarse.css +3 -3
- package/dist/css/functional/size/size-fine.css +3 -3
- package/dist/css/functional/themes/dark-colorblind-high-contrast.css +4 -4
- package/dist/css/functional/themes/dark-colorblind.css +4 -4
- package/dist/css/functional/themes/dark-dimmed-high-contrast.css +4 -4
- package/dist/css/functional/themes/dark-dimmed.css +4 -4
- package/dist/css/functional/themes/dark-high-contrast.css +4 -4
- package/dist/css/functional/themes/dark-tritanopia-high-contrast.css +4 -4
- package/dist/css/functional/themes/dark-tritanopia.css +4 -4
- package/dist/css/functional/themes/dark.css +4 -4
- package/dist/css/functional/themes/light-colorblind-high-contrast.css +4 -4
- package/dist/css/functional/themes/light-colorblind.css +4 -4
- package/dist/css/functional/themes/light-high-contrast.css +4 -4
- package/dist/css/functional/themes/light-tritanopia-high-contrast.css +4 -4
- package/dist/css/functional/themes/light-tritanopia.css +4 -4
- package/dist/css/functional/themes/light.css +4 -4
- package/dist/docs/functional/size/size-coarse.json +45 -3
- package/dist/docs/functional/size/size-fine.json +45 -3
- package/dist/docs/functional/themes/dark-colorblind-high-contrast.json +22 -2
- package/dist/docs/functional/themes/dark-colorblind.json +22 -2
- package/dist/docs/functional/themes/dark-dimmed-high-contrast.json +22 -2
- package/dist/docs/functional/themes/dark-dimmed.json +22 -2
- package/dist/docs/functional/themes/dark-high-contrast.json +22 -2
- package/dist/docs/functional/themes/dark-tritanopia-high-contrast.json +22 -2
- package/dist/docs/functional/themes/dark-tritanopia.json +22 -2
- package/dist/docs/functional/themes/dark.json +22 -2
- package/dist/docs/functional/themes/light-colorblind-high-contrast.json +22 -2
- package/dist/docs/functional/themes/light-colorblind.json +22 -2
- package/dist/docs/functional/themes/light-high-contrast.json +22 -2
- package/dist/docs/functional/themes/light-tritanopia-high-contrast.json +22 -2
- package/dist/docs/functional/themes/light-tritanopia.json +22 -2
- package/dist/docs/functional/themes/light.json +22 -2
- package/dist/figma/themes/dark-colorblind.json +2 -0
- package/dist/figma/themes/dark-dimmed.json +2 -0
- package/dist/figma/themes/dark-high-contrast.json +2 -0
- package/dist/figma/themes/dark-tritanopia.json +2 -0
- package/dist/figma/themes/dark.json +2 -0
- package/dist/figma/themes/light-colorblind.json +2 -0
- package/dist/figma/themes/light-high-contrast.json +2 -0
- package/dist/figma/themes/light-tritanopia.json +2 -0
- package/dist/figma/themes/light.json +2 -0
- package/dist/internalCss/dark-colorblind-high-contrast.css +4 -4
- package/dist/internalCss/dark-colorblind.css +4 -4
- package/dist/internalCss/dark-dimmed-high-contrast.css +4 -4
- package/dist/internalCss/dark-dimmed.css +4 -4
- package/dist/internalCss/dark-high-contrast.css +4 -4
- package/dist/internalCss/dark-tritanopia-high-contrast.css +4 -4
- package/dist/internalCss/dark-tritanopia.css +4 -4
- package/dist/internalCss/dark.css +4 -4
- package/dist/internalCss/light-colorblind-high-contrast.css +4 -4
- package/dist/internalCss/light-colorblind.css +4 -4
- package/dist/internalCss/light-high-contrast.css +4 -4
- package/dist/internalCss/light-tritanopia-high-contrast.css +4 -4
- package/dist/internalCss/light-tritanopia.css +4 -4
- package/dist/internalCss/light.css +4 -4
- package/dist/styleLint/functional/size/size-coarse.json +42 -0
- package/dist/styleLint/functional/size/size-fine.json +42 -0
- package/dist/styleLint/functional/themes/dark-colorblind-high-contrast.json +20 -0
- package/dist/styleLint/functional/themes/dark-colorblind.json +20 -0
- package/dist/styleLint/functional/themes/dark-dimmed-high-contrast.json +20 -0
- package/dist/styleLint/functional/themes/dark-dimmed.json +20 -0
- package/dist/styleLint/functional/themes/dark-high-contrast.json +20 -0
- package/dist/styleLint/functional/themes/dark-tritanopia-high-contrast.json +20 -0
- package/dist/styleLint/functional/themes/dark-tritanopia.json +20 -0
- package/dist/styleLint/functional/themes/dark.json +20 -0
- package/dist/styleLint/functional/themes/light-colorblind-high-contrast.json +20 -0
- package/dist/styleLint/functional/themes/light-colorblind.json +20 -0
- package/dist/styleLint/functional/themes/light-high-contrast.json +20 -0
- package/dist/styleLint/functional/themes/light-tritanopia-high-contrast.json +20 -0
- package/dist/styleLint/functional/themes/light-tritanopia.json +20 -0
- package/dist/styleLint/functional/themes/light.json +20 -0
- package/package.json +1 -1
- package/src/tokens/functional/color/data-vis.json5 +7 -0
- package/src/tokens/functional/color/focus.json5 +5 -0
- package/src/tokens/functional/color/selection.json5 +5 -0
- package/src/tokens/functional/size/size-coarse.json5 +24 -3
- package/src/tokens/functional/size/size-fine.json5 +45 -24
- package/token-guidelines.llm.md +109 -86
|
@@ -38295,6 +38295,10 @@
|
|
|
38295
38295
|
"collection": "mode",
|
|
38296
38296
|
"group": "component (internal)",
|
|
38297
38297
|
"scopes": ["borderColor", "effectColor"]
|
|
38298
|
+
},
|
|
38299
|
+
"org.primer.llm": {
|
|
38300
|
+
"usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
|
|
38301
|
+
"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
38302
|
}
|
|
38299
38303
|
},
|
|
38300
38304
|
"filePath": "src/tokens/functional/color/focus.json5",
|
|
@@ -38302,11 +38306,16 @@
|
|
|
38302
38306
|
"original": {
|
|
38303
38307
|
"$value": "{borderColor.accent.emphasis}",
|
|
38304
38308
|
"$type": "color",
|
|
38309
|
+
"$description": "Outline color for focus states on interactive elements",
|
|
38305
38310
|
"$extensions": {
|
|
38306
38311
|
"org.primer.figma": {
|
|
38307
38312
|
"collection": "mode",
|
|
38308
38313
|
"group": "component (internal)",
|
|
38309
38314
|
"scopes": ["borderColor", "effectColor"]
|
|
38315
|
+
},
|
|
38316
|
+
"org.primer.llm": {
|
|
38317
|
+
"usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
|
|
38318
|
+
"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
38319
|
}
|
|
38311
38320
|
},
|
|
38312
38321
|
"key": "{focus.outlineColor}"
|
|
@@ -38315,7 +38324,8 @@
|
|
|
38315
38324
|
"attributes": {},
|
|
38316
38325
|
"path": ["focus", "outlineColor"],
|
|
38317
38326
|
"value": "#409eff",
|
|
38318
|
-
"type": "color"
|
|
38327
|
+
"type": "color",
|
|
38328
|
+
"description": "Outline color for focus states on interactive elements"
|
|
38319
38329
|
},
|
|
38320
38330
|
"header-bgColor": {
|
|
38321
38331
|
"key": "{header.bgColor}",
|
|
@@ -47376,6 +47386,10 @@
|
|
|
47376
47386
|
"isSource": true,
|
|
47377
47387
|
"$type": "color"
|
|
47378
47388
|
}
|
|
47389
|
+
},
|
|
47390
|
+
"org.primer.llm": {
|
|
47391
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47392
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47379
47393
|
}
|
|
47380
47394
|
},
|
|
47381
47395
|
"alpha": 0.7,
|
|
@@ -47384,6 +47398,7 @@
|
|
|
47384
47398
|
"original": {
|
|
47385
47399
|
"$value": "{bgColor.accent.emphasis}",
|
|
47386
47400
|
"$type": "color",
|
|
47401
|
+
"$description": "Background color for text selection highlights",
|
|
47387
47402
|
"$extensions": {
|
|
47388
47403
|
"org.primer.figma": {
|
|
47389
47404
|
"collection": "mode",
|
|
@@ -47398,6 +47413,10 @@
|
|
|
47398
47413
|
"isSource": true,
|
|
47399
47414
|
"$type": "color"
|
|
47400
47415
|
}
|
|
47416
|
+
},
|
|
47417
|
+
"org.primer.llm": {
|
|
47418
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47419
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47401
47420
|
}
|
|
47402
47421
|
},
|
|
47403
47422
|
"alpha": 0.7,
|
|
@@ -47407,7 +47426,8 @@
|
|
|
47407
47426
|
"attributes": {},
|
|
47408
47427
|
"path": ["selection", "bgColor"],
|
|
47409
47428
|
"value": "#194fb1b3",
|
|
47410
|
-
"type": "color"
|
|
47429
|
+
"type": "color",
|
|
47430
|
+
"description": "Background color for text selection highlights"
|
|
47411
47431
|
},
|
|
47412
47432
|
"shadow-floating-large": {
|
|
47413
47433
|
"key": "{shadow.floating.large}",
|
|
@@ -38295,6 +38295,10 @@
|
|
|
38295
38295
|
"collection": "mode",
|
|
38296
38296
|
"group": "component (internal)",
|
|
38297
38297
|
"scopes": ["borderColor", "effectColor"]
|
|
38298
|
+
},
|
|
38299
|
+
"org.primer.llm": {
|
|
38300
|
+
"usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
|
|
38301
|
+
"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
38302
|
}
|
|
38299
38303
|
},
|
|
38300
38304
|
"filePath": "src/tokens/functional/color/focus.json5",
|
|
@@ -38302,11 +38306,16 @@
|
|
|
38302
38306
|
"original": {
|
|
38303
38307
|
"$value": "{borderColor.accent.emphasis}",
|
|
38304
38308
|
"$type": "color",
|
|
38309
|
+
"$description": "Outline color for focus states on interactive elements",
|
|
38305
38310
|
"$extensions": {
|
|
38306
38311
|
"org.primer.figma": {
|
|
38307
38312
|
"collection": "mode",
|
|
38308
38313
|
"group": "component (internal)",
|
|
38309
38314
|
"scopes": ["borderColor", "effectColor"]
|
|
38315
|
+
},
|
|
38316
|
+
"org.primer.llm": {
|
|
38317
|
+
"usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
|
|
38318
|
+
"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
38319
|
}
|
|
38311
38320
|
},
|
|
38312
38321
|
"key": "{focus.outlineColor}"
|
|
@@ -38315,7 +38324,8 @@
|
|
|
38315
38324
|
"attributes": {},
|
|
38316
38325
|
"path": ["focus", "outlineColor"],
|
|
38317
38326
|
"value": "#1f6feb",
|
|
38318
|
-
"type": "color"
|
|
38327
|
+
"type": "color",
|
|
38328
|
+
"description": "Outline color for focus states on interactive elements"
|
|
38319
38329
|
},
|
|
38320
38330
|
"header-bgColor": {
|
|
38321
38331
|
"key": "{header.bgColor}",
|
|
@@ -47376,6 +47386,10 @@
|
|
|
47376
47386
|
"isSource": true,
|
|
47377
47387
|
"$type": "color"
|
|
47378
47388
|
}
|
|
47389
|
+
},
|
|
47390
|
+
"org.primer.llm": {
|
|
47391
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47392
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47379
47393
|
}
|
|
47380
47394
|
},
|
|
47381
47395
|
"alpha": 0.7,
|
|
@@ -47384,6 +47398,7 @@
|
|
|
47384
47398
|
"original": {
|
|
47385
47399
|
"$value": "{bgColor.accent.emphasis}",
|
|
47386
47400
|
"$type": "color",
|
|
47401
|
+
"$description": "Background color for text selection highlights",
|
|
47387
47402
|
"$extensions": {
|
|
47388
47403
|
"org.primer.figma": {
|
|
47389
47404
|
"collection": "mode",
|
|
@@ -47398,6 +47413,10 @@
|
|
|
47398
47413
|
"isSource": true,
|
|
47399
47414
|
"$type": "color"
|
|
47400
47415
|
}
|
|
47416
|
+
},
|
|
47417
|
+
"org.primer.llm": {
|
|
47418
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47419
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47401
47420
|
}
|
|
47402
47421
|
},
|
|
47403
47422
|
"alpha": 0.7,
|
|
@@ -47407,7 +47426,8 @@
|
|
|
47407
47426
|
"attributes": {},
|
|
47408
47427
|
"path": ["selection", "bgColor"],
|
|
47409
47428
|
"value": "#1f6febb3",
|
|
47410
|
-
"type": "color"
|
|
47429
|
+
"type": "color",
|
|
47430
|
+
"description": "Background color for text selection highlights"
|
|
47411
47431
|
},
|
|
47412
47432
|
"shadow-floating-large": {
|
|
47413
47433
|
"key": "{shadow.floating.large}",
|
|
@@ -38285,6 +38285,10 @@
|
|
|
38285
38285
|
"collection": "mode",
|
|
38286
38286
|
"group": "component (internal)",
|
|
38287
38287
|
"scopes": ["borderColor", "effectColor"]
|
|
38288
|
+
},
|
|
38289
|
+
"org.primer.llm": {
|
|
38290
|
+
"usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
|
|
38291
|
+
"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."
|
|
38288
38292
|
}
|
|
38289
38293
|
},
|
|
38290
38294
|
"filePath": "src/tokens/functional/color/focus.json5",
|
|
@@ -38292,11 +38296,16 @@
|
|
|
38292
38296
|
"original": {
|
|
38293
38297
|
"$value": "{borderColor.accent.emphasis}",
|
|
38294
38298
|
"$type": "color",
|
|
38299
|
+
"$description": "Outline color for focus states on interactive elements",
|
|
38295
38300
|
"$extensions": {
|
|
38296
38301
|
"org.primer.figma": {
|
|
38297
38302
|
"collection": "mode",
|
|
38298
38303
|
"group": "component (internal)",
|
|
38299
38304
|
"scopes": ["borderColor", "effectColor"]
|
|
38305
|
+
},
|
|
38306
|
+
"org.primer.llm": {
|
|
38307
|
+
"usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
|
|
38308
|
+
"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
38309
|
}
|
|
38301
38310
|
},
|
|
38302
38311
|
"key": "{focus.outlineColor}"
|
|
@@ -38305,7 +38314,8 @@
|
|
|
38305
38314
|
"attributes": {},
|
|
38306
38315
|
"path": ["focus", "outlineColor"],
|
|
38307
38316
|
"value": "#6cb6ff",
|
|
38308
|
-
"type": "color"
|
|
38317
|
+
"type": "color",
|
|
38318
|
+
"description": "Outline color for focus states on interactive elements"
|
|
38309
38319
|
},
|
|
38310
38320
|
"header-bgColor": {
|
|
38311
38321
|
"key": "{header.bgColor}",
|
|
@@ -47366,6 +47376,10 @@
|
|
|
47366
47376
|
"isSource": true,
|
|
47367
47377
|
"$type": "color"
|
|
47368
47378
|
}
|
|
47379
|
+
},
|
|
47380
|
+
"org.primer.llm": {
|
|
47381
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47382
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47369
47383
|
}
|
|
47370
47384
|
},
|
|
47371
47385
|
"alpha": 0.7,
|
|
@@ -47374,6 +47388,7 @@
|
|
|
47374
47388
|
"original": {
|
|
47375
47389
|
"$value": "{bgColor.accent.emphasis}",
|
|
47376
47390
|
"$type": "color",
|
|
47391
|
+
"$description": "Background color for text selection highlights",
|
|
47377
47392
|
"$extensions": {
|
|
47378
47393
|
"org.primer.figma": {
|
|
47379
47394
|
"collection": "mode",
|
|
@@ -47388,6 +47403,10 @@
|
|
|
47388
47403
|
"isSource": true,
|
|
47389
47404
|
"$type": "color"
|
|
47390
47405
|
}
|
|
47406
|
+
},
|
|
47407
|
+
"org.primer.llm": {
|
|
47408
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47409
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47391
47410
|
}
|
|
47392
47411
|
},
|
|
47393
47412
|
"alpha": 0.7,
|
|
@@ -47397,7 +47416,8 @@
|
|
|
47397
47416
|
"attributes": {},
|
|
47398
47417
|
"path": ["selection", "bgColor"],
|
|
47399
47418
|
"value": "#1b4b91b3",
|
|
47400
|
-
"type": "color"
|
|
47419
|
+
"type": "color",
|
|
47420
|
+
"description": "Background color for text selection highlights"
|
|
47401
47421
|
},
|
|
47402
47422
|
"shadow-floating-large": {
|
|
47403
47423
|
"key": "{shadow.floating.large}",
|
|
@@ -38285,6 +38285,10 @@
|
|
|
38285
38285
|
"collection": "mode",
|
|
38286
38286
|
"group": "component (internal)",
|
|
38287
38287
|
"scopes": ["borderColor", "effectColor"]
|
|
38288
|
+
},
|
|
38289
|
+
"org.primer.llm": {
|
|
38290
|
+
"usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
|
|
38291
|
+
"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."
|
|
38288
38292
|
}
|
|
38289
38293
|
},
|
|
38290
38294
|
"filePath": "src/tokens/functional/color/focus.json5",
|
|
@@ -38292,11 +38296,16 @@
|
|
|
38292
38296
|
"original": {
|
|
38293
38297
|
"$value": "{borderColor.accent.emphasis}",
|
|
38294
38298
|
"$type": "color",
|
|
38299
|
+
"$description": "Outline color for focus states on interactive elements",
|
|
38295
38300
|
"$extensions": {
|
|
38296
38301
|
"org.primer.figma": {
|
|
38297
38302
|
"collection": "mode",
|
|
38298
38303
|
"group": "component (internal)",
|
|
38299
38304
|
"scopes": ["borderColor", "effectColor"]
|
|
38305
|
+
},
|
|
38306
|
+
"org.primer.llm": {
|
|
38307
|
+
"usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
|
|
38308
|
+
"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
38309
|
}
|
|
38301
38310
|
},
|
|
38302
38311
|
"key": "{focus.outlineColor}"
|
|
@@ -38305,7 +38314,8 @@
|
|
|
38305
38314
|
"attributes": {},
|
|
38306
38315
|
"path": ["focus", "outlineColor"],
|
|
38307
38316
|
"value": "#316dca",
|
|
38308
|
-
"type": "color"
|
|
38317
|
+
"type": "color",
|
|
38318
|
+
"description": "Outline color for focus states on interactive elements"
|
|
38309
38319
|
},
|
|
38310
38320
|
"header-bgColor": {
|
|
38311
38321
|
"key": "{header.bgColor}",
|
|
@@ -47366,6 +47376,10 @@
|
|
|
47366
47376
|
"isSource": true,
|
|
47367
47377
|
"$type": "color"
|
|
47368
47378
|
}
|
|
47379
|
+
},
|
|
47380
|
+
"org.primer.llm": {
|
|
47381
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47382
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47369
47383
|
}
|
|
47370
47384
|
},
|
|
47371
47385
|
"alpha": 0.7,
|
|
@@ -47374,6 +47388,7 @@
|
|
|
47374
47388
|
"original": {
|
|
47375
47389
|
"$value": "{bgColor.accent.emphasis}",
|
|
47376
47390
|
"$type": "color",
|
|
47391
|
+
"$description": "Background color for text selection highlights",
|
|
47377
47392
|
"$extensions": {
|
|
47378
47393
|
"org.primer.figma": {
|
|
47379
47394
|
"collection": "mode",
|
|
@@ -47388,6 +47403,10 @@
|
|
|
47388
47403
|
"isSource": true,
|
|
47389
47404
|
"$type": "color"
|
|
47390
47405
|
}
|
|
47406
|
+
},
|
|
47407
|
+
"org.primer.llm": {
|
|
47408
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47409
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47391
47410
|
}
|
|
47392
47411
|
},
|
|
47393
47412
|
"alpha": 0.7,
|
|
@@ -47397,7 +47416,8 @@
|
|
|
47397
47416
|
"attributes": {},
|
|
47398
47417
|
"path": ["selection", "bgColor"],
|
|
47399
47418
|
"value": "#316dcab3",
|
|
47400
|
-
"type": "color"
|
|
47419
|
+
"type": "color",
|
|
47420
|
+
"description": "Background color for text selection highlights"
|
|
47401
47421
|
},
|
|
47402
47422
|
"shadow-floating-large": {
|
|
47403
47423
|
"key": "{shadow.floating.large}",
|
|
@@ -38291,6 +38291,10 @@
|
|
|
38291
38291
|
"collection": "mode",
|
|
38292
38292
|
"group": "component (internal)",
|
|
38293
38293
|
"scopes": ["borderColor", "effectColor"]
|
|
38294
|
+
},
|
|
38295
|
+
"org.primer.llm": {
|
|
38296
|
+
"usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
|
|
38297
|
+
"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."
|
|
38294
38298
|
}
|
|
38295
38299
|
},
|
|
38296
38300
|
"filePath": "src/tokens/functional/color/focus.json5",
|
|
@@ -38298,11 +38302,16 @@
|
|
|
38298
38302
|
"original": {
|
|
38299
38303
|
"$value": "{borderColor.accent.emphasis}",
|
|
38300
38304
|
"$type": "color",
|
|
38305
|
+
"$description": "Outline color for focus states on interactive elements",
|
|
38301
38306
|
"$extensions": {
|
|
38302
38307
|
"org.primer.figma": {
|
|
38303
38308
|
"collection": "mode",
|
|
38304
38309
|
"group": "component (internal)",
|
|
38305
38310
|
"scopes": ["borderColor", "effectColor"]
|
|
38311
|
+
},
|
|
38312
|
+
"org.primer.llm": {
|
|
38313
|
+
"usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
|
|
38314
|
+
"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."
|
|
38306
38315
|
}
|
|
38307
38316
|
},
|
|
38308
38317
|
"key": "{focus.outlineColor}"
|
|
@@ -38311,7 +38320,8 @@
|
|
|
38311
38320
|
"attributes": {},
|
|
38312
38321
|
"path": ["focus", "outlineColor"],
|
|
38313
38322
|
"value": "#409eff",
|
|
38314
|
-
"type": "color"
|
|
38323
|
+
"type": "color",
|
|
38324
|
+
"description": "Outline color for focus states on interactive elements"
|
|
38315
38325
|
},
|
|
38316
38326
|
"header-bgColor": {
|
|
38317
38327
|
"key": "{header.bgColor}",
|
|
@@ -47372,6 +47382,10 @@
|
|
|
47372
47382
|
"isSource": true,
|
|
47373
47383
|
"$type": "color"
|
|
47374
47384
|
}
|
|
47385
|
+
},
|
|
47386
|
+
"org.primer.llm": {
|
|
47387
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47388
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47375
47389
|
}
|
|
47376
47390
|
},
|
|
47377
47391
|
"alpha": 0.7,
|
|
@@ -47380,6 +47394,7 @@
|
|
|
47380
47394
|
"original": {
|
|
47381
47395
|
"$value": "{bgColor.accent.emphasis}",
|
|
47382
47396
|
"$type": "color",
|
|
47397
|
+
"$description": "Background color for text selection highlights",
|
|
47383
47398
|
"$extensions": {
|
|
47384
47399
|
"org.primer.figma": {
|
|
47385
47400
|
"collection": "mode",
|
|
@@ -47394,6 +47409,10 @@
|
|
|
47394
47409
|
"isSource": true,
|
|
47395
47410
|
"$type": "color"
|
|
47396
47411
|
}
|
|
47412
|
+
},
|
|
47413
|
+
"org.primer.llm": {
|
|
47414
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47415
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47397
47416
|
}
|
|
47398
47417
|
},
|
|
47399
47418
|
"alpha": 0.7,
|
|
@@ -47403,7 +47422,8 @@
|
|
|
47403
47422
|
"attributes": {},
|
|
47404
47423
|
"path": ["selection", "bgColor"],
|
|
47405
47424
|
"value": "#194fb1b3",
|
|
47406
|
-
"type": "color"
|
|
47425
|
+
"type": "color",
|
|
47426
|
+
"description": "Background color for text selection highlights"
|
|
47407
47427
|
},
|
|
47408
47428
|
"shadow-floating-large": {
|
|
47409
47429
|
"key": "{shadow.floating.large}",
|
|
@@ -38291,6 +38291,10 @@
|
|
|
38291
38291
|
"collection": "mode",
|
|
38292
38292
|
"group": "component (internal)",
|
|
38293
38293
|
"scopes": ["borderColor", "effectColor"]
|
|
38294
|
+
},
|
|
38295
|
+
"org.primer.llm": {
|
|
38296
|
+
"usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
|
|
38297
|
+
"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."
|
|
38294
38298
|
}
|
|
38295
38299
|
},
|
|
38296
38300
|
"filePath": "src/tokens/functional/color/focus.json5",
|
|
@@ -38298,11 +38302,16 @@
|
|
|
38298
38302
|
"original": {
|
|
38299
38303
|
"$value": "{borderColor.accent.emphasis}",
|
|
38300
38304
|
"$type": "color",
|
|
38305
|
+
"$description": "Outline color for focus states on interactive elements",
|
|
38301
38306
|
"$extensions": {
|
|
38302
38307
|
"org.primer.figma": {
|
|
38303
38308
|
"collection": "mode",
|
|
38304
38309
|
"group": "component (internal)",
|
|
38305
38310
|
"scopes": ["borderColor", "effectColor"]
|
|
38311
|
+
},
|
|
38312
|
+
"org.primer.llm": {
|
|
38313
|
+
"usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
|
|
38314
|
+
"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."
|
|
38306
38315
|
}
|
|
38307
38316
|
},
|
|
38308
38317
|
"key": "{focus.outlineColor}"
|
|
@@ -38311,7 +38320,8 @@
|
|
|
38311
38320
|
"attributes": {},
|
|
38312
38321
|
"path": ["focus", "outlineColor"],
|
|
38313
38322
|
"value": "#409eff",
|
|
38314
|
-
"type": "color"
|
|
38323
|
+
"type": "color",
|
|
38324
|
+
"description": "Outline color for focus states on interactive elements"
|
|
38315
38325
|
},
|
|
38316
38326
|
"header-bgColor": {
|
|
38317
38327
|
"key": "{header.bgColor}",
|
|
@@ -47372,6 +47382,10 @@
|
|
|
47372
47382
|
"isSource": true,
|
|
47373
47383
|
"$type": "color"
|
|
47374
47384
|
}
|
|
47385
|
+
},
|
|
47386
|
+
"org.primer.llm": {
|
|
47387
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47388
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47375
47389
|
}
|
|
47376
47390
|
},
|
|
47377
47391
|
"alpha": 0.7,
|
|
@@ -47380,6 +47394,7 @@
|
|
|
47380
47394
|
"original": {
|
|
47381
47395
|
"$value": "{bgColor.accent.emphasis}",
|
|
47382
47396
|
"$type": "color",
|
|
47397
|
+
"$description": "Background color for text selection highlights",
|
|
47383
47398
|
"$extensions": {
|
|
47384
47399
|
"org.primer.figma": {
|
|
47385
47400
|
"collection": "mode",
|
|
@@ -47394,6 +47409,10 @@
|
|
|
47394
47409
|
"isSource": true,
|
|
47395
47410
|
"$type": "color"
|
|
47396
47411
|
}
|
|
47412
|
+
},
|
|
47413
|
+
"org.primer.llm": {
|
|
47414
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47415
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47397
47416
|
}
|
|
47398
47417
|
},
|
|
47399
47418
|
"alpha": 0.7,
|
|
@@ -47403,7 +47422,8 @@
|
|
|
47403
47422
|
"attributes": {},
|
|
47404
47423
|
"path": ["selection", "bgColor"],
|
|
47405
47424
|
"value": "#194fb1b3",
|
|
47406
|
-
"type": "color"
|
|
47425
|
+
"type": "color",
|
|
47426
|
+
"description": "Background color for text selection highlights"
|
|
47407
47427
|
},
|
|
47408
47428
|
"shadow-floating-large": {
|
|
47409
47429
|
"key": "{shadow.floating.large}",
|
|
@@ -38293,6 +38293,10 @@
|
|
|
38293
38293
|
"collection": "mode",
|
|
38294
38294
|
"group": "component (internal)",
|
|
38295
38295
|
"scopes": ["borderColor", "effectColor"]
|
|
38296
|
+
},
|
|
38297
|
+
"org.primer.llm": {
|
|
38298
|
+
"usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
|
|
38299
|
+
"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
38300
|
}
|
|
38297
38301
|
},
|
|
38298
38302
|
"filePath": "src/tokens/functional/color/focus.json5",
|
|
@@ -38300,11 +38304,16 @@
|
|
|
38300
38304
|
"original": {
|
|
38301
38305
|
"$value": "{borderColor.accent.emphasis}",
|
|
38302
38306
|
"$type": "color",
|
|
38307
|
+
"$description": "Outline color for focus states on interactive elements",
|
|
38303
38308
|
"$extensions": {
|
|
38304
38309
|
"org.primer.figma": {
|
|
38305
38310
|
"collection": "mode",
|
|
38306
38311
|
"group": "component (internal)",
|
|
38307
38312
|
"scopes": ["borderColor", "effectColor"]
|
|
38313
|
+
},
|
|
38314
|
+
"org.primer.llm": {
|
|
38315
|
+
"usage": ["focus-ring", "keyboard-navigation", "accessibility-indicator"],
|
|
38316
|
+
"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
38317
|
}
|
|
38309
38318
|
},
|
|
38310
38319
|
"key": "{focus.outlineColor}"
|
|
@@ -38313,7 +38322,8 @@
|
|
|
38313
38322
|
"attributes": {},
|
|
38314
38323
|
"path": ["focus", "outlineColor"],
|
|
38315
38324
|
"value": "#1f6feb",
|
|
38316
|
-
"type": "color"
|
|
38325
|
+
"type": "color",
|
|
38326
|
+
"description": "Outline color for focus states on interactive elements"
|
|
38317
38327
|
},
|
|
38318
38328
|
"header-bgColor": {
|
|
38319
38329
|
"key": "{header.bgColor}",
|
|
@@ -47374,6 +47384,10 @@
|
|
|
47374
47384
|
"isSource": true,
|
|
47375
47385
|
"$type": "color"
|
|
47376
47386
|
}
|
|
47387
|
+
},
|
|
47388
|
+
"org.primer.llm": {
|
|
47389
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47390
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47377
47391
|
}
|
|
47378
47392
|
},
|
|
47379
47393
|
"alpha": 0.7,
|
|
@@ -47382,6 +47396,7 @@
|
|
|
47382
47396
|
"original": {
|
|
47383
47397
|
"$value": "{bgColor.accent.emphasis}",
|
|
47384
47398
|
"$type": "color",
|
|
47399
|
+
"$description": "Background color for text selection highlights",
|
|
47385
47400
|
"$extensions": {
|
|
47386
47401
|
"org.primer.figma": {
|
|
47387
47402
|
"collection": "mode",
|
|
@@ -47396,6 +47411,10 @@
|
|
|
47396
47411
|
"isSource": true,
|
|
47397
47412
|
"$type": "color"
|
|
47398
47413
|
}
|
|
47414
|
+
},
|
|
47415
|
+
"org.primer.llm": {
|
|
47416
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47417
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47399
47418
|
}
|
|
47400
47419
|
},
|
|
47401
47420
|
"alpha": 0.7,
|
|
@@ -47405,7 +47424,8 @@
|
|
|
47405
47424
|
"attributes": {},
|
|
47406
47425
|
"path": ["selection", "bgColor"],
|
|
47407
47426
|
"value": "#1f6febb3",
|
|
47408
|
-
"type": "color"
|
|
47427
|
+
"type": "color",
|
|
47428
|
+
"description": "Background color for text selection highlights"
|
|
47409
47429
|
},
|
|
47410
47430
|
"shadow-floating-large": {
|
|
47411
47431
|
"key": "{shadow.floating.large}",
|
|
@@ -38281,6 +38281,10 @@
|
|
|
38281
38281
|
"collection": "mode",
|
|
38282
38282
|
"group": "component (internal)",
|
|
38283
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."
|
|
38284
38288
|
}
|
|
38285
38289
|
},
|
|
38286
38290
|
"filePath": "src/tokens/functional/color/focus.json5",
|
|
@@ -38288,11 +38292,16 @@
|
|
|
38288
38292
|
"original": {
|
|
38289
38293
|
"$value": "{borderColor.accent.emphasis}",
|
|
38290
38294
|
"$type": "color",
|
|
38295
|
+
"$description": "Outline color for focus states on interactive elements",
|
|
38291
38296
|
"$extensions": {
|
|
38292
38297
|
"org.primer.figma": {
|
|
38293
38298
|
"collection": "mode",
|
|
38294
38299
|
"group": "component (internal)",
|
|
38295
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."
|
|
38296
38305
|
}
|
|
38297
38306
|
},
|
|
38298
38307
|
"key": "{focus.outlineColor}"
|
|
@@ -38301,7 +38310,8 @@
|
|
|
38301
38310
|
"attributes": {},
|
|
38302
38311
|
"path": ["focus", "outlineColor"],
|
|
38303
38312
|
"value": "#1f6feb",
|
|
38304
|
-
"type": "color"
|
|
38313
|
+
"type": "color",
|
|
38314
|
+
"description": "Outline color for focus states on interactive elements"
|
|
38305
38315
|
},
|
|
38306
38316
|
"header-bgColor": {
|
|
38307
38317
|
"key": "{header.bgColor}",
|
|
@@ -47362,6 +47372,10 @@
|
|
|
47362
47372
|
"isSource": true,
|
|
47363
47373
|
"$type": "color"
|
|
47364
47374
|
}
|
|
47375
|
+
},
|
|
47376
|
+
"org.primer.llm": {
|
|
47377
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47378
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47365
47379
|
}
|
|
47366
47380
|
},
|
|
47367
47381
|
"alpha": 0.7,
|
|
@@ -47370,6 +47384,7 @@
|
|
|
47370
47384
|
"original": {
|
|
47371
47385
|
"$value": "{bgColor.accent.emphasis}",
|
|
47372
47386
|
"$type": "color",
|
|
47387
|
+
"$description": "Background color for text selection highlights",
|
|
47373
47388
|
"$extensions": {
|
|
47374
47389
|
"org.primer.figma": {
|
|
47375
47390
|
"collection": "mode",
|
|
@@ -47384,6 +47399,10 @@
|
|
|
47384
47399
|
"isSource": true,
|
|
47385
47400
|
"$type": "color"
|
|
47386
47401
|
}
|
|
47402
|
+
},
|
|
47403
|
+
"org.primer.llm": {
|
|
47404
|
+
"usage": ["text-selection", "highlighted-text", "selected-content"],
|
|
47405
|
+
"rules": "Use for native text selection (::selection) and programmatic text highlighting. Do NOT use for general emphasis or background colors on containers."
|
|
47387
47406
|
}
|
|
47388
47407
|
},
|
|
47389
47408
|
"alpha": 0.7,
|
|
@@ -47393,7 +47412,8 @@
|
|
|
47393
47412
|
"attributes": {},
|
|
47394
47413
|
"path": ["selection", "bgColor"],
|
|
47395
47414
|
"value": "#1f6febb3",
|
|
47396
|
-
"type": "color"
|
|
47415
|
+
"type": "color",
|
|
47416
|
+
"description": "Background color for text selection highlights"
|
|
47397
47417
|
},
|
|
47398
47418
|
"shadow-floating-large": {
|
|
47399
47419
|
"key": "{shadow.floating.large}",
|