@primer/primitives 10.1.0 → 10.2.0-rc.285d8b6c
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/cssAdvanced.js +2 -2
- package/dist/build/primerStyleDictionary.js +2 -0
- package/dist/build/schemas/colorToken.d.ts +1 -6
- package/dist/build/schemas/colorToken.js +1 -1
- package/dist/build/transformers/colorAlphaToCss.d.ts +3 -0
- package/dist/build/transformers/colorAlphaToCss.js +23 -0
- package/dist/build/transformers/colorToHex.js +1 -2
- package/dist/css/base/motion/motion.css +6 -6
- package/dist/css/base/size/size.css +6 -6
- package/dist/css/base/typography/typography.css +1 -1
- package/dist/css/functional/motion/motion.css +1 -1
- package/dist/css/functional/size/border.css +9 -9
- package/dist/css/functional/size/breakpoints.css +3 -3
- package/dist/css/functional/size/size-coarse.css +1 -1
- package/dist/css/functional/size/size-fine.css +1 -1
- package/dist/css/functional/size/size.css +49 -49
- package/dist/css/functional/themes/dark-colorblind.css +1124 -1124
- package/dist/css/functional/themes/dark-dimmed.css +1124 -1124
- package/dist/css/functional/themes/dark-high-contrast.css +1124 -1124
- package/dist/css/functional/themes/dark-tritanopia.css +1124 -1124
- package/dist/css/functional/themes/dark.css +1124 -1124
- package/dist/css/functional/themes/light-colorblind.css +1124 -1124
- package/dist/css/functional/themes/light-high-contrast.css +1124 -1124
- package/dist/css/functional/themes/light-tritanopia.css +1124 -1124
- package/dist/css/functional/themes/light.css +1124 -1124
- package/dist/css/functional/typography/typography.css +28 -28
- package/dist/css/primitives.css +105 -105
- package/dist/docs/functional/themes/dark-colorblind.json +47 -59
- package/dist/docs/functional/themes/dark-dimmed.json +13 -5
- package/dist/docs/functional/themes/dark-high-contrast.json +39 -17
- package/dist/docs/functional/themes/dark-tritanopia.json +57 -85
- package/dist/docs/functional/themes/dark.json +41 -33
- package/dist/docs/functional/themes/light-colorblind.json +37 -33
- package/dist/docs/functional/themes/light-high-contrast.json +35 -13
- package/dist/docs/functional/themes/light-tritanopia.json +37 -33
- package/dist/docs/functional/themes/light.json +35 -27
- package/dist/figma/themes/dark-colorblind.json +25 -24
- package/dist/figma/themes/dark-dimmed.json +6 -4
- package/dist/figma/themes/dark-high-contrast.json +20 -2
- package/dist/figma/themes/dark-tritanopia.json +29 -27
- package/dist/figma/themes/dark.json +31 -28
- package/dist/figma/themes/light-colorblind.json +16 -16
- package/dist/figma/themes/light-high-contrast.json +16 -0
- package/dist/figma/themes/light-tritanopia.json +16 -16
- package/dist/figma/themes/light.json +16 -16
- package/dist/internalCss/dark-colorblind.css +1594 -1594
- package/dist/internalCss/dark-dimmed.css +1594 -1594
- package/dist/internalCss/dark-high-contrast.css +1594 -1594
- package/dist/internalCss/dark-tritanopia.css +1594 -1594
- package/dist/internalCss/dark.css +1594 -1594
- package/dist/internalCss/light-colorblind.css +1560 -1560
- package/dist/internalCss/light-high-contrast.css +1560 -1560
- package/dist/internalCss/light-tritanopia.css +1560 -1560
- package/dist/internalCss/light.css +1560 -1560
- package/dist/styleLint/functional/themes/dark-colorblind.json +47 -59
- package/dist/styleLint/functional/themes/dark-dimmed.json +13 -5
- package/dist/styleLint/functional/themes/dark-high-contrast.json +39 -17
- package/dist/styleLint/functional/themes/dark-tritanopia.json +57 -85
- package/dist/styleLint/functional/themes/dark.json +41 -33
- package/dist/styleLint/functional/themes/light-colorblind.json +37 -33
- package/dist/styleLint/functional/themes/light-high-contrast.json +35 -13
- package/dist/styleLint/functional/themes/light-tritanopia.json +37 -33
- package/dist/styleLint/functional/themes/light.json +35 -27
- package/package.json +1 -5
- package/src/tokens/component/topicTag.json5 +19 -0
- package/src/tokens/functional/color/dark/app-dark.json5 +0 -14
- package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +0 -6
- package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +5 -15
- package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +9 -27
- package/src/tokens/functional/color/dark/primitives-dark.json5 +3 -3
- package/src/tokens/functional/color/light/app-light.json5 +0 -13
- package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +0 -6
- package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +1 -3
- package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +1 -3
|
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { format } from 'prettier';
|
|
11
|
-
import { fileHeader, formattedVariables } from 'style-dictionary/utils';
|
|
11
|
+
import { fileHeader, formattedVariables, sortByName } from 'style-dictionary/utils';
|
|
12
12
|
const wrapWithSelector = (css, selector) => {
|
|
13
13
|
// return without selector
|
|
14
14
|
if (selector === false || selector.trim().length === 0)
|
|
@@ -64,7 +64,7 @@ export const cssAdvanced = (_a) => __awaiter(void 0, [_a], void 0, function* ({
|
|
|
64
64
|
for (const query of queries) {
|
|
65
65
|
const { query: queryString, matcher } = query;
|
|
66
66
|
// filter tokens to only include the ones that pass the matcher
|
|
67
|
-
const filteredDictionary = Object.assign(Object.assign({}, dictionary), { allTokens: dictionary.allTokens.filter(matcher || (() => true)) });
|
|
67
|
+
const filteredDictionary = Object.assign(Object.assign({}, dictionary), { allTokens: dictionary.allTokens.filter(matcher || (() => true)).sort(sortByName) });
|
|
68
68
|
// early abort if no matches
|
|
69
69
|
if (!filteredDictionary.allTokens.length)
|
|
70
70
|
continue;
|
|
@@ -2,6 +2,7 @@ import StyleDictionary from 'style-dictionary';
|
|
|
2
2
|
import { borderToCss, colorToRgbAlpha, colorToHex, 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
|
import { themeOverrides } from './preprocessors/themeOverrides.js';
|
|
5
|
+
import { colorAlphaToCss } from './transformers/colorAlphaToCss.js';
|
|
5
6
|
/**
|
|
6
7
|
* @name {@link PrimerStyleDictionary}
|
|
7
8
|
* @description Returns style dictionary object with primer preset that includes parsers, formats and transformers
|
|
@@ -58,6 +59,7 @@ PrimerStyleDictionary.registerFormat({
|
|
|
58
59
|
* Transformers
|
|
59
60
|
*
|
|
60
61
|
*/
|
|
62
|
+
PrimerStyleDictionary.registerTransform(colorAlphaToCss);
|
|
61
63
|
PrimerStyleDictionary.registerTransform(colorToRgbAlpha);
|
|
62
64
|
PrimerStyleDictionary.registerTransform(colorToRgbaFloat);
|
|
63
65
|
PrimerStyleDictionary.registerTransform(colorToHex);
|
|
@@ -7,7 +7,6 @@ export declare const colorToken: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7
7
|
$type: z.ZodLiteral<"string" | "number" | "border" | "color" | "fontFamily" | "fontWeight" | "dimension" | "duration" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange">;
|
|
8
8
|
alpha: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodAny, any, any>>>;
|
|
9
9
|
$extensions: z.ZodOptional<z.ZodObject<{
|
|
10
|
-
alpha: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
11
10
|
'org.primer.figma': z.ZodOptional<z.ZodObject<{
|
|
12
11
|
collection: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
13
12
|
modeOverride: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
@@ -55,8 +54,7 @@ export declare const colorToken: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
55
54
|
'dark-high-contrast'?: string | undefined;
|
|
56
55
|
'dark-dimmed'?: string | undefined;
|
|
57
56
|
}>>;
|
|
58
|
-
}, "
|
|
59
|
-
alpha?: number | null | undefined;
|
|
57
|
+
}, "strict", z.ZodTypeAny, {
|
|
60
58
|
'org.primer.figma'?: {
|
|
61
59
|
group?: string | undefined;
|
|
62
60
|
collection?: string | undefined;
|
|
@@ -75,7 +73,6 @@ export declare const colorToken: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
75
73
|
'dark-dimmed'?: string | undefined;
|
|
76
74
|
} | undefined;
|
|
77
75
|
}, {
|
|
78
|
-
alpha?: number | null | undefined;
|
|
79
76
|
'org.primer.figma'?: {
|
|
80
77
|
group?: string | undefined;
|
|
81
78
|
collection?: string | undefined;
|
|
@@ -101,7 +98,6 @@ export declare const colorToken: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
101
98
|
$description?: string | undefined;
|
|
102
99
|
$deprecated?: string | boolean | undefined;
|
|
103
100
|
$extensions?: {
|
|
104
|
-
alpha?: number | null | undefined;
|
|
105
101
|
'org.primer.figma'?: {
|
|
106
102
|
group?: string | undefined;
|
|
107
103
|
collection?: string | undefined;
|
|
@@ -127,7 +123,6 @@ export declare const colorToken: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
127
123
|
$description?: string | undefined;
|
|
128
124
|
$deprecated?: string | boolean | undefined;
|
|
129
125
|
$extensions?: {
|
|
130
|
-
alpha?: number | null | undefined;
|
|
131
126
|
'org.primer.figma'?: {
|
|
132
127
|
group?: string | undefined;
|
|
133
128
|
collection?: string | undefined;
|
|
@@ -13,7 +13,6 @@ export const colorToken = baseToken
|
|
|
13
13
|
alpha: alphaValue.optional().nullable(),
|
|
14
14
|
$extensions: z
|
|
15
15
|
.object({
|
|
16
|
-
alpha: z.number().min(0).max(1).optional().nullable(),
|
|
17
16
|
'org.primer.figma': z
|
|
18
17
|
.object({
|
|
19
18
|
collection: collection([
|
|
@@ -64,6 +63,7 @@ export const colorToken = baseToken
|
|
|
64
63
|
.strict()
|
|
65
64
|
.optional(),
|
|
66
65
|
})
|
|
66
|
+
.strict()
|
|
67
67
|
.optional(),
|
|
68
68
|
})
|
|
69
69
|
.strict();
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { isColorWithAlpha } from '../filters/isColorWithAlpha.js';
|
|
2
|
+
import { getTokenValue } from './utilities/getTokenValue.js';
|
|
3
|
+
export const cssColorMix = (colorA, colorB, colorBPercent) => {
|
|
4
|
+
if (colorBPercent < 0 || colorBPercent > 1) {
|
|
5
|
+
throw new Error(`Invalid argument for "cssColorMix", colorBPercent must be between 0 and 1, ${colorBPercent} provided.`);
|
|
6
|
+
}
|
|
7
|
+
if (colorBPercent === 0)
|
|
8
|
+
return colorA;
|
|
9
|
+
if (colorBPercent === 1)
|
|
10
|
+
return colorB;
|
|
11
|
+
return `color-mix(in srgb, ${colorA}, ${colorB} ${colorBPercent * 100}%)`;
|
|
12
|
+
};
|
|
13
|
+
export const colorAlphaToCss = {
|
|
14
|
+
name: 'colorAlpha/css',
|
|
15
|
+
type: 'value',
|
|
16
|
+
transitive: true,
|
|
17
|
+
filter: isColorWithAlpha,
|
|
18
|
+
transform: (token) => {
|
|
19
|
+
if (!token.alpha || token.alpha === null)
|
|
20
|
+
return getTokenValue(token);
|
|
21
|
+
return cssColorMix(getTokenValue(token), 'transparent', 1 - token.alpha);
|
|
22
|
+
},
|
|
23
|
+
};
|
|
@@ -14,8 +14,7 @@ export const colorToHex = {
|
|
|
14
14
|
transitive: true,
|
|
15
15
|
filter: isColor,
|
|
16
16
|
transform: (token) => {
|
|
17
|
-
|
|
18
|
-
const alphaValue = (_a = token.alpha) !== null && _a !== void 0 ? _a : (_b = token.$extensions) === null || _b === void 0 ? void 0 : _b.alpha;
|
|
17
|
+
const alphaValue = token.alpha;
|
|
19
18
|
if (alphaValue === null || alphaValue === undefined) {
|
|
20
19
|
return toHex(getTokenValue(token));
|
|
21
20
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--base-easing-linear: cubic-bezier(0, 0, 1, 1); /* Ideal for non-movement properties, like opacity or background color. */
|
|
3
|
-
--base-easing-easeIn: cubic-bezier(0.7, 0.1, 0.75, 0.9); /* Ideal for movement that starts on the page and ends off the page. */
|
|
4
|
-
--base-easing-easeOut: cubic-bezier(0.16, 1, 0.3, 1); /* Ideal for movement that starts off the page and ends on the page. */
|
|
5
|
-
--base-easing-easeInOut: cubic-bezier(0.6, 0, 0.2, 1); /* Ideal for movement that starts and ends on the page. */
|
|
6
2
|
--base-duration-0: 0ms;
|
|
7
|
-
--base-duration-
|
|
3
|
+
--base-duration-1000: 1s;
|
|
8
4
|
--base-duration-200: 200ms;
|
|
9
5
|
--base-duration-300: 300ms;
|
|
10
6
|
--base-duration-400: 400ms;
|
|
11
7
|
--base-duration-500: 500ms;
|
|
12
8
|
--base-duration-600: 600ms;
|
|
13
9
|
--base-duration-700: 700ms;
|
|
10
|
+
--base-duration-75: 75ms;
|
|
14
11
|
--base-duration-800: 800ms;
|
|
15
12
|
--base-duration-900: 900ms;
|
|
16
|
-
--base-
|
|
13
|
+
--base-easing-easeIn: cubic-bezier(0.7, 0.1, 0.75, 0.9); /* Ideal for movement that starts on the page and ends off the page. */
|
|
14
|
+
--base-easing-easeInOut: cubic-bezier(0.6, 0, 0.2, 1); /* Ideal for movement that starts and ends on the page. */
|
|
15
|
+
--base-easing-easeOut: cubic-bezier(0.16, 1, 0.3, 1); /* Ideal for movement that starts off the page and ends on the page. */
|
|
16
|
+
--base-easing-linear: cubic-bezier(0, 0, 1, 1); /* Ideal for non-movement properties, like opacity or background color. */
|
|
17
17
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--base-size-
|
|
3
|
-
--base-size-4: 0.25rem;
|
|
4
|
-
--base-size-6: 0.375rem;
|
|
5
|
-
--base-size-8: 0.5rem;
|
|
2
|
+
--base-size-112: 7rem;
|
|
6
3
|
--base-size-12: 0.75rem;
|
|
4
|
+
--base-size-128: 8rem;
|
|
7
5
|
--base-size-16: 1rem;
|
|
6
|
+
--base-size-2: 0.125rem;
|
|
8
7
|
--base-size-20: 1.25rem;
|
|
9
8
|
--base-size-24: 1.5rem;
|
|
10
9
|
--base-size-28: 1.75rem;
|
|
11
10
|
--base-size-32: 2rem;
|
|
12
11
|
--base-size-36: 2.25rem;
|
|
12
|
+
--base-size-4: 0.25rem;
|
|
13
13
|
--base-size-40: 2.5rem;
|
|
14
14
|
--base-size-44: 2.75rem;
|
|
15
15
|
--base-size-48: 3rem;
|
|
16
|
+
--base-size-6: 0.375rem;
|
|
16
17
|
--base-size-64: 4rem;
|
|
18
|
+
--base-size-8: 0.5rem;
|
|
17
19
|
--base-size-80: 5rem;
|
|
18
20
|
--base-size-96: 6rem;
|
|
19
|
-
--base-size-112: 7rem;
|
|
20
|
-
--base-size-128: 8rem;
|
|
21
21
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--motion-loading-delay-default: var(--base-duration-1000); /* The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies. */
|
|
3
|
+
--motion-skeletonLoader-shimmer-duration-scale: var(--base-duration-1000); /* The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right) */
|
|
3
4
|
--motion-spinner-duration-rotation: var(--base-duration-1000); /* The amount of time it takes the "Spinner" loading indicator to make a full 360deg rotation */
|
|
4
5
|
--motion-spinner-easing-rotation: var(--base-easing-linear); /* The easing curve for the "Spinner" loading indicator rotation */
|
|
5
|
-
--motion-skeletonLoader-shimmer-duration-scale: var(--base-duration-1000); /* The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right) */
|
|
6
6
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--
|
|
3
|
-
--
|
|
4
|
-
--
|
|
2
|
+
--borderRadius-default: 0.375rem;
|
|
3
|
+
--borderRadius-full: 624.9375rem; /* Use this border radius for pill shaped elements */
|
|
4
|
+
--borderRadius-large: 0.75rem;
|
|
5
|
+
--borderRadius-medium: 0.375rem;
|
|
6
|
+
--borderRadius-small: 0.1875rem;
|
|
5
7
|
--borderWidth-default: 0.0625rem;
|
|
6
|
-
--borderWidth-thin: 0.0625rem;
|
|
7
8
|
--borderWidth-thick: 0.125rem;
|
|
8
9
|
--borderWidth-thicker: 0.25rem;
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--borderRadius-default: 0.375rem;
|
|
10
|
+
--borderWidth-thin: 0.0625rem;
|
|
11
|
+
--boxShadow-thick: inset 0 0 0 0.125rem;
|
|
12
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem;
|
|
13
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /* Thin shadow for borders */
|
|
14
14
|
--outline-focus-offset: -0.125rem;
|
|
15
15
|
--outline-focus-width: 0.125rem;
|
|
16
16
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--breakpoint-xsmall: 20rem;
|
|
3
|
-
--breakpoint-small: 34rem;
|
|
4
|
-
--breakpoint-medium: 48rem;
|
|
5
2
|
--breakpoint-large: 63.25rem;
|
|
3
|
+
--breakpoint-medium: 48rem;
|
|
4
|
+
--breakpoint-small: 34rem;
|
|
6
5
|
--breakpoint-xlarge: 80rem;
|
|
6
|
+
--breakpoint-xsmall: 20rem;
|
|
7
7
|
--breakpoint-xxlarge: 87.5rem;
|
|
8
8
|
}
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--control-
|
|
3
|
-
--control-
|
|
4
|
-
--control-
|
|
5
|
-
--control-
|
|
6
|
-
--control-
|
|
7
|
-
--control-
|
|
8
|
-
--control-
|
|
9
|
-
--control-xsmall-paddingInline-spacious: 0.75rem;
|
|
10
|
-
--control-xsmall-gap: 0.25rem;
|
|
11
|
-
--control-small-size: 1.75rem;
|
|
12
|
-
--control-small-lineBoxHeight: 1.25rem;
|
|
13
|
-
--control-small-paddingBlock: 0.25rem;
|
|
14
|
-
--control-small-paddingInline-condensed: 0.5rem;
|
|
15
|
-
--control-small-paddingInline-normal: 0.75rem;
|
|
16
|
-
--control-small-gap: 0.25rem;
|
|
17
|
-
--control-medium-size: 2rem;
|
|
2
|
+
--control-large-gap: 0.5rem;
|
|
3
|
+
--control-large-lineBoxHeight: 1.25rem;
|
|
4
|
+
--control-large-paddingBlock: 0.625rem;
|
|
5
|
+
--control-large-paddingInline-normal: 0.75rem;
|
|
6
|
+
--control-large-paddingInline-spacious: 1rem;
|
|
7
|
+
--control-large-size: 2.5rem;
|
|
8
|
+
--control-medium-gap: 0.5rem;
|
|
18
9
|
--control-medium-lineBoxHeight: 1.25rem;
|
|
19
10
|
--control-medium-paddingBlock: 0.375rem;
|
|
20
11
|
--control-medium-paddingInline-condensed: 0.5rem;
|
|
21
12
|
--control-medium-paddingInline-normal: 0.75rem;
|
|
22
13
|
--control-medium-paddingInline-spacious: 1rem;
|
|
23
|
-
--control-medium-
|
|
24
|
-
--control-
|
|
25
|
-
--control-
|
|
26
|
-
--control-
|
|
27
|
-
--control-
|
|
28
|
-
--control-
|
|
29
|
-
--control-
|
|
30
|
-
--control-
|
|
14
|
+
--control-medium-size: 2rem;
|
|
15
|
+
--control-minTarget-coarse: 2.75rem;
|
|
16
|
+
--control-minTarget-fine: 1rem;
|
|
17
|
+
--control-small-gap: 0.25rem;
|
|
18
|
+
--control-small-lineBoxHeight: 1.25rem;
|
|
19
|
+
--control-small-paddingBlock: 0.25rem;
|
|
20
|
+
--control-small-paddingInline-condensed: 0.5rem;
|
|
21
|
+
--control-small-paddingInline-normal: 0.75rem;
|
|
22
|
+
--control-small-size: 1.75rem;
|
|
23
|
+
--control-xlarge-gap: 0.5rem;
|
|
31
24
|
--control-xlarge-lineBoxHeight: 1.25rem;
|
|
32
25
|
--control-xlarge-paddingBlock: 0.875rem;
|
|
33
26
|
--control-xlarge-paddingInline-normal: 0.75rem;
|
|
34
27
|
--control-xlarge-paddingInline-spacious: 1rem;
|
|
35
|
-
--control-xlarge-
|
|
36
|
-
--
|
|
37
|
-
--
|
|
38
|
-
--
|
|
39
|
-
--
|
|
28
|
+
--control-xlarge-size: 3rem;
|
|
29
|
+
--control-xsmall-gap: 0.25rem;
|
|
30
|
+
--control-xsmall-lineBoxHeight: 1.25rem;
|
|
31
|
+
--control-xsmall-paddingBlock: 0.125rem;
|
|
32
|
+
--control-xsmall-paddingInline-condensed: 0.25rem;
|
|
33
|
+
--control-xsmall-paddingInline-normal: 0.5rem;
|
|
34
|
+
--control-xsmall-paddingInline-spacious: 0.75rem;
|
|
35
|
+
--control-xsmall-size: 1.5rem;
|
|
40
36
|
--controlStack-large-gap-auto: 0.5rem;
|
|
41
37
|
--controlStack-large-gap-condensed: 0.5rem;
|
|
42
38
|
--controlStack-large-gap-spacious: 0.75rem;
|
|
43
|
-
--
|
|
44
|
-
--
|
|
45
|
-
--
|
|
46
|
-
--
|
|
47
|
-
--
|
|
48
|
-
--stack-padding-normal: 1rem;
|
|
49
|
-
--stack-padding-spacious: 1.5rem;
|
|
50
|
-
--stack-gap-condensed: 0.5rem;
|
|
51
|
-
--stack-gap-normal: 1rem;
|
|
52
|
-
--stack-gap-spacious: 1.5rem;
|
|
53
|
-
--overlay-width-xsmall: 12rem;
|
|
54
|
-
--overlay-width-small: 20rem;
|
|
55
|
-
--overlay-width-medium: 30rem;
|
|
56
|
-
--overlay-width-large: 40rem;
|
|
57
|
-
--overlay-width-xlarge: 60rem;
|
|
58
|
-
--overlay-height-small: 16rem;
|
|
59
|
-
--overlay-height-medium: 20rem;
|
|
39
|
+
--controlStack-medium-gap-condensed: 0.5rem;
|
|
40
|
+
--controlStack-medium-gap-spacious: 0.75rem;
|
|
41
|
+
--controlStack-small-gap-condensed: 0.5rem;
|
|
42
|
+
--controlStack-small-gap-spacious: 1rem;
|
|
43
|
+
--overlay-borderRadius: 0.375rem;
|
|
60
44
|
--overlay-height-large: 27rem;
|
|
45
|
+
--overlay-height-medium: 20rem;
|
|
46
|
+
--overlay-height-small: 16rem;
|
|
61
47
|
--overlay-height-xlarge: 37.5rem;
|
|
62
|
-
--overlay-
|
|
48
|
+
--overlay-offset: 0.25rem;
|
|
63
49
|
--overlay-padding-condensed: 0.5rem;
|
|
50
|
+
--overlay-padding-normal: 1rem;
|
|
64
51
|
--overlay-paddingBlock-condensed: 0.25rem;
|
|
65
52
|
--overlay-paddingBlock-normal: 0.75rem;
|
|
66
|
-
--overlay-
|
|
67
|
-
--overlay-
|
|
53
|
+
--overlay-width-large: 40rem;
|
|
54
|
+
--overlay-width-medium: 30rem;
|
|
55
|
+
--overlay-width-small: 20rem;
|
|
56
|
+
--overlay-width-xlarge: 60rem;
|
|
57
|
+
--overlay-width-xsmall: 12rem;
|
|
58
|
+
--spinner-size-large: 4rem;
|
|
59
|
+
--spinner-size-medium: 2rem;
|
|
60
|
+
--spinner-size-small: 1rem;
|
|
61
|
+
--spinner-strokeWidth-default: 0.125rem;
|
|
62
|
+
--stack-gap-condensed: 0.5rem;
|
|
63
|
+
--stack-gap-normal: 1rem;
|
|
64
|
+
--stack-gap-spacious: 1.5rem;
|
|
65
|
+
--stack-padding-condensed: 0.5rem;
|
|
66
|
+
--stack-padding-normal: 1rem;
|
|
67
|
+
--stack-padding-spacious: 1.5rem;
|
|
68
68
|
}
|