@primer/primitives 10.0.0-rc.4782a992 → 10.0.0-rc.4b3d8b21

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 (56) hide show
  1. package/dist/build/PrimerStyleDictionary.js +2 -1
  2. package/dist/build/filters/isCubicBezier.d.ts +7 -0
  3. package/dist/build/filters/isCubicBezier.js +10 -0
  4. package/dist/build/platforms/css.js +1 -0
  5. package/dist/build/transformers/cubicBezierToCss.d.ts +8 -0
  6. package/dist/build/transformers/cubicBezierToCss.js +23 -0
  7. package/dist/build/transformers/index.d.ts +1 -0
  8. package/dist/build/transformers/index.js +1 -0
  9. package/dist/css/functional/themes/dark-colorblind.css +2 -0
  10. package/dist/css/functional/themes/dark-dimmed.css +2 -0
  11. package/dist/css/functional/themes/dark-high-contrast.css +2 -0
  12. package/dist/css/functional/themes/dark-tritanopia.css +2 -0
  13. package/dist/css/functional/themes/dark.css +2 -0
  14. package/dist/css/functional/themes/light-colorblind.css +2 -0
  15. package/dist/css/functional/themes/light-high-contrast.css +2 -0
  16. package/dist/css/functional/themes/light-tritanopia.css +2 -0
  17. package/dist/css/functional/themes/light.css +2 -0
  18. package/dist/docs/functional/themes/dark-colorblind.json +29 -0
  19. package/dist/docs/functional/themes/dark-dimmed.json +29 -0
  20. package/dist/docs/functional/themes/dark-high-contrast.json +29 -0
  21. package/dist/docs/functional/themes/dark-tritanopia.json +29 -0
  22. package/dist/docs/functional/themes/dark.json +29 -0
  23. package/dist/docs/functional/themes/light-colorblind.json +29 -0
  24. package/dist/docs/functional/themes/light-high-contrast.json +29 -0
  25. package/dist/docs/functional/themes/light-tritanopia.json +29 -0
  26. package/dist/docs/functional/themes/light.json +29 -0
  27. package/dist/figma/themes/dark-colorblind.json +16 -0
  28. package/dist/figma/themes/dark-dimmed.json +16 -0
  29. package/dist/figma/themes/dark-high-contrast.json +16 -0
  30. package/dist/figma/themes/dark-tritanopia.json +16 -0
  31. package/dist/figma/themes/dark.json +16 -0
  32. package/dist/figma/themes/light-colorblind.json +16 -0
  33. package/dist/figma/themes/light-high-contrast.json +16 -0
  34. package/dist/figma/themes/light-tritanopia.json +16 -0
  35. package/dist/figma/themes/light.json +16 -0
  36. package/dist/internalCss/dark-colorblind.css +2 -0
  37. package/dist/internalCss/dark-dimmed.css +2 -0
  38. package/dist/internalCss/dark-high-contrast.css +2 -0
  39. package/dist/internalCss/dark-tritanopia.css +2 -0
  40. package/dist/internalCss/dark.css +2 -0
  41. package/dist/internalCss/light-colorblind.css +2 -0
  42. package/dist/internalCss/light-high-contrast.css +2 -0
  43. package/dist/internalCss/light-tritanopia.css +2 -0
  44. package/dist/internalCss/light.css +2 -0
  45. package/dist/styleLint/functional/themes/dark-colorblind.json +29 -0
  46. package/dist/styleLint/functional/themes/dark-dimmed.json +29 -0
  47. package/dist/styleLint/functional/themes/dark-high-contrast.json +29 -0
  48. package/dist/styleLint/functional/themes/dark-tritanopia.json +29 -0
  49. package/dist/styleLint/functional/themes/dark.json +29 -0
  50. package/dist/styleLint/functional/themes/light-colorblind.json +29 -0
  51. package/dist/styleLint/functional/themes/light-high-contrast.json +29 -0
  52. package/dist/styleLint/functional/themes/light-tritanopia.json +29 -0
  53. package/dist/styleLint/functional/themes/light.json +29 -0
  54. package/package.json +1 -1
  55. package/src/tokens/functional/color/dark/patterns-dark.json5 +12 -0
  56. package/src/tokens/functional/color/light/patterns-light.json5 +13 -1
@@ -1,5 +1,5 @@
1
1
  import StyleDictionary from 'style-dictionary';
2
- import { borderToCss, colorToRgbAlpha, colorToHex, colorToHexMix, colorToRgbaFloat, dimensionToRem, dimensionToPixelUnitless, durationToCss, figmaAttributes, fontFamilyToCss, fontFamilyToFigma, fontWeightToNumber, jsonDeprecated, namePathToDotNotation, namePathToCamelCase, namePathToPascalCase, namePathToKebabCase, namePathToSlashNotation, namePathToFigma, shadowToCss, typographyToCss, dimensionToRemPxArray, floatToPixel, floatToPixelUnitless, } from './transformers/index.js';
2
+ import { borderToCss, colorToRgbAlpha, colorToHex, colorToHexMix, colorToRgbaFloat, cubicBezierToCss, dimensionToRem, dimensionToPixelUnitless, durationToCss, figmaAttributes, fontFamilyToCss, fontFamilyToFigma, fontWeightToNumber, jsonDeprecated, namePathToDotNotation, namePathToCamelCase, namePathToPascalCase, namePathToKebabCase, namePathToSlashNotation, namePathToFigma, shadowToCss, typographyToCss, dimensionToRemPxArray, floatToPixel, floatToPixelUnitless, } from './transformers/index.js';
3
3
  import { javascriptCommonJs, javascriptEsm, typescriptExportDefinition, jsonNestedPrefixed, cssCustomMedia, jsonOneDimensional, jsonPostCssFallback, cssAdvanced, jsonFigma, } from './formats/index.js';
4
4
  /**
5
5
  * @name {@link PrimerStyleDictionary}
@@ -56,6 +56,7 @@ PrimerStyleDictionary.registerTransform(Object.assign({}, colorToRgbAlpha));
56
56
  PrimerStyleDictionary.registerTransform(Object.assign({}, colorToRgbaFloat));
57
57
  PrimerStyleDictionary.registerTransform(Object.assign({}, colorToHexMix));
58
58
  PrimerStyleDictionary.registerTransform(Object.assign({}, colorToHex));
59
+ PrimerStyleDictionary.registerTransform(Object.assign({}, cubicBezierToCss));
59
60
  PrimerStyleDictionary.registerTransform(Object.assign({}, floatToPixel));
60
61
  PrimerStyleDictionary.registerTransform(Object.assign({}, floatToPixelUnitless));
61
62
  PrimerStyleDictionary.registerTransform(Object.assign({}, dimensionToRem));
@@ -0,0 +1,7 @@
1
+ import type { TransformedToken } from 'style-dictionary/types';
2
+ /**
3
+ * @description Checks if token is of $type `cubicBezier`
4
+ * @param token [TransformedToken](https://github.com/amzn/style-dictionary/blob/main/types/TransformedToken.d.ts)
5
+ * @returns boolean
6
+ */
7
+ export declare const isCubicBezier: (token: TransformedToken) => boolean;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @description Checks if token is of $type `cubicBezier`
3
+ * @param token [TransformedToken](https://github.com/amzn/style-dictionary/blob/main/types/TransformedToken.d.ts)
4
+ * @returns boolean
5
+ */
6
+ export const isCubicBezier = (token) => {
7
+ var _a;
8
+ const typeValue = (_a = token.$type) !== null && _a !== void 0 ? _a : token.type;
9
+ return typeValue === 'cubicBezier';
10
+ };
@@ -23,6 +23,7 @@ export const css = (outputFile, prefix, buildPath, options) => {
23
23
  'name/pathToKebabCase',
24
24
  'color/hex',
25
25
  'color/hexMix',
26
+ 'cubicBezier/css',
26
27
  'dimension/rem',
27
28
  'duration/css',
28
29
  'shadow/css',
@@ -0,0 +1,8 @@
1
+ import type { Transform } from 'style-dictionary/types';
2
+ /**
3
+ * @description converts cubicBezeir tokens array value to a css cubic-bezier
4
+ * @type value transformer — [StyleDictionary.ValueTransform](https://github.com/amzn/style-dictionary/blob/main/types/Transform.d.ts)
5
+ * @matcher matches all tokens of $type `duration`
6
+ * @transformer returns a css cubic-bezier function
7
+ */
8
+ export declare const cubicBezierToCss: Transform;
@@ -0,0 +1,23 @@
1
+ import { isCubicBezier } from '../filters/isCubicBezier.js';
2
+ /**
3
+ * @description converts cubicBezeir tokens array value to a css cubic-bezier
4
+ * @type value transformer — [StyleDictionary.ValueTransform](https://github.com/amzn/style-dictionary/blob/main/types/Transform.d.ts)
5
+ * @matcher matches all tokens of $type `duration`
6
+ * @transformer returns a css cubic-bezier function
7
+ */
8
+ export const cubicBezierToCss = {
9
+ name: 'cubicBezeir/css',
10
+ type: 'value',
11
+ transitive: true,
12
+ filter: isCubicBezier,
13
+ transform: (token, _config) => {
14
+ var _a;
15
+ const value = (_a = token.$value) !== null && _a !== void 0 ? _a : token.value;
16
+ // throw value of more or less than 4 items in array
17
+ if (value.length !== 4 || value.some((item) => typeof item !== 'number')) {
18
+ throw new Error(`Invalid cubicBezier token ${token.path.join('.')}, must be an array with 4 numbers, but got this instead: ${JSON.stringify(value)}`);
19
+ }
20
+ // return value
21
+ return `cubic-bezier(${value.join(',')})`;
22
+ },
23
+ };
@@ -3,6 +3,7 @@ export { colorToHex } from './colorToHex.js';
3
3
  export { colorToHexMix } from './colorToHexMix.js';
4
4
  export { colorToRgbAlpha } from './colorToRgbAlpha.js';
5
5
  export { colorToRgbaFloat } from './colorToRgbaFloat.js';
6
+ export { cubicBezierToCss } from './cubicBezierToCss.js';
6
7
  export { floatToPixel } from './floatToPixel.js';
7
8
  export { floatToPixelUnitless } from './floatToPixel.js';
8
9
  export { dimensionToRem } from './dimensionToRem.js';
@@ -3,6 +3,7 @@ export { colorToHex } from './colorToHex.js';
3
3
  export { colorToHexMix } from './colorToHexMix.js';
4
4
  export { colorToRgbAlpha } from './colorToRgbAlpha.js';
5
5
  export { colorToRgbaFloat } from './colorToRgbaFloat.js';
6
+ export { cubicBezierToCss } from './cubicBezierToCss.js';
6
7
  export { floatToPixel } from './floatToPixel.js';
7
8
  export { floatToPixelUnitless } from './floatToPixel.js';
8
9
  export { dimensionToRem } from './dimensionToRem.js';
@@ -251,6 +251,7 @@
251
251
  --button-primary-shadow-selected: 0px 0px 0px 0px #000000;
252
252
  --button-invisible-fgColor-rest: #f0f6fc;
253
253
  --button-invisible-fgColor-hover: #f0f6fc;
254
+ --button-invisible-fgColor-active: #f0f6fc;
254
255
  --button-invisible-fgColor-disabled: #656c7699;
255
256
  --button-invisible-iconColor-rest: #9198a1;
256
257
  --button-invisible-iconColor-hover: #9198a1;
@@ -829,6 +830,7 @@
829
830
  --button-primary-shadow-selected: 0px 0px 0px 0px #000000;
830
831
  --button-invisible-fgColor-rest: #f0f6fc;
831
832
  --button-invisible-fgColor-hover: #f0f6fc;
833
+ --button-invisible-fgColor-active: #f0f6fc;
832
834
  --button-invisible-fgColor-disabled: #656c7699;
833
835
  --button-invisible-iconColor-rest: #9198a1;
834
836
  --button-invisible-iconColor-hover: #9198a1;
@@ -251,6 +251,7 @@
251
251
  --button-primary-shadow-selected: 0px 0px 0px 0px #000000;
252
252
  --button-invisible-fgColor-rest: #d1d7e0;
253
253
  --button-invisible-fgColor-hover: #d1d7e0;
254
+ --button-invisible-fgColor-active: #d1d7e0;
254
255
  --button-invisible-fgColor-disabled: #656c76;
255
256
  --button-invisible-iconColor-rest: #b7bdc8;
256
257
  --button-invisible-iconColor-hover: #b7bdc8;
@@ -829,6 +830,7 @@
829
830
  --button-primary-shadow-selected: 0px 0px 0px 0px #000000;
830
831
  --button-invisible-fgColor-rest: #d1d7e0;
831
832
  --button-invisible-fgColor-hover: #d1d7e0;
833
+ --button-invisible-fgColor-active: #d1d7e0;
832
834
  --button-invisible-fgColor-disabled: #656c76;
833
835
  --button-invisible-iconColor-rest: #b7bdc8;
834
836
  --button-invisible-iconColor-hover: #b7bdc8;
@@ -251,6 +251,7 @@
251
251
  --button-primary-shadow-selected: 0px 0px 0px 0px #000000;
252
252
  --button-invisible-fgColor-rest: #ffffff;
253
253
  --button-invisible-fgColor-hover: #ffffff;
254
+ --button-invisible-fgColor-active: #ffffff;
254
255
  --button-invisible-fgColor-disabled: #656c76;
255
256
  --button-invisible-iconColor-rest: #d1d7e0;
256
257
  --button-invisible-iconColor-hover: #d1d7e0;
@@ -829,6 +830,7 @@
829
830
  --button-primary-shadow-selected: 0px 0px 0px 0px #000000;
830
831
  --button-invisible-fgColor-rest: #ffffff;
831
832
  --button-invisible-fgColor-hover: #ffffff;
833
+ --button-invisible-fgColor-active: #ffffff;
832
834
  --button-invisible-fgColor-disabled: #656c76;
833
835
  --button-invisible-iconColor-rest: #d1d7e0;
834
836
  --button-invisible-iconColor-hover: #d1d7e0;
@@ -251,6 +251,7 @@
251
251
  --button-primary-shadow-selected: 0px 0px 0px 0px #000000;
252
252
  --button-invisible-fgColor-rest: #f0f6fc;
253
253
  --button-invisible-fgColor-hover: #f0f6fc;
254
+ --button-invisible-fgColor-active: #f0f6fc;
254
255
  --button-invisible-fgColor-disabled: #656c7699;
255
256
  --button-invisible-iconColor-rest: #9198a1;
256
257
  --button-invisible-iconColor-hover: #9198a1;
@@ -829,6 +830,7 @@
829
830
  --button-primary-shadow-selected: 0px 0px 0px 0px #000000;
830
831
  --button-invisible-fgColor-rest: #f0f6fc;
831
832
  --button-invisible-fgColor-hover: #f0f6fc;
833
+ --button-invisible-fgColor-active: #f0f6fc;
832
834
  --button-invisible-fgColor-disabled: #656c7699;
833
835
  --button-invisible-iconColor-rest: #9198a1;
834
836
  --button-invisible-iconColor-hover: #9198a1;
@@ -251,6 +251,7 @@
251
251
  --button-primary-shadow-selected: 0px 0px 0px 0px #000000;
252
252
  --button-invisible-fgColor-rest: #f0f6fc;
253
253
  --button-invisible-fgColor-hover: #f0f6fc;
254
+ --button-invisible-fgColor-active: #f0f6fc;
254
255
  --button-invisible-fgColor-disabled: #656c7699;
255
256
  --button-invisible-iconColor-rest: #9198a1;
256
257
  --button-invisible-iconColor-hover: #9198a1;
@@ -829,6 +830,7 @@
829
830
  --button-primary-shadow-selected: 0px 0px 0px 0px #000000;
830
831
  --button-invisible-fgColor-rest: #f0f6fc;
831
832
  --button-invisible-fgColor-hover: #f0f6fc;
833
+ --button-invisible-fgColor-active: #f0f6fc;
832
834
  --button-invisible-fgColor-disabled: #656c7699;
833
835
  --button-invisible-iconColor-rest: #9198a1;
834
836
  --button-invisible-iconColor-hover: #9198a1;
@@ -251,6 +251,7 @@
251
251
  --button-primary-shadow-selected: inset 0px 1px 0px 0px #0021554d;
252
252
  --button-invisible-fgColor-rest: #25292e;
253
253
  --button-invisible-fgColor-hover: #25292e;
254
+ --button-invisible-fgColor-active: #25292e;
254
255
  --button-invisible-fgColor-disabled: #818b98;
255
256
  --button-invisible-iconColor-rest: #59636e;
256
257
  --button-invisible-iconColor-hover: #59636e;
@@ -829,6 +830,7 @@
829
830
  --button-primary-shadow-selected: inset 0px 1px 0px 0px #0021554d;
830
831
  --button-invisible-fgColor-rest: #25292e;
831
832
  --button-invisible-fgColor-hover: #25292e;
833
+ --button-invisible-fgColor-active: #25292e;
832
834
  --button-invisible-fgColor-disabled: #818b98;
833
835
  --button-invisible-iconColor-rest: #59636e;
834
836
  --button-invisible-iconColor-hover: #59636e;
@@ -251,6 +251,7 @@
251
251
  --button-primary-shadow-selected: inset 0px 1px 0px 0px #00230b4d;
252
252
  --button-invisible-fgColor-rest: #25292e;
253
253
  --button-invisible-fgColor-hover: #393f46;
254
+ --button-invisible-fgColor-active: #25292e;
254
255
  --button-invisible-fgColor-disabled: #59636e;
255
256
  --button-invisible-iconColor-rest: #454c54;
256
257
  --button-invisible-iconColor-hover: #393f46;
@@ -829,6 +830,7 @@
829
830
  --button-primary-shadow-selected: inset 0px 1px 0px 0px #00230b4d;
830
831
  --button-invisible-fgColor-rest: #25292e;
831
832
  --button-invisible-fgColor-hover: #393f46;
833
+ --button-invisible-fgColor-active: #25292e;
832
834
  --button-invisible-fgColor-disabled: #59636e;
833
835
  --button-invisible-iconColor-rest: #454c54;
834
836
  --button-invisible-iconColor-hover: #393f46;
@@ -251,6 +251,7 @@
251
251
  --button-primary-shadow-selected: inset 0px 1px 0px 0px #0021554d;
252
252
  --button-invisible-fgColor-rest: #25292e;
253
253
  --button-invisible-fgColor-hover: #25292e;
254
+ --button-invisible-fgColor-active: #25292e;
254
255
  --button-invisible-fgColor-disabled: #818b98;
255
256
  --button-invisible-iconColor-rest: #59636e;
256
257
  --button-invisible-iconColor-hover: #59636e;
@@ -829,6 +830,7 @@
829
830
  --button-primary-shadow-selected: inset 0px 1px 0px 0px #0021554d;
830
831
  --button-invisible-fgColor-rest: #25292e;
831
832
  --button-invisible-fgColor-hover: #25292e;
833
+ --button-invisible-fgColor-active: #25292e;
832
834
  --button-invisible-fgColor-disabled: #818b98;
833
835
  --button-invisible-iconColor-rest: #59636e;
834
836
  --button-invisible-iconColor-hover: #59636e;
@@ -251,6 +251,7 @@
251
251
  --button-primary-shadow-selected: inset 0px 1px 0px 0px #002d114d;
252
252
  --button-invisible-fgColor-rest: #25292e;
253
253
  --button-invisible-fgColor-hover: #25292e;
254
+ --button-invisible-fgColor-active: #25292e;
254
255
  --button-invisible-fgColor-disabled: #818b98;
255
256
  --button-invisible-iconColor-rest: #59636e;
256
257
  --button-invisible-iconColor-hover: #59636e;
@@ -829,6 +830,7 @@
829
830
  --button-primary-shadow-selected: inset 0px 1px 0px 0px #002d114d;
830
831
  --button-invisible-fgColor-rest: #25292e;
831
832
  --button-invisible-fgColor-hover: #25292e;
833
+ --button-invisible-fgColor-active: #25292e;
832
834
  --button-invisible-fgColor-disabled: #818b98;
833
835
  --button-invisible-iconColor-rest: #59636e;
834
836
  --button-invisible-iconColor-hover: #59636e;
@@ -7113,6 +7113,35 @@
7113
7113
  "value": "#f0f6fc",
7114
7114
  "type": "color"
7115
7115
  },
7116
+ "button-invisible-fgColor-active": {
7117
+ "$extensions": {
7118
+ "org.primer.figma": {
7119
+ "collection": "mode",
7120
+ "mode": "dark",
7121
+ "group": "component (internal)",
7122
+ "scopes": ["fgColor"]
7123
+ }
7124
+ },
7125
+ "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7126
+ "isSource": true,
7127
+ "original": {
7128
+ "$value": "{control.fgColor.rest}",
7129
+ "$type": "color",
7130
+ "$extensions": {
7131
+ "org.primer.figma": {
7132
+ "collection": "mode",
7133
+ "mode": "dark",
7134
+ "group": "component (internal)",
7135
+ "scopes": ["fgColor"]
7136
+ }
7137
+ }
7138
+ },
7139
+ "name": "button-invisible-fgColor-active",
7140
+ "attributes": {},
7141
+ "path": ["button", "invisible", "fgColor", "active"],
7142
+ "value": "#f0f6fc",
7143
+ "type": "color"
7144
+ },
7116
7145
  "button-invisible-fgColor-disabled": {
7117
7146
  "$extensions": {
7118
7147
  "org.primer.figma": {
@@ -7109,6 +7109,35 @@
7109
7109
  "value": "#d1d7e0",
7110
7110
  "type": "color"
7111
7111
  },
7112
+ "button-invisible-fgColor-active": {
7113
+ "$extensions": {
7114
+ "org.primer.figma": {
7115
+ "collection": "mode",
7116
+ "mode": "dark",
7117
+ "group": "component (internal)",
7118
+ "scopes": ["fgColor"]
7119
+ }
7120
+ },
7121
+ "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7122
+ "isSource": true,
7123
+ "original": {
7124
+ "$value": "{control.fgColor.rest}",
7125
+ "$type": "color",
7126
+ "$extensions": {
7127
+ "org.primer.figma": {
7128
+ "collection": "mode",
7129
+ "mode": "dark",
7130
+ "group": "component (internal)",
7131
+ "scopes": ["fgColor"]
7132
+ }
7133
+ }
7134
+ },
7135
+ "name": "button-invisible-fgColor-active",
7136
+ "attributes": {},
7137
+ "path": ["button", "invisible", "fgColor", "active"],
7138
+ "value": "#d1d7e0",
7139
+ "type": "color"
7140
+ },
7112
7141
  "button-invisible-fgColor-disabled": {
7113
7142
  "$extensions": {
7114
7143
  "org.primer.figma": {
@@ -5837,6 +5837,35 @@
5837
5837
  "value": "#ffffff",
5838
5838
  "type": "color"
5839
5839
  },
5840
+ "button-invisible-fgColor-active": {
5841
+ "$extensions": {
5842
+ "org.primer.figma": {
5843
+ "collection": "mode",
5844
+ "mode": "dark",
5845
+ "group": "component (internal)",
5846
+ "scopes": ["fgColor"]
5847
+ }
5848
+ },
5849
+ "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
5850
+ "isSource": true,
5851
+ "original": {
5852
+ "$value": "{control.fgColor.rest}",
5853
+ "$type": "color",
5854
+ "$extensions": {
5855
+ "org.primer.figma": {
5856
+ "collection": "mode",
5857
+ "mode": "dark",
5858
+ "group": "component (internal)",
5859
+ "scopes": ["fgColor"]
5860
+ }
5861
+ }
5862
+ },
5863
+ "name": "button-invisible-fgColor-active",
5864
+ "attributes": {},
5865
+ "path": ["button", "invisible", "fgColor", "active"],
5866
+ "value": "#ffffff",
5867
+ "type": "color"
5868
+ },
5840
5869
  "button-invisible-fgColor-disabled": {
5841
5870
  "$extensions": {
5842
5871
  "org.primer.figma": {
@@ -7205,6 +7205,35 @@
7205
7205
  "value": "#f0f6fc",
7206
7206
  "type": "color"
7207
7207
  },
7208
+ "button-invisible-fgColor-active": {
7209
+ "$extensions": {
7210
+ "org.primer.figma": {
7211
+ "collection": "mode",
7212
+ "mode": "dark",
7213
+ "group": "component (internal)",
7214
+ "scopes": ["fgColor"]
7215
+ }
7216
+ },
7217
+ "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7218
+ "isSource": true,
7219
+ "original": {
7220
+ "$value": "{control.fgColor.rest}",
7221
+ "$type": "color",
7222
+ "$extensions": {
7223
+ "org.primer.figma": {
7224
+ "collection": "mode",
7225
+ "mode": "dark",
7226
+ "group": "component (internal)",
7227
+ "scopes": ["fgColor"]
7228
+ }
7229
+ }
7230
+ },
7231
+ "name": "button-invisible-fgColor-active",
7232
+ "attributes": {},
7233
+ "path": ["button", "invisible", "fgColor", "active"],
7234
+ "value": "#f0f6fc",
7235
+ "type": "color"
7236
+ },
7208
7237
  "button-invisible-fgColor-disabled": {
7209
7238
  "$extensions": {
7210
7239
  "org.primer.figma": {
@@ -7317,6 +7317,35 @@
7317
7317
  "value": "#f0f6fc",
7318
7318
  "type": "color"
7319
7319
  },
7320
+ "button-invisible-fgColor-active": {
7321
+ "$extensions": {
7322
+ "org.primer.figma": {
7323
+ "collection": "mode",
7324
+ "mode": "dark",
7325
+ "group": "component (internal)",
7326
+ "scopes": ["fgColor"]
7327
+ }
7328
+ },
7329
+ "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7330
+ "isSource": true,
7331
+ "original": {
7332
+ "$value": "{control.fgColor.rest}",
7333
+ "$type": "color",
7334
+ "$extensions": {
7335
+ "org.primer.figma": {
7336
+ "collection": "mode",
7337
+ "mode": "dark",
7338
+ "group": "component (internal)",
7339
+ "scopes": ["fgColor"]
7340
+ }
7341
+ }
7342
+ },
7343
+ "name": "button-invisible-fgColor-active",
7344
+ "attributes": {},
7345
+ "path": ["button", "invisible", "fgColor", "active"],
7346
+ "value": "#f0f6fc",
7347
+ "type": "color"
7348
+ },
7320
7349
  "button-invisible-fgColor-disabled": {
7321
7350
  "$extensions": {
7322
7351
  "org.primer.figma": {
@@ -7123,6 +7123,35 @@
7123
7123
  "value": "#25292e",
7124
7124
  "type": "color"
7125
7125
  },
7126
+ "button-invisible-fgColor-active": {
7127
+ "$extensions": {
7128
+ "org.primer.figma": {
7129
+ "collection": "mode",
7130
+ "mode": "light",
7131
+ "group": "component (internal)",
7132
+ "scopes": ["fgColor"]
7133
+ }
7134
+ },
7135
+ "filePath": "src/tokens/functional/color/light/patterns-light.json5",
7136
+ "isSource": true,
7137
+ "original": {
7138
+ "$value": "{control.fgColor.rest}",
7139
+ "$type": "color",
7140
+ "$extensions": {
7141
+ "org.primer.figma": {
7142
+ "collection": "mode",
7143
+ "mode": "light",
7144
+ "group": "component (internal)",
7145
+ "scopes": ["fgColor"]
7146
+ }
7147
+ }
7148
+ },
7149
+ "name": "button-invisible-fgColor-active",
7150
+ "attributes": {},
7151
+ "path": ["button", "invisible", "fgColor", "active"],
7152
+ "value": "#25292e",
7153
+ "type": "color"
7154
+ },
7126
7155
  "button-invisible-fgColor-disabled": {
7127
7156
  "$extensions": {
7128
7157
  "org.primer.figma": {
@@ -5873,6 +5873,35 @@
5873
5873
  "value": "#393f46",
5874
5874
  "type": "color"
5875
5875
  },
5876
+ "button-invisible-fgColor-active": {
5877
+ "$extensions": {
5878
+ "org.primer.figma": {
5879
+ "collection": "mode",
5880
+ "mode": "light",
5881
+ "group": "component (internal)",
5882
+ "scopes": ["fgColor"]
5883
+ }
5884
+ },
5885
+ "filePath": "src/tokens/functional/color/light/patterns-light.json5",
5886
+ "isSource": true,
5887
+ "original": {
5888
+ "$value": "{control.fgColor.rest}",
5889
+ "$type": "color",
5890
+ "$extensions": {
5891
+ "org.primer.figma": {
5892
+ "collection": "mode",
5893
+ "mode": "light",
5894
+ "group": "component (internal)",
5895
+ "scopes": ["fgColor"]
5896
+ }
5897
+ }
5898
+ },
5899
+ "name": "button-invisible-fgColor-active",
5900
+ "attributes": {},
5901
+ "path": ["button", "invisible", "fgColor", "active"],
5902
+ "value": "#25292e",
5903
+ "type": "color"
5904
+ },
5876
5905
  "button-invisible-fgColor-disabled": {
5877
5906
  "$extensions": {
5878
5907
  "org.primer.figma": {
@@ -7139,6 +7139,35 @@
7139
7139
  "value": "#25292e",
7140
7140
  "type": "color"
7141
7141
  },
7142
+ "button-invisible-fgColor-active": {
7143
+ "$extensions": {
7144
+ "org.primer.figma": {
7145
+ "collection": "mode",
7146
+ "mode": "light",
7147
+ "group": "component (internal)",
7148
+ "scopes": ["fgColor"]
7149
+ }
7150
+ },
7151
+ "filePath": "src/tokens/functional/color/light/patterns-light.json5",
7152
+ "isSource": true,
7153
+ "original": {
7154
+ "$value": "{control.fgColor.rest}",
7155
+ "$type": "color",
7156
+ "$extensions": {
7157
+ "org.primer.figma": {
7158
+ "collection": "mode",
7159
+ "mode": "light",
7160
+ "group": "component (internal)",
7161
+ "scopes": ["fgColor"]
7162
+ }
7163
+ }
7164
+ },
7165
+ "name": "button-invisible-fgColor-active",
7166
+ "attributes": {},
7167
+ "path": ["button", "invisible", "fgColor", "active"],
7168
+ "value": "#25292e",
7169
+ "type": "color"
7170
+ },
7142
7171
  "button-invisible-fgColor-disabled": {
7143
7172
  "$extensions": {
7144
7173
  "org.primer.figma": {
@@ -7283,6 +7283,35 @@
7283
7283
  "value": "#25292e",
7284
7284
  "type": "color"
7285
7285
  },
7286
+ "button-invisible-fgColor-active": {
7287
+ "$extensions": {
7288
+ "org.primer.figma": {
7289
+ "collection": "mode",
7290
+ "mode": "light",
7291
+ "group": "component (internal)",
7292
+ "scopes": ["fgColor"]
7293
+ }
7294
+ },
7295
+ "filePath": "src/tokens/functional/color/light/patterns-light.json5",
7296
+ "isSource": true,
7297
+ "original": {
7298
+ "$value": "{control.fgColor.rest}",
7299
+ "$type": "color",
7300
+ "$extensions": {
7301
+ "org.primer.figma": {
7302
+ "collection": "mode",
7303
+ "mode": "light",
7304
+ "group": "component (internal)",
7305
+ "scopes": ["fgColor"]
7306
+ }
7307
+ }
7308
+ },
7309
+ "name": "button-invisible-fgColor-active",
7310
+ "attributes": {},
7311
+ "path": ["button", "invisible", "fgColor", "active"],
7312
+ "value": "#25292e",
7313
+ "type": "color"
7314
+ },
7286
7315
  "button-invisible-fgColor-disabled": {
7287
7316
  "$extensions": {
7288
7317
  "org.primer.figma": {
@@ -5570,6 +5570,22 @@
5570
5570
  "group": "component (internal)",
5571
5571
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
5572
5572
  },
5573
+ {
5574
+ "name": "button/invisible/fgColor/active",
5575
+ "value": {
5576
+ "r": 0.9411764705882353,
5577
+ "g": 0.9647058823529412,
5578
+ "b": 0.9882352941176471,
5579
+ "a": 1
5580
+ },
5581
+ "type": "COLOR",
5582
+ "refId": "mode/button/invisible/fgColor/active",
5583
+ "reference": "mode/control/fgColor/rest",
5584
+ "collection": "mode",
5585
+ "mode": "dark colorblind",
5586
+ "group": "component (internal)",
5587
+ "scopes": ["TEXT_FILL", "SHAPE_FILL"]
5588
+ },
5573
5589
  {
5574
5590
  "name": "button/invisible/fgColor/hover",
5575
5591
  "value": {
@@ -5974,6 +5974,22 @@
5974
5974
  "group": "component (internal)",
5975
5975
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
5976
5976
  },
5977
+ {
5978
+ "name": "button/invisible/fgColor/active",
5979
+ "value": {
5980
+ "r": 0.8196078431372549,
5981
+ "g": 0.8431372549019608,
5982
+ "b": 0.8784313725490196,
5983
+ "a": 1
5984
+ },
5985
+ "type": "COLOR",
5986
+ "refId": "mode/button/invisible/fgColor/active",
5987
+ "reference": "mode/control/fgColor/rest",
5988
+ "collection": "mode",
5989
+ "mode": "dark dimmed",
5990
+ "group": "component (internal)",
5991
+ "scopes": ["TEXT_FILL", "SHAPE_FILL"]
5992
+ },
5977
5993
  {
5978
5994
  "name": "button/invisible/fgColor/hover",
5979
5995
  "value": {
@@ -5241,6 +5241,22 @@
5241
5241
  "group": "component (internal)",
5242
5242
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
5243
5243
  },
5244
+ {
5245
+ "name": "button/invisible/fgColor/active",
5246
+ "value": {
5247
+ "r": 1,
5248
+ "g": 1,
5249
+ "b": 1,
5250
+ "a": 1
5251
+ },
5252
+ "type": "COLOR",
5253
+ "refId": "mode/button/invisible/fgColor/active",
5254
+ "reference": "mode/control/fgColor/rest",
5255
+ "collection": "mode",
5256
+ "mode": "dark high contrast",
5257
+ "group": "component (internal)",
5258
+ "scopes": ["TEXT_FILL", "SHAPE_FILL"]
5259
+ },
5244
5260
  {
5245
5261
  "name": "button/invisible/fgColor/hover",
5246
5262
  "value": {