@primer/primitives 10.0.0-rc.4782a992 → 10.0.0-rc.48f927a3
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/README.md +2 -2
- package/dist/build/PrimerStyleDictionary.js +27 -26
- package/dist/build/filters/isCubicBezier.d.ts +7 -0
- package/dist/build/filters/isCubicBezier.js +10 -0
- package/dist/build/platforms/css.js +1 -0
- package/dist/build/schemas/designToken.js +0 -1
- package/dist/build/transformers/cubicBezierToCss.d.ts +8 -0
- package/dist/build/transformers/cubicBezierToCss.js +23 -0
- package/dist/build/transformers/index.d.ts +1 -0
- package/dist/build/transformers/index.js +1 -0
- package/dist/css/functional/motion/motion.css +2 -2
- package/dist/css/functional/themes/dark-colorblind.css +2 -0
- package/dist/css/functional/themes/dark-dimmed.css +2 -0
- package/dist/css/functional/themes/dark-high-contrast.css +2 -0
- package/dist/css/functional/themes/dark-tritanopia.css +2 -0
- package/dist/css/functional/themes/dark.css +2 -0
- package/dist/css/functional/themes/light-colorblind.css +2 -0
- package/dist/css/functional/themes/light-high-contrast.css +2 -0
- package/dist/css/functional/themes/light-tritanopia.css +2 -0
- package/dist/css/functional/themes/light.css +2 -0
- package/dist/css/functional/typography/typography.css +43 -43
- package/dist/css/primitives.css +45 -45
- package/dist/docs/functional/themes/dark-colorblind.json +29 -0
- package/dist/docs/functional/themes/dark-dimmed.json +29 -0
- package/dist/docs/functional/themes/dark-high-contrast.json +29 -0
- package/dist/docs/functional/themes/dark-tritanopia.json +29 -0
- package/dist/docs/functional/themes/dark.json +29 -0
- package/dist/docs/functional/themes/light-colorblind.json +29 -0
- package/dist/docs/functional/themes/light-high-contrast.json +29 -0
- package/dist/docs/functional/themes/light-tritanopia.json +29 -0
- package/dist/docs/functional/themes/light.json +29 -0
- package/dist/figma/dimension/dimension.json +518 -518
- package/dist/figma/figma.json +26 -26
- package/dist/figma/scales/dark-dimmed.json +1787 -1787
- package/dist/figma/scales/dark-high-constrast.json +1787 -1787
- package/dist/figma/scales/dark.json +1460 -1460
- package/dist/figma/scales/light-high-constrast.json +1775 -1775
- package/dist/figma/scales/light.json +1447 -1447
- package/dist/figma/shadows/dark-colorblind.json +285 -285
- package/dist/figma/shadows/dark-dimmed.json +285 -285
- package/dist/figma/shadows/dark-high-contrast.json +285 -285
- package/dist/figma/shadows/dark-tritanopia.json +285 -285
- package/dist/figma/shadows/dark.json +285 -285
- package/dist/figma/shadows/light-colorblind.json +254 -254
- package/dist/figma/shadows/light-high-contrast.json +254 -254
- package/dist/figma/shadows/light-tritanopia.json +254 -254
- package/dist/figma/shadows/light.json +254 -254
- package/dist/figma/themes/dark-colorblind.json +5146 -5130
- package/dist/figma/themes/dark-dimmed.json +5560 -5544
- package/dist/figma/themes/dark-high-contrast.json +4323 -4307
- package/dist/figma/themes/dark-tritanopia.json +5270 -5254
- package/dist/figma/themes/dark.json +5697 -5681
- package/dist/figma/themes/light-colorblind.json +5100 -5084
- package/dist/figma/themes/light-high-contrast.json +4427 -4411
- package/dist/figma/themes/light-tritanopia.json +5171 -5155
- package/dist/figma/themes/light.json +5537 -5521
- package/dist/figma/typography/typography.json +162 -162
- package/dist/internalCss/dark-colorblind.css +2 -0
- package/dist/internalCss/dark-dimmed.css +2 -0
- package/dist/internalCss/dark-high-contrast.css +2 -0
- package/dist/internalCss/dark-tritanopia.css +2 -0
- package/dist/internalCss/dark.css +2 -0
- package/dist/internalCss/light-colorblind.css +2 -0
- package/dist/internalCss/light-high-contrast.css +2 -0
- package/dist/internalCss/light-tritanopia.css +2 -0
- package/dist/internalCss/light.css +2 -0
- package/dist/styleLint/functional/themes/dark-colorblind.json +29 -0
- package/dist/styleLint/functional/themes/dark-dimmed.json +29 -0
- package/dist/styleLint/functional/themes/dark-high-contrast.json +29 -0
- package/dist/styleLint/functional/themes/dark-tritanopia.json +29 -0
- package/dist/styleLint/functional/themes/dark.json +29 -0
- package/dist/styleLint/functional/themes/light-colorblind.json +29 -0
- package/dist/styleLint/functional/themes/light-high-contrast.json +29 -0
- package/dist/styleLint/functional/themes/light-tritanopia.json +29 -0
- package/dist/styleLint/functional/themes/light.json +29 -0
- package/package.json +2 -2
- package/src/tokens/functional/color/dark/patterns-dark.json5 +12 -0
- package/src/tokens/functional/color/light/patterns-light.json5 +13 -1
package/README.md
CHANGED
|
@@ -138,10 +138,10 @@ In this case you can create the follwing structure. The `@` will be removed from
|
|
|
138
138
|
bgColor: {
|
|
139
139
|
accent: {
|
|
140
140
|
'@': {
|
|
141
|
-
// values for accent (default)
|
|
141
|
+
// values for bgColor-accent (default)
|
|
142
142
|
},
|
|
143
143
|
muted: {
|
|
144
|
-
// values for accent-muted
|
|
144
|
+
// values for bgColor-accent-muted
|
|
145
145
|
},
|
|
146
146
|
},
|
|
147
147
|
},
|
|
@@ -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}
|
|
@@ -52,28 +52,29 @@ PrimerStyleDictionary.registerFormat({
|
|
|
52
52
|
* Transformers
|
|
53
53
|
*
|
|
54
54
|
*/
|
|
55
|
-
PrimerStyleDictionary.registerTransform(
|
|
56
|
-
PrimerStyleDictionary.registerTransform(
|
|
57
|
-
PrimerStyleDictionary.registerTransform(
|
|
58
|
-
PrimerStyleDictionary.registerTransform(
|
|
59
|
-
PrimerStyleDictionary.registerTransform(
|
|
60
|
-
PrimerStyleDictionary.registerTransform(
|
|
61
|
-
PrimerStyleDictionary.registerTransform(
|
|
62
|
-
PrimerStyleDictionary.registerTransform(
|
|
63
|
-
PrimerStyleDictionary.registerTransform(
|
|
64
|
-
PrimerStyleDictionary.registerTransform(
|
|
65
|
-
PrimerStyleDictionary.registerTransform(
|
|
66
|
-
PrimerStyleDictionary.registerTransform(
|
|
67
|
-
PrimerStyleDictionary.registerTransform(
|
|
68
|
-
PrimerStyleDictionary.registerTransform(
|
|
69
|
-
PrimerStyleDictionary.registerTransform(
|
|
70
|
-
PrimerStyleDictionary.registerTransform(
|
|
71
|
-
PrimerStyleDictionary.registerTransform(
|
|
72
|
-
PrimerStyleDictionary.registerTransform(
|
|
73
|
-
PrimerStyleDictionary.registerTransform(
|
|
74
|
-
PrimerStyleDictionary.registerTransform(
|
|
75
|
-
PrimerStyleDictionary.registerTransform(
|
|
76
|
-
PrimerStyleDictionary.registerTransform(
|
|
77
|
-
PrimerStyleDictionary.registerTransform(
|
|
78
|
-
PrimerStyleDictionary.registerTransform(
|
|
79
|
-
PrimerStyleDictionary.registerTransform(
|
|
55
|
+
PrimerStyleDictionary.registerTransform(colorToRgbAlpha);
|
|
56
|
+
PrimerStyleDictionary.registerTransform(colorToRgbaFloat);
|
|
57
|
+
PrimerStyleDictionary.registerTransform(colorToHexMix);
|
|
58
|
+
PrimerStyleDictionary.registerTransform(colorToHex);
|
|
59
|
+
PrimerStyleDictionary.registerTransform(cubicBezierToCss);
|
|
60
|
+
PrimerStyleDictionary.registerTransform(floatToPixel);
|
|
61
|
+
PrimerStyleDictionary.registerTransform(floatToPixelUnitless);
|
|
62
|
+
PrimerStyleDictionary.registerTransform(dimensionToRem);
|
|
63
|
+
PrimerStyleDictionary.registerTransform(dimensionToRemPxArray);
|
|
64
|
+
PrimerStyleDictionary.registerTransform(dimensionToPixelUnitless);
|
|
65
|
+
PrimerStyleDictionary.registerTransform(durationToCss);
|
|
66
|
+
PrimerStyleDictionary.registerTransform(figmaAttributes);
|
|
67
|
+
PrimerStyleDictionary.registerTransform(jsonDeprecated);
|
|
68
|
+
PrimerStyleDictionary.registerTransform(namePathToCamelCase);
|
|
69
|
+
PrimerStyleDictionary.registerTransform(namePathToPascalCase);
|
|
70
|
+
PrimerStyleDictionary.registerTransform(namePathToDotNotation);
|
|
71
|
+
PrimerStyleDictionary.registerTransform(namePathToFigma);
|
|
72
|
+
PrimerStyleDictionary.registerTransform(namePathToCamelCase);
|
|
73
|
+
PrimerStyleDictionary.registerTransform(namePathToKebabCase);
|
|
74
|
+
PrimerStyleDictionary.registerTransform(namePathToSlashNotation);
|
|
75
|
+
PrimerStyleDictionary.registerTransform(shadowToCss);
|
|
76
|
+
PrimerStyleDictionary.registerTransform(borderToCss);
|
|
77
|
+
PrimerStyleDictionary.registerTransform(typographyToCss);
|
|
78
|
+
PrimerStyleDictionary.registerTransform(fontWeightToNumber);
|
|
79
|
+
PrimerStyleDictionary.registerTransform(fontFamilyToCss);
|
|
80
|
+
PrimerStyleDictionary.registerTransform(fontFamilyToFigma);
|
|
@@ -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
|
+
};
|
|
@@ -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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--motion-skeletonLoader-shimmer-duration-scale: 1s; /* The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right) */
|
|
3
|
-
--motion-spinner-duration-rotation: 1s; /* The amount of time it takes the "Spinner" loading indicator to make a full 360deg rotation */
|
|
4
2
|
--motion-loading-delay-default: 1s; /* The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies. */
|
|
3
|
+
--motion-spinner-duration-rotation: 1s; /* The amount of time it takes the "Spinner" loading indicator to make a full 360deg rotation */
|
|
4
|
+
--motion-skeletonLoader-shimmer-duration-scale: 1s; /* The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right) */
|
|
5
5
|
}
|
|
@@ -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;
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--text-codeInline-size: 0.9285em;
|
|
3
|
-
--text-codeBlock-lineHeight: 1.5385;
|
|
4
|
-
--text-codeBlock-size: 0.8125rem;
|
|
5
|
-
--text-caption-lineHeight: 1.3333;
|
|
6
|
-
--text-caption-size: 0.75rem;
|
|
7
|
-
--text-body-lineHeight-small: 1.6666;
|
|
8
|
-
--text-body-lineHeight-medium: 1.4285;
|
|
9
|
-
--text-body-lineHeight-large: 1.5;
|
|
10
|
-
--text-body-size-small: 0.75rem;
|
|
11
|
-
--text-body-size-medium: 0.875rem;
|
|
12
|
-
--text-body-size-large: 1rem;
|
|
13
|
-
--text-subtitle-lineHeight: 1.6;
|
|
14
|
-
--text-subtitle-size: 1.25rem;
|
|
15
|
-
--text-title-lineHeight-small: 1.5;
|
|
16
|
-
--text-title-lineHeight-medium: 1.6;
|
|
17
|
-
--text-title-lineHeight-large: 1.5;
|
|
18
|
-
--text-title-size-small: 1rem;
|
|
19
|
-
--text-title-size-medium: 1.25rem;
|
|
20
|
-
--text-title-size-large: 2rem;
|
|
21
|
-
--text-display-lineHeight: 1.4;
|
|
22
|
-
--text-display-size: 2.5rem;
|
|
23
|
-
--text-display-lineBoxHeight: 1.4;
|
|
24
|
-
--fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
25
|
-
--fontStack-sansSerifDisplay: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
26
|
-
--fontStack-sansSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
27
2
|
--fontStack-system: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--text-
|
|
32
|
-
--text-
|
|
33
|
-
--text-
|
|
34
|
-
--text-title-
|
|
35
|
-
--text-title-
|
|
3
|
+
--fontStack-sansSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
4
|
+
--fontStack-sansSerifDisplay: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
5
|
+
--fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
6
|
+
--text-display-lineBoxHeight: 1.4;
|
|
7
|
+
--text-display-size: 2.5rem;
|
|
8
|
+
--text-display-lineHeight: 1.4;
|
|
9
|
+
--text-title-size-large: 2rem;
|
|
10
|
+
--text-title-size-medium: 1.25rem;
|
|
11
|
+
--text-title-size-small: 1rem;
|
|
12
|
+
--text-title-lineHeight-large: 1.5;
|
|
13
|
+
--text-title-lineHeight-medium: 1.6;
|
|
14
|
+
--text-title-lineHeight-small: 1.5;
|
|
15
|
+
--text-subtitle-size: 1.25rem;
|
|
16
|
+
--text-subtitle-lineHeight: 1.6;
|
|
17
|
+
--text-body-size-large: 1rem;
|
|
18
|
+
--text-body-size-medium: 0.875rem;
|
|
19
|
+
--text-body-size-small: 0.75rem;
|
|
20
|
+
--text-body-lineHeight-large: 1.5;
|
|
21
|
+
--text-body-lineHeight-medium: 1.4285;
|
|
22
|
+
--text-body-lineHeight-small: 1.6666;
|
|
23
|
+
--text-caption-size: 0.75rem;
|
|
24
|
+
--text-caption-lineHeight: 1.3333;
|
|
25
|
+
--text-codeBlock-size: 0.8125rem;
|
|
26
|
+
--text-codeBlock-lineHeight: 1.5385;
|
|
27
|
+
--text-codeInline-size: 0.9285em;
|
|
36
28
|
--text-display-weight: var(--base-text-weight-medium);
|
|
37
|
-
--text-
|
|
38
|
-
--text-
|
|
39
|
-
--text-
|
|
40
|
-
--text-
|
|
41
|
-
--text-body-
|
|
42
|
-
--text-
|
|
43
|
-
--text-
|
|
44
|
-
--text-
|
|
45
|
-
--text-title-shorthand-medium: var(--text-title-weight-medium) var(--text-title-size-medium) / var(--text-title-lineHeight-medium) var(--fontStack-sansSerifDisplay); /* Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition. */
|
|
46
|
-
--text-title-shorthand-large: var(--text-title-weight-large) var(--text-title-size-large) / var(--text-title-lineHeight-large) var(--fontStack-sansSerifDisplay); /* Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports. */
|
|
29
|
+
--text-title-weight-large: var(--base-text-weight-semibold);
|
|
30
|
+
--text-title-weight-medium: var(--base-text-weight-semibold);
|
|
31
|
+
--text-title-weight-small: var(--base-text-weight-semibold);
|
|
32
|
+
--text-subtitle-weight: var(--base-text-weight-normal);
|
|
33
|
+
--text-body-weight: var(--base-text-weight-normal);
|
|
34
|
+
--text-caption-weight: var(--base-text-weight-normal);
|
|
35
|
+
--text-codeBlock-weight: var(--base-text-weight-normal);
|
|
36
|
+
--text-codeInline-weight: var(--base-text-weight-normal);
|
|
47
37
|
--text-display-shorthand: var(--text-display-weight) var(--text-display-size) / var(--text-display-lineHeight) var(--fontStack-sansSerifDisplay); /* Hero-style text for brand to product transition pages. Utilize Title (large) styles on narrow viewports. */
|
|
38
|
+
--text-title-shorthand-large: var(--text-title-weight-large) var(--text-title-size-large) / var(--text-title-lineHeight-large) var(--fontStack-sansSerifDisplay); /* Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports. */
|
|
39
|
+
--text-title-shorthand-medium: var(--text-title-weight-medium) var(--text-title-size-medium) / var(--text-title-lineHeight-medium) var(--fontStack-sansSerifDisplay); /* Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition. */
|
|
40
|
+
--text-title-shorthand-small: var(--text-title-weight-small) var(--text-title-size-small) / var(--text-title-lineHeight-small) var(--fontStack-sansSerif); /* Uses the same size as body (large) with a heavier weight of semibold (600). */
|
|
41
|
+
--text-subtitle-shorthand: var(--text-subtitle-weight) var(--text-subtitle-size) / var(--text-subtitle-lineHeight) var(--fontStack-sansSerifDisplay); /* Page sections/sub headings, or less important object names in page titles (automated action titles, for example). Same line-height as title (medium). */
|
|
42
|
+
--text-body-shorthand-large: var(--text-body-weight) var(--text-body-size-large) / var(--text-body-lineHeight-large) var(--fontStack-sansSerif); /* User-generated content, markdown rendering. */
|
|
43
|
+
--text-body-shorthand-medium: var(--text-body-weight) var(--text-body-size-medium) / var(--text-body-lineHeight-medium) var(--fontStack-sansSerif); /* Default UI font. Most commonly used for body text. */
|
|
44
|
+
--text-body-shorthand-small: var(--text-body-weight) var(--text-body-size-small) / var(--text-body-lineHeight-small) var(--fontStack-sansSerif); /* Small body text for discrete UI applications, such as helper, footnote text. Should be used sparingly across pages. Line-height matches Body (medium) at 20px. */
|
|
45
|
+
--text-caption-shorthand: var(--text-caption-weight) var(--text-caption-size) / var(--text-caption-lineHeight) var(--fontStack-sansSerif); /* Compact small font with a smaller line height of 16px. Use it for single-line scenarios, as the small sizing doesn’t pass accessibility requirements. */
|
|
46
|
+
--text-codeBlock-shorthand: var(--text-codeBlock-weight) var(--text-codeBlock-size) / var(--text-codeBlock-lineHeight) var(--fontStack-monospace); /* Default style for rendering code blocks. */
|
|
47
|
+
--text-codeInline-shorthand: var(--text-codeInline-weight) var(--text-codeInline-size) var(--fontStack-monospace); /* Inline code blocks using em units to inherit size from its parent. */
|
|
48
48
|
}
|
package/dist/css/primitives.css
CHANGED
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
--base-text-weight-semibold: 600;
|
|
27
27
|
}
|
|
28
28
|
:root {
|
|
29
|
-
--motion-skeletonLoader-shimmer-duration-scale: 1s; /* The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right) */
|
|
30
|
-
--motion-spinner-duration-rotation: 1s; /* The amount of time it takes the "Spinner" loading indicator to make a full 360deg rotation */
|
|
31
29
|
--motion-loading-delay-default: 1s; /* The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies. */
|
|
30
|
+
--motion-spinner-duration-rotation: 1s; /* The amount of time it takes the "Spinner" loading indicator to make a full 360deg rotation */
|
|
31
|
+
--motion-skeletonLoader-shimmer-duration-scale: 1s; /* The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right) */
|
|
32
32
|
}
|
|
33
33
|
:root {
|
|
34
34
|
--boxShadow-thin: inset 0 0 0 max(1px, 0.0625rem); /* Thin shadow for borders */
|
|
@@ -136,50 +136,50 @@
|
|
|
136
136
|
--overlay-offset: 0.25rem;
|
|
137
137
|
}
|
|
138
138
|
:root {
|
|
139
|
-
--text-codeInline-size: 0.9285em;
|
|
140
|
-
--text-codeBlock-lineHeight: 1.5385;
|
|
141
|
-
--text-codeBlock-size: 0.8125rem;
|
|
142
|
-
--text-caption-lineHeight: 1.3333;
|
|
143
|
-
--text-caption-size: 0.75rem;
|
|
144
|
-
--text-body-lineHeight-small: 1.6666;
|
|
145
|
-
--text-body-lineHeight-medium: 1.4285;
|
|
146
|
-
--text-body-lineHeight-large: 1.5;
|
|
147
|
-
--text-body-size-small: 0.75rem;
|
|
148
|
-
--text-body-size-medium: 0.875rem;
|
|
149
|
-
--text-body-size-large: 1rem;
|
|
150
|
-
--text-subtitle-lineHeight: 1.6;
|
|
151
|
-
--text-subtitle-size: 1.25rem;
|
|
152
|
-
--text-title-lineHeight-small: 1.5;
|
|
153
|
-
--text-title-lineHeight-medium: 1.6;
|
|
154
|
-
--text-title-lineHeight-large: 1.5;
|
|
155
|
-
--text-title-size-small: 1rem;
|
|
156
|
-
--text-title-size-medium: 1.25rem;
|
|
157
|
-
--text-title-size-large: 2rem;
|
|
158
|
-
--text-display-lineHeight: 1.4;
|
|
159
|
-
--text-display-size: 2.5rem;
|
|
160
|
-
--text-display-lineBoxHeight: 1.4;
|
|
161
|
-
--fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
162
|
-
--fontStack-sansSerifDisplay: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
163
|
-
--fontStack-sansSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
164
139
|
--fontStack-system: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
165
|
-
--
|
|
166
|
-
--
|
|
167
|
-
--
|
|
168
|
-
--text-
|
|
169
|
-
--text-
|
|
170
|
-
--text-
|
|
171
|
-
--text-title-
|
|
172
|
-
--text-title-
|
|
140
|
+
--fontStack-sansSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
141
|
+
--fontStack-sansSerifDisplay: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
142
|
+
--fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
143
|
+
--text-display-lineBoxHeight: 1.4;
|
|
144
|
+
--text-display-size: 2.5rem;
|
|
145
|
+
--text-display-lineHeight: 1.4;
|
|
146
|
+
--text-title-size-large: 2rem;
|
|
147
|
+
--text-title-size-medium: 1.25rem;
|
|
148
|
+
--text-title-size-small: 1rem;
|
|
149
|
+
--text-title-lineHeight-large: 1.5;
|
|
150
|
+
--text-title-lineHeight-medium: 1.6;
|
|
151
|
+
--text-title-lineHeight-small: 1.5;
|
|
152
|
+
--text-subtitle-size: 1.25rem;
|
|
153
|
+
--text-subtitle-lineHeight: 1.6;
|
|
154
|
+
--text-body-size-large: 1rem;
|
|
155
|
+
--text-body-size-medium: 0.875rem;
|
|
156
|
+
--text-body-size-small: 0.75rem;
|
|
157
|
+
--text-body-lineHeight-large: 1.5;
|
|
158
|
+
--text-body-lineHeight-medium: 1.4285;
|
|
159
|
+
--text-body-lineHeight-small: 1.6666;
|
|
160
|
+
--text-caption-size: 0.75rem;
|
|
161
|
+
--text-caption-lineHeight: 1.3333;
|
|
162
|
+
--text-codeBlock-size: 0.8125rem;
|
|
163
|
+
--text-codeBlock-lineHeight: 1.5385;
|
|
164
|
+
--text-codeInline-size: 0.9285em;
|
|
173
165
|
--text-display-weight: var(--base-text-weight-medium);
|
|
174
|
-
--text-
|
|
175
|
-
--text-
|
|
176
|
-
--text-
|
|
177
|
-
--text-
|
|
178
|
-
--text-body-
|
|
179
|
-
--text-
|
|
180
|
-
--text-
|
|
181
|
-
--text-
|
|
182
|
-
--text-title-shorthand-medium: var(--text-title-weight-medium) var(--text-title-size-medium) / var(--text-title-lineHeight-medium) var(--fontStack-sansSerifDisplay); /* Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition. */
|
|
183
|
-
--text-title-shorthand-large: var(--text-title-weight-large) var(--text-title-size-large) / var(--text-title-lineHeight-large) var(--fontStack-sansSerifDisplay); /* Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports. */
|
|
166
|
+
--text-title-weight-large: var(--base-text-weight-semibold);
|
|
167
|
+
--text-title-weight-medium: var(--base-text-weight-semibold);
|
|
168
|
+
--text-title-weight-small: var(--base-text-weight-semibold);
|
|
169
|
+
--text-subtitle-weight: var(--base-text-weight-normal);
|
|
170
|
+
--text-body-weight: var(--base-text-weight-normal);
|
|
171
|
+
--text-caption-weight: var(--base-text-weight-normal);
|
|
172
|
+
--text-codeBlock-weight: var(--base-text-weight-normal);
|
|
173
|
+
--text-codeInline-weight: var(--base-text-weight-normal);
|
|
184
174
|
--text-display-shorthand: var(--text-display-weight) var(--text-display-size) / var(--text-display-lineHeight) var(--fontStack-sansSerifDisplay); /* Hero-style text for brand to product transition pages. Utilize Title (large) styles on narrow viewports. */
|
|
175
|
+
--text-title-shorthand-large: var(--text-title-weight-large) var(--text-title-size-large) / var(--text-title-lineHeight-large) var(--fontStack-sansSerifDisplay); /* Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports. */
|
|
176
|
+
--text-title-shorthand-medium: var(--text-title-weight-medium) var(--text-title-size-medium) / var(--text-title-lineHeight-medium) var(--fontStack-sansSerifDisplay); /* Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition. */
|
|
177
|
+
--text-title-shorthand-small: var(--text-title-weight-small) var(--text-title-size-small) / var(--text-title-lineHeight-small) var(--fontStack-sansSerif); /* Uses the same size as body (large) with a heavier weight of semibold (600). */
|
|
178
|
+
--text-subtitle-shorthand: var(--text-subtitle-weight) var(--text-subtitle-size) / var(--text-subtitle-lineHeight) var(--fontStack-sansSerifDisplay); /* Page sections/sub headings, or less important object names in page titles (automated action titles, for example). Same line-height as title (medium). */
|
|
179
|
+
--text-body-shorthand-large: var(--text-body-weight) var(--text-body-size-large) / var(--text-body-lineHeight-large) var(--fontStack-sansSerif); /* User-generated content, markdown rendering. */
|
|
180
|
+
--text-body-shorthand-medium: var(--text-body-weight) var(--text-body-size-medium) / var(--text-body-lineHeight-medium) var(--fontStack-sansSerif); /* Default UI font. Most commonly used for body text. */
|
|
181
|
+
--text-body-shorthand-small: var(--text-body-weight) var(--text-body-size-small) / var(--text-body-lineHeight-small) var(--fontStack-sansSerif); /* Small body text for discrete UI applications, such as helper, footnote text. Should be used sparingly across pages. Line-height matches Body (medium) at 20px. */
|
|
182
|
+
--text-caption-shorthand: var(--text-caption-weight) var(--text-caption-size) / var(--text-caption-lineHeight) var(--fontStack-sansSerif); /* Compact small font with a smaller line height of 16px. Use it for single-line scenarios, as the small sizing doesn’t pass accessibility requirements. */
|
|
183
|
+
--text-codeBlock-shorthand: var(--text-codeBlock-weight) var(--text-codeBlock-size) / var(--text-codeBlock-lineHeight) var(--fontStack-monospace); /* Default style for rendering code blocks. */
|
|
184
|
+
--text-codeInline-shorthand: var(--text-codeInline-weight) var(--text-codeInline-size) var(--fontStack-monospace); /* Inline code blocks using em units to inherit size from its parent. */
|
|
185
185
|
}
|
|
@@ -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": {
|