@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.
Files changed (74) hide show
  1. package/dist/build/formats/cssAdvanced.js +2 -2
  2. package/dist/build/primerStyleDictionary.js +2 -0
  3. package/dist/build/schemas/colorToken.d.ts +1 -6
  4. package/dist/build/schemas/colorToken.js +1 -1
  5. package/dist/build/transformers/colorAlphaToCss.d.ts +3 -0
  6. package/dist/build/transformers/colorAlphaToCss.js +23 -0
  7. package/dist/build/transformers/colorToHex.js +1 -2
  8. package/dist/css/base/motion/motion.css +6 -6
  9. package/dist/css/base/size/size.css +6 -6
  10. package/dist/css/base/typography/typography.css +1 -1
  11. package/dist/css/functional/motion/motion.css +1 -1
  12. package/dist/css/functional/size/border.css +9 -9
  13. package/dist/css/functional/size/breakpoints.css +3 -3
  14. package/dist/css/functional/size/size-coarse.css +1 -1
  15. package/dist/css/functional/size/size-fine.css +1 -1
  16. package/dist/css/functional/size/size.css +49 -49
  17. package/dist/css/functional/themes/dark-colorblind.css +1124 -1124
  18. package/dist/css/functional/themes/dark-dimmed.css +1124 -1124
  19. package/dist/css/functional/themes/dark-high-contrast.css +1124 -1124
  20. package/dist/css/functional/themes/dark-tritanopia.css +1124 -1124
  21. package/dist/css/functional/themes/dark.css +1124 -1124
  22. package/dist/css/functional/themes/light-colorblind.css +1124 -1124
  23. package/dist/css/functional/themes/light-high-contrast.css +1124 -1124
  24. package/dist/css/functional/themes/light-tritanopia.css +1124 -1124
  25. package/dist/css/functional/themes/light.css +1124 -1124
  26. package/dist/css/functional/typography/typography.css +28 -28
  27. package/dist/css/primitives.css +105 -105
  28. package/dist/docs/functional/themes/dark-colorblind.json +47 -59
  29. package/dist/docs/functional/themes/dark-dimmed.json +13 -5
  30. package/dist/docs/functional/themes/dark-high-contrast.json +39 -17
  31. package/dist/docs/functional/themes/dark-tritanopia.json +57 -85
  32. package/dist/docs/functional/themes/dark.json +41 -33
  33. package/dist/docs/functional/themes/light-colorblind.json +37 -33
  34. package/dist/docs/functional/themes/light-high-contrast.json +35 -13
  35. package/dist/docs/functional/themes/light-tritanopia.json +37 -33
  36. package/dist/docs/functional/themes/light.json +35 -27
  37. package/dist/figma/themes/dark-colorblind.json +25 -24
  38. package/dist/figma/themes/dark-dimmed.json +6 -4
  39. package/dist/figma/themes/dark-high-contrast.json +20 -2
  40. package/dist/figma/themes/dark-tritanopia.json +29 -27
  41. package/dist/figma/themes/dark.json +31 -28
  42. package/dist/figma/themes/light-colorblind.json +16 -16
  43. package/dist/figma/themes/light-high-contrast.json +16 -0
  44. package/dist/figma/themes/light-tritanopia.json +16 -16
  45. package/dist/figma/themes/light.json +16 -16
  46. package/dist/internalCss/dark-colorblind.css +1594 -1594
  47. package/dist/internalCss/dark-dimmed.css +1594 -1594
  48. package/dist/internalCss/dark-high-contrast.css +1594 -1594
  49. package/dist/internalCss/dark-tritanopia.css +1594 -1594
  50. package/dist/internalCss/dark.css +1594 -1594
  51. package/dist/internalCss/light-colorblind.css +1560 -1560
  52. package/dist/internalCss/light-high-contrast.css +1560 -1560
  53. package/dist/internalCss/light-tritanopia.css +1560 -1560
  54. package/dist/internalCss/light.css +1560 -1560
  55. package/dist/styleLint/functional/themes/dark-colorblind.json +47 -59
  56. package/dist/styleLint/functional/themes/dark-dimmed.json +13 -5
  57. package/dist/styleLint/functional/themes/dark-high-contrast.json +39 -17
  58. package/dist/styleLint/functional/themes/dark-tritanopia.json +57 -85
  59. package/dist/styleLint/functional/themes/dark.json +41 -33
  60. package/dist/styleLint/functional/themes/light-colorblind.json +37 -33
  61. package/dist/styleLint/functional/themes/light-high-contrast.json +35 -13
  62. package/dist/styleLint/functional/themes/light-tritanopia.json +37 -33
  63. package/dist/styleLint/functional/themes/light.json +35 -27
  64. package/package.json +1 -5
  65. package/src/tokens/component/topicTag.json5 +19 -0
  66. package/src/tokens/functional/color/dark/app-dark.json5 +0 -14
  67. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +0 -6
  68. package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +5 -15
  69. package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +9 -27
  70. package/src/tokens/functional/color/dark/primitives-dark.json5 +3 -3
  71. package/src/tokens/functional/color/light/app-light.json5 +0 -13
  72. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +0 -6
  73. package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +1 -3
  74. 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
- }, "strip", z.ZodTypeAny, {
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,3 @@
1
+ import { Transform } from 'style-dictionary/types';
2
+ export declare const cssColorMix: (colorA: string, colorB: string, colorBPercent: number) => string;
3
+ export declare const colorAlphaToCss: Transform;
@@ -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
- var _a, _b;
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-75: 75ms;
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-duration-1000: 1s;
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-2: 0.125rem;
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
  --base-text-weight-light: 300;
3
- --base-text-weight-normal: 400;
4
3
  --base-text-weight-medium: 500;
4
+ --base-text-weight-normal: 400;
5
5
  --base-text-weight-semibold: 600;
6
6
  }
@@ -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
- --boxShadow-thin: inset 0 0 0 0.0625rem; /* Thin shadow for borders */
3
- --boxShadow-thick: inset 0 0 0 0.125rem;
4
- --boxShadow-thicker: inset 0 0 0 0.25rem;
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
- --borderRadius-small: 0.1875rem;
10
- --borderRadius-medium: 0.375rem;
11
- --borderRadius-large: 0.75rem;
12
- --borderRadius-full: 624.9375rem; /* Use this border radius for pill shaped elements */
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,7 +1,7 @@
1
1
  @media (pointer: coarse) {
2
2
  :root {
3
3
  --control-minTarget-auto: 2.75rem;
4
- --controlStack-small-gap-auto: 1rem;
5
4
  --controlStack-medium-gap-auto: 0.75rem;
5
+ --controlStack-small-gap-auto: 1rem;
6
6
  }
7
7
  }
@@ -1,7 +1,7 @@
1
1
  @media (pointer: fine) {
2
2
  :root {
3
3
  --control-minTarget-auto: 1rem;
4
- --controlStack-small-gap-auto: 0.5rem;
5
4
  --controlStack-medium-gap-auto: 0.5rem;
5
+ --controlStack-small-gap-auto: 0.5rem;
6
6
  }
7
7
  }
@@ -1,68 +1,68 @@
1
1
  :root {
2
- --control-minTarget-fine: 1rem;
3
- --control-minTarget-coarse: 2.75rem;
4
- --control-xsmall-size: 1.5rem;
5
- --control-xsmall-lineBoxHeight: 1.25rem;
6
- --control-xsmall-paddingBlock: 0.125rem;
7
- --control-xsmall-paddingInline-condensed: 0.25rem;
8
- --control-xsmall-paddingInline-normal: 0.5rem;
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-gap: 0.5rem;
24
- --control-large-size: 2.5rem;
25
- --control-large-lineBoxHeight: 1.25rem;
26
- --control-large-paddingBlock: 0.625rem;
27
- --control-large-paddingInline-normal: 0.75rem;
28
- --control-large-paddingInline-spacious: 1rem;
29
- --control-large-gap: 0.5rem;
30
- --control-xlarge-size: 3rem;
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-gap: 0.5rem;
36
- --controlStack-small-gap-condensed: 0.5rem;
37
- --controlStack-small-gap-spacious: 1rem;
38
- --controlStack-medium-gap-condensed: 0.5rem;
39
- --controlStack-medium-gap-spacious: 0.75rem;
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
- --spinner-strokeWidth-default: 0.125rem;
44
- --spinner-size-small: 1rem;
45
- --spinner-size-medium: 2rem;
46
- --spinner-size-large: 4rem;
47
- --stack-padding-condensed: 0.5rem;
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-padding-normal: 1rem;
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-borderRadius: 0.375rem;
67
- --overlay-offset: 0.25rem;
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
  }