@wordpress/theme 0.1.0 → 0.2.0

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 (168) hide show
  1. package/README.md +69 -9
  2. package/bin/generate-default-ramps/index.ts +49 -0
  3. package/bin/generate-primitive-tokens/index.ts +14 -9
  4. package/bin/terrazzo-plugin-ds-tokens-docs/index.ts +5 -24
  5. package/bin/terrazzo-plugin-figma-ds-token-manager/index.ts +11 -4
  6. package/bin/terrazzo-plugin-inline-alias-values/index.ts +84 -0
  7. package/bin/terrazzo-plugin-known-wpds-css-variables/index.ts +19 -39
  8. package/build/color-ramps/index.js +21 -39
  9. package/build/color-ramps/index.js.map +3 -3
  10. package/build/color-ramps/lib/color-utils.js +39 -0
  11. package/build/color-ramps/lib/color-utils.js.map +7 -0
  12. package/build/color-ramps/lib/constants.js +20 -27
  13. package/build/color-ramps/lib/constants.js.map +3 -3
  14. package/build/color-ramps/lib/default-ramps.js +220 -0
  15. package/build/color-ramps/lib/default-ramps.js.map +7 -0
  16. package/build/color-ramps/lib/find-color-with-constraints.js +60 -91
  17. package/build/color-ramps/lib/find-color-with-constraints.js.map +3 -3
  18. package/build/color-ramps/lib/index.js +77 -119
  19. package/build/color-ramps/lib/index.js.map +3 -3
  20. package/build/color-ramps/lib/ramp-configs.js +15 -14
  21. package/build/color-ramps/lib/ramp-configs.js.map +2 -2
  22. package/build/color-ramps/lib/register-color-spaces.js +7 -0
  23. package/build/color-ramps/lib/register-color-spaces.js.map +7 -0
  24. package/build/color-ramps/lib/taper-chroma.js +35 -27
  25. package/build/color-ramps/lib/taper-chroma.js.map +3 -3
  26. package/build/color-ramps/lib/types.js +2 -1
  27. package/build/color-ramps/lib/types.js.map +1 -1
  28. package/build/color-ramps/lib/utils.js +75 -11
  29. package/build/color-ramps/lib/utils.js.map +2 -2
  30. package/build/context.js +3 -2
  31. package/build/context.js.map +1 -1
  32. package/build/index.js +2 -1
  33. package/build/index.js.map +1 -1
  34. package/build/lock-unlock.js +3 -2
  35. package/build/lock-unlock.js.map +1 -1
  36. package/build/prebuilt/js/design-tokens.js +19 -11
  37. package/build/prebuilt/js/design-tokens.js.map +2 -2
  38. package/build/prebuilt/json/figma.json +165 -783
  39. package/build/prebuilt/ts/color-tokens.js +137 -0
  40. package/build/prebuilt/ts/color-tokens.js.map +7 -0
  41. package/build/private-apis.js +3 -2
  42. package/build/private-apis.js.map +1 -1
  43. package/build/theme-provider.js +19 -17
  44. package/build/theme-provider.js.map +4 -4
  45. package/build/token-id.js +30 -0
  46. package/build/token-id.js.map +7 -0
  47. package/build/types/css-modules.d.js +0 -1
  48. package/build/types.js +2 -1
  49. package/build/types.js.map +1 -1
  50. package/build/use-theme-provider-styles.js +67 -62
  51. package/build/use-theme-provider-styles.js.map +3 -3
  52. package/build-module/color-ramps/index.js +20 -28
  53. package/build-module/color-ramps/index.js.map +2 -2
  54. package/build-module/color-ramps/lib/color-utils.js +19 -0
  55. package/build-module/color-ramps/lib/color-utils.js.map +7 -0
  56. package/build-module/color-ramps/lib/constants.js +14 -11
  57. package/build-module/color-ramps/lib/constants.js.map +2 -2
  58. package/build-module/color-ramps/lib/default-ramps.js +196 -0
  59. package/build-module/color-ramps/lib/default-ramps.js.map +7 -0
  60. package/build-module/color-ramps/lib/find-color-with-constraints.js +61 -87
  61. package/build-module/color-ramps/lib/find-color-with-constraints.js.map +2 -2
  62. package/build-module/color-ramps/lib/index.js +85 -109
  63. package/build-module/color-ramps/lib/index.js.map +3 -3
  64. package/build-module/color-ramps/lib/ramp-configs.js +14 -13
  65. package/build-module/color-ramps/lib/ramp-configs.js.map +2 -2
  66. package/build-module/color-ramps/lib/register-color-spaces.js +7 -0
  67. package/build-module/color-ramps/lib/register-color-spaces.js.map +7 -0
  68. package/build-module/color-ramps/lib/taper-chroma.js +40 -16
  69. package/build-module/color-ramps/lib/taper-chroma.js.map +2 -2
  70. package/build-module/color-ramps/lib/utils.js +70 -6
  71. package/build-module/color-ramps/lib/utils.js.map +2 -2
  72. package/build-module/context.js +2 -1
  73. package/build-module/context.js.map +1 -1
  74. package/build-module/index.js +1 -0
  75. package/build-module/index.js.map +1 -1
  76. package/build-module/lock-unlock.js +2 -1
  77. package/build-module/lock-unlock.js.map +1 -1
  78. package/build-module/prebuilt/js/design-tokens.js +18 -10
  79. package/build-module/prebuilt/js/design-tokens.js.map +2 -2
  80. package/build-module/prebuilt/json/figma.json +165 -783
  81. package/build-module/prebuilt/ts/color-tokens.js +117 -0
  82. package/build-module/prebuilt/ts/color-tokens.js.map +7 -0
  83. package/build-module/private-apis.js +2 -1
  84. package/build-module/private-apis.js.map +1 -1
  85. package/build-module/theme-provider.js +18 -6
  86. package/build-module/theme-provider.js.map +3 -3
  87. package/build-module/token-id.js +6 -0
  88. package/build-module/token-id.js.map +7 -0
  89. package/build-module/use-theme-provider-styles.js +69 -57
  90. package/build-module/use-theme-provider-styles.js.map +2 -2
  91. package/build-types/color-ramps/index.d.ts +9 -16
  92. package/build-types/color-ramps/index.d.ts.map +1 -1
  93. package/build-types/color-ramps/lib/color-utils.d.ts +22 -0
  94. package/build-types/color-ramps/lib/color-utils.d.ts.map +1 -0
  95. package/build-types/color-ramps/lib/constants.d.ts +7 -9
  96. package/build-types/color-ramps/lib/constants.d.ts.map +1 -1
  97. package/build-types/color-ramps/lib/default-ramps.d.ts +7 -0
  98. package/build-types/color-ramps/lib/default-ramps.d.ts.map +1 -0
  99. package/build-types/color-ramps/lib/find-color-with-constraints.d.ts +8 -7
  100. package/build-types/color-ramps/lib/find-color-with-constraints.d.ts.map +1 -1
  101. package/build-types/color-ramps/lib/index.d.ts +5 -2
  102. package/build-types/color-ramps/lib/index.d.ts.map +1 -1
  103. package/build-types/color-ramps/lib/register-color-spaces.d.ts +2 -0
  104. package/build-types/color-ramps/lib/register-color-spaces.d.ts.map +1 -0
  105. package/build-types/color-ramps/lib/taper-chroma.d.ts +7 -3
  106. package/build-types/color-ramps/lib/taper-chroma.d.ts.map +1 -1
  107. package/build-types/color-ramps/lib/utils.d.ts +28 -5
  108. package/build-types/color-ramps/lib/utils.d.ts.map +1 -1
  109. package/build-types/color-ramps/stories/index.story.d.ts.map +1 -1
  110. package/build-types/prebuilt/ts/color-tokens.d.ts +7 -0
  111. package/build-types/prebuilt/ts/color-tokens.d.ts.map +1 -0
  112. package/build-types/stories/index.story.d.ts.map +1 -1
  113. package/build-types/theme-provider.d.ts.map +1 -1
  114. package/build-types/token-id.d.ts +9 -0
  115. package/build-types/token-id.d.ts.map +1 -0
  116. package/build-types/use-theme-provider-styles.d.ts +4 -0
  117. package/build-types/use-theme-provider-styles.d.ts.map +1 -1
  118. package/docs/ds-tokens.md +22 -156
  119. package/package.json +19 -9
  120. package/src/color-ramps/index.ts +24 -41
  121. package/src/color-ramps/lib/color-utils.ts +34 -0
  122. package/src/color-ramps/lib/constants.ts +13 -9
  123. package/src/color-ramps/lib/default-ramps.ts +200 -0
  124. package/src/color-ramps/lib/find-color-with-constraints.ts +83 -116
  125. package/src/color-ramps/lib/index.ts +107 -145
  126. package/src/color-ramps/lib/ramp-configs.ts +3 -3
  127. package/src/color-ramps/lib/register-color-spaces.ts +13 -0
  128. package/src/color-ramps/lib/taper-chroma.ts +47 -19
  129. package/src/color-ramps/lib/utils.ts +117 -14
  130. package/src/color-ramps/stories/index.story.tsx +16 -22
  131. package/src/color-ramps/test/__snapshots__/index.test.ts.snap +45722 -376
  132. package/src/color-ramps/test/index.test.ts +68 -29
  133. package/src/prebuilt/css/design-tokens.css +88 -355
  134. package/src/prebuilt/js/design-tokens.js +17 -10
  135. package/src/prebuilt/json/figma.json +165 -783
  136. package/src/prebuilt/ts/color-tokens.ts +117 -0
  137. package/src/stories/index.story.tsx +4 -18
  138. package/src/test/token-id.test.ts +12 -0
  139. package/src/token-id.ts +9 -0
  140. package/src/use-theme-provider-styles.ts +67 -60
  141. package/terrazzo.config.ts +15 -12
  142. package/tokens/color.json +221 -69
  143. package/tokens/dimension.json +75 -0
  144. package/tsconfig.bin.json +13 -0
  145. package/tsconfig.bin.tsbuildinfo +1 -0
  146. package/tsconfig.json +6 -4
  147. package/tsconfig.src.json +9 -0
  148. package/tsconfig.src.tsbuildinfo +1 -0
  149. package/bin/build-tokens.js +0 -83
  150. package/build/color-ramps/lib/cache-utils.js +0 -57
  151. package/build/color-ramps/lib/cache-utils.js.map +0 -7
  152. package/build/prebuilt/ts/design-tokens.js +0 -354
  153. package/build/prebuilt/ts/design-tokens.js.map +0 -7
  154. package/build/style.module.css.js +0 -2
  155. package/build-module/color-ramps/lib/cache-utils.js +0 -31
  156. package/build-module/color-ramps/lib/cache-utils.js.map +0 -7
  157. package/build-module/prebuilt/ts/design-tokens.js +0 -334
  158. package/build-module/prebuilt/ts/design-tokens.js.map +0 -7
  159. package/build-module/style.module.css.js +0 -1
  160. package/build-style/style.css +0 -3
  161. package/build-types/color-ramps/lib/cache-utils.d.ts +0 -22
  162. package/build-types/color-ramps/lib/cache-utils.d.ts.map +0 -1
  163. package/build-types/prebuilt/ts/design-tokens.d.ts +0 -7
  164. package/build-types/prebuilt/ts/design-tokens.d.ts.map +0 -1
  165. package/src/color-ramps/lib/cache-utils.ts +0 -56
  166. package/src/prebuilt/ts/design-tokens.ts +0 -335
  167. package/tokens/spacing.json +0 -45
  168. package/tsconfig.tsbuildinfo +0 -1
@@ -1,35 +1,42 @@
1
1
  /**
2
2
  * External dependencies
3
3
  */
4
- // Not sure why ESLint is erroring.
5
- // eslint-disable-next-line import/no-extraneous-dependencies
6
- import Color from 'colorjs.io';
4
+ import { parse, to, serialize, sRGB } from 'colorjs.io/fn';
7
5
 
8
6
  /**
9
7
  * Internal dependencies
10
8
  */
9
+ import '../lib/register-color-spaces';
11
10
  import { buildRamp } from '../lib';
12
11
  import { BG_RAMP_CONFIG, ACCENT_RAMP_CONFIG } from '../lib/ramp-configs';
13
12
  import { DEFAULT_SEED_COLORS } from '../lib/constants';
14
13
 
15
- describe( 'buildRamps', () => {
14
+ const lStops = [ 100, 90, 80, 70, 60, 50, 40, 30, 20, 10 ];
15
+ const sStops = [ 100, 80, 60, 40, 20, 0 ];
16
+ const hstops = [ 0, 60, 120, 180, 240, 300 ];
17
+
18
+ describe.skip( 'buildRamps', () => {
16
19
  it( 'background ramp snapshots', () => {
17
- // Representative sample covering edge cases and various hue/saturation/lightness combinations
18
- const allBgColors = [
19
- 'hsl(0deg 0% 30%)', // Dark gray (desaturated)
20
- 'hsl(120deg 50% 60%)', // Mid-range green
21
- 'hsl(240deg 100% 30%)', // Dark saturated blue
22
- ];
20
+ const allBgColors = lStops.flatMap( ( l ) =>
21
+ sStops.flatMap( ( s ) =>
22
+ hstops.map( ( h ) => `hsl(${ h }deg ${ s }% ${ l }%)` )
23
+ )
24
+ );
23
25
 
24
26
  expect(
25
27
  allBgColors.map( ( bg ) => {
26
28
  const ramp = buildRamp( bg, BG_RAMP_CONFIG );
27
- const seedOriginal = new Color( bg )
28
- .to( 'srgb' )
29
- .toString( { format: 'hex', inGamut: true } );
30
- const seedComputed = new Color( ramp.ramp.surface2.color )
31
- .to( 'srgb' )
32
- .toString( { format: 'hex', inGamut: true } );
29
+ const seedOriginal = serialize( to( parse( bg ), sRGB ), {
30
+ format: 'hex',
31
+ inGamut: true,
32
+ } );
33
+ const seedComputed = serialize(
34
+ to( parse( ramp.ramp.surface2.color ), sRGB ),
35
+ {
36
+ format: 'hex',
37
+ inGamut: true,
38
+ }
39
+ );
33
40
 
34
41
  return {
35
42
  input: {
@@ -41,42 +48,74 @@ describe( 'buildRamps', () => {
41
48
  };
42
49
  } )
43
50
  ).toMatchSnapshot();
44
- } );
51
+ }, 10000 );
45
52
 
46
53
  it( 'accent ramp snapshots', () => {
47
- // Representative sample covering key option combinations
48
54
  const options = [
49
55
  {
50
56
  pinLightness: { stepName: 'surface2', value: 0 },
51
57
  mainDirection: 'lighter',
52
58
  },
53
59
  {
54
- pinLightness: { stepName: 'surface2', value: 0.5 },
60
+ pinLightness: { stepName: 'surface2', value: 0.1 },
61
+ mainDirection: 'lighter',
62
+ },
63
+ {
64
+ pinLightness: { stepName: 'surface2', value: 0.2 },
65
+ mainDirection: 'lighter',
66
+ },
67
+ {
68
+ pinLightness: { stepName: 'surface2', value: 0.3 },
69
+ mainDirection: 'lighter',
70
+ },
71
+ {
72
+ pinLightness: { stepName: 'surface2', value: 0.4 },
55
73
  mainDirection: 'lighter',
56
74
  },
75
+ {
76
+ pinLightness: { stepName: 'surface2', value: 0.7 },
77
+ mainDirection: 'darker',
78
+ },
79
+ {
80
+ pinLightness: { stepName: 'surface2', value: 0.8 },
81
+ mainDirection: 'darker',
82
+ },
83
+ {
84
+ pinLightness: { stepName: 'surface2', value: 0.9 },
85
+ mainDirection: 'darker',
86
+ },
57
87
  {
58
88
  pinLightness: { stepName: 'surface2', value: 1 },
59
89
  mainDirection: 'darker',
60
90
  },
61
91
  ] as const;
62
92
 
63
- // Representative sample covering different hue ranges and saturation levels
64
93
  const allPrimaryColors = [
65
- DEFAULT_SEED_COLORS.primary, // WP blue (mid saturation)
66
- DEFAULT_SEED_COLORS.error, // WP error red (saturated)
67
- '#c7a589', // WP Admin "coffee" theme accent (desaturated/beige)
94
+ ...Object.values( DEFAULT_SEED_COLORS ),
95
+ '#52accc', // WP Admin "blue" theme accent
96
+ '#c7a589', // WP Admin "coffee" theme accent
97
+ '#a3b745', // WP Admin "ectoplasm" theme accent
98
+ '#dd823b', // WP Admin "sunrise" theme accent
68
99
  ];
69
100
 
70
101
  expect(
71
102
  allPrimaryColors.map( ( primary ) =>
72
103
  options.map( ( o ) => {
73
104
  const ramp = buildRamp( primary, ACCENT_RAMP_CONFIG, o );
74
- const seedOriginal = new Color( primary )
75
- .to( 'srgb' )
76
- .toString( { format: 'hex', inGamut: true } );
77
- const seedComputed = new Color( ramp.ramp.bgFill1.color )
78
- .to( 'srgb' )
79
- .toString( { format: 'hex', inGamut: true } );
105
+ const seedOriginal = serialize(
106
+ to( parse( primary ), sRGB ),
107
+ {
108
+ format: 'hex',
109
+ inGamut: true,
110
+ }
111
+ );
112
+ const seedComputed = serialize(
113
+ to( parse( ramp.ramp.bgFill1.color ), sRGB ),
114
+ {
115
+ format: 'hex',
116
+ inGamut: true,
117
+ }
118
+ );
80
119
 
81
120
  return {
82
121
  input: {
@@ -9,354 +9,97 @@
9
9
  --wpds-border-radius-x-small: 1px; /* Extra small radius */
10
10
  --wpds-border-width-focus: 2px; /* Border width for focus ring */
11
11
  --wpds-color-bg-interactive-brand: #00000000; /* Background color for interactive elements with brand tone and normal emphasis. */
12
- --wpds-color-bg-interactive-brand-active: var(
13
- --wpds-color-private-primary-surface2
14
- ); /* Background color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
15
- --wpds-color-bg-interactive-brand-disabled: var(
16
- --wpds-color-private-bg-surface5
17
- ); /* Background color for interactive elements with brand tone and normal emphasis, in their disabled state. */
18
- --wpds-color-bg-interactive-brand-strong: var(
19
- --wpds-color-private-primary-bg-fill1
20
- ); /* Background color for interactive elements with brand tone and strong emphasis. */
21
- --wpds-color-bg-interactive-brand-strong-active: var(
22
- --wpds-color-private-primary-bg-fill2
23
- ); /* Background color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
24
- --wpds-color-bg-interactive-brand-strong-disabled: var(
25
- --wpds-color-private-bg-surface6
26
- ); /* Background color for interactive elements with brand tone and strong emphasis, in their disabled state. */
12
+ --wpds-color-bg-interactive-brand-active: #f6f8fc; /* Background color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
13
+ --wpds-color-bg-interactive-brand-disabled: #e3e3e3; /* Background color for interactive elements with brand tone and normal emphasis, in their disabled state. */
14
+ --wpds-color-bg-interactive-brand-strong: #3858e9; /* Background color for interactive elements with brand tone and strong emphasis. */
15
+ --wpds-color-bg-interactive-brand-strong-active: #2e49da; /* Background color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
16
+ --wpds-color-bg-interactive-brand-strong-disabled: #d3d3d3; /* Background color for interactive elements with brand tone and strong emphasis, in their disabled state. */
27
17
  --wpds-color-bg-interactive-brand-weak: #00000000; /* Background color for interactive elements with brand tone and weak emphasis. */
28
- --wpds-color-bg-interactive-brand-weak-active: var(
29
- --wpds-color-private-primary-surface4
30
- ); /* Background color for interactive elements with brand tone and weak emphasis that are hovered, focused, or active. */
31
- --wpds-color-bg-interactive-brand-weak-disabled: var(
32
- --wpds-color-private-bg-surface5
33
- ); /* Background color for interactive elements with brand tone and weak emphasis, in their disabled state. */
18
+ --wpds-color-bg-interactive-brand-weak-active: #e5ebf7; /* Background color for interactive elements with brand tone and weak emphasis that are hovered, focused, or active. */
19
+ --wpds-color-bg-interactive-brand-weak-disabled: #e3e3e3; /* Background color for interactive elements with brand tone and weak emphasis, in their disabled state. */
34
20
  --wpds-color-bg-interactive-neutral: #00000000; /* Background color for interactive elements with neutral tone and normal emphasis. */
35
- --wpds-color-bg-interactive-neutral-active: var(
36
- --wpds-color-private-bg-surface4
37
- ); /* Background color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
38
- --wpds-color-bg-interactive-neutral-disabled: var(
39
- --wpds-color-private-bg-surface5
40
- ); /* Background color for interactive elements with neutral tone and normal emphasis, in their disabled state. */
41
- --wpds-color-bg-interactive-neutral-strong: var(
42
- --wpds-color-private-bg-bg-fill-inverted1
43
- ); /* Background color for interactive elements with neutral tone and strong emphasis. */
44
- --wpds-color-bg-interactive-neutral-strong-active: var(
45
- --wpds-color-private-bg-bg-fill-inverted2
46
- ); /* Background color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
47
- --wpds-color-bg-interactive-neutral-strong-disabled: var(
48
- --wpds-color-private-bg-surface6
49
- ); /* Background color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
21
+ --wpds-color-bg-interactive-neutral-active: #eaeaea; /* Background color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
22
+ --wpds-color-bg-interactive-neutral-disabled: #e3e3e3; /* Background color for interactive elements with neutral tone and normal emphasis, in their disabled state. */
23
+ --wpds-color-bg-interactive-neutral-strong: #2d2d2d; /* Background color for interactive elements with neutral tone and strong emphasis. */
24
+ --wpds-color-bg-interactive-neutral-strong-active: #1e1e1e; /* Background color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
25
+ --wpds-color-bg-interactive-neutral-strong-disabled: #d3d3d3; /* Background color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
50
26
  --wpds-color-bg-interactive-neutral-weak: #00000000; /* Background color for interactive elements with neutral tone and weak emphasis. */
51
- --wpds-color-bg-interactive-neutral-weak-active: var(
52
- --wpds-color-private-bg-surface4
53
- ); /* Background color for interactive elements with neutral tone and weak emphasis that are hovered, focused, or active. */
54
- --wpds-color-bg-interactive-neutral-weak-disabled: var(
55
- --wpds-color-private-bg-surface5
56
- ); /* Background color for interactive elements with neutral tone and weak emphasis, in their disabled state. */
57
- --wpds-color-bg-surface-brand: var(
58
- --wpds-color-private-primary-surface1
59
- ); /* Background color for surfaces with brand tone and normal emphasis. */
60
- --wpds-color-bg-surface-error: var(
61
- --wpds-color-private-error-surface4
62
- ); /* Background color for surfaces with error tone and normal emphasis. */
63
- --wpds-color-bg-surface-error-weak: var(
64
- --wpds-color-private-error-surface2
65
- ); /* Background color for surfaces with error tone and weak emphasis. */
66
- --wpds-color-bg-surface-info: var(
67
- --wpds-color-private-info-surface4
68
- ); /* Background color for surfaces with info tone and normal emphasis. */
69
- --wpds-color-bg-surface-info-weak: var(
70
- --wpds-color-private-info-surface2
71
- ); /* Background color for surfaces with info tone and weak emphasis. */
72
- --wpds-color-bg-surface-neutral: var(
73
- --wpds-color-private-bg-surface2
74
- ); /* Background color for surfaces with normal emphasis. */
75
- --wpds-color-bg-surface-neutral-strong: var(
76
- --wpds-color-private-bg-surface3
77
- ); /* Background color for surfaces with strong emphasis. */
78
- --wpds-color-bg-surface-neutral-weak: var(
79
- --wpds-color-private-bg-surface1
80
- ); /* Background color for surfaces with weak emphasis. */
81
- --wpds-color-bg-surface-success: var(
82
- --wpds-color-private-success-surface4
83
- ); /* Background color for surfaces with success tone and normal emphasis. */
84
- --wpds-color-bg-surface-success-weak: var(
85
- --wpds-color-private-success-surface2
86
- ); /* Background color for surfaces with success tone and weak emphasis. */
87
- --wpds-color-bg-surface-warning: var(
88
- --wpds-color-private-warning-surface4
89
- ); /* Background color for surfaces with warning tone and normal emphasis. */
90
- --wpds-color-bg-surface-warning-weak: var(
91
- --wpds-color-private-warning-surface2
92
- ); /* Background color for surfaces with warning tone and weak emphasis. */
93
- --wpds-color-bg-thumb-brand: var(
94
- --wpds-color-private-primary-stroke3
95
- ); /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track). */
96
- --wpds-color-bg-thumb-brand-active: var(
97
- --wpds-color-private-primary-stroke3
98
- ); /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track) that are hovered, focused, or active. */
99
- --wpds-color-bg-thumb-brand-disabled: var(
100
- --wpds-color-private-bg-stroke2
101
- ); /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track), in their disabled state. */
102
- --wpds-color-bg-thumb-neutral-weak: var(
103
- --wpds-color-private-bg-stroke3
104
- ); /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb). */
105
- --wpds-color-bg-thumb-neutral-weak-active: var(
106
- --wpds-color-private-bg-stroke4
107
- ); /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb) that are hovered, focused, or active. */
108
- --wpds-color-bg-track-neutral: var(
109
- --wpds-color-private-bg-stroke2
110
- ); /* Background color for tracks with a neutral tone and normal emphasis (eg. slider or progressbar track). */
111
- --wpds-color-bg-track-neutral-weak: var(
112
- --wpds-color-private-bg-stroke1
113
- ); /* Background color for tracks with a neutral tone and weak emphasis (eg. scrollbar track). */
114
- --wpds-color-fg-content-neutral: var(
115
- --wpds-color-private-bg-fg-surface4
116
- ); /* Foreground color for content like text with normal emphasis. */
117
- --wpds-color-fg-content-neutral-weak: var(
118
- --wpds-color-private-bg-fg-surface3
119
- ); /* Foreground color for content like text with weak emphasis. */
120
- --wpds-color-fg-interactive-brand: var(
121
- --wpds-color-private-primary-fg-surface3
122
- ); /* Foreground color for interactive elements with brand tone and normal emphasis. */
123
- --wpds-color-fg-interactive-brand-active: var(
124
- --wpds-color-private-primary-fg-surface3
125
- ); /* Foreground color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
126
- --wpds-color-fg-interactive-brand-disabled: var(
127
- --wpds-color-private-bg-fg-surface2
128
- ); /* Foreground color for interactive elements with brand tone and normal emphasis, in their disabled state. */
129
- --wpds-color-fg-interactive-brand-strong: var(
130
- --wpds-color-private-primary-fg-fill
131
- ); /* Foreground color for interactive elements with brand tone and strong emphasis. */
132
- --wpds-color-fg-interactive-brand-strong-active: var(
133
- --wpds-color-private-primary-fg-fill
134
- ); /* Foreground color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
135
- --wpds-color-fg-interactive-brand-strong-disabled: var(
136
- --wpds-color-private-bg-fg-surface3
137
- ); /* Foreground color for interactive elements with brand tone and strong emphasis, in their disabled state. */
138
- --wpds-color-fg-interactive-neutral: var(
139
- --wpds-color-private-bg-fg-surface4
140
- ); /* Foreground color for interactive elements with neutral tone and normal emphasis. */
141
- --wpds-color-fg-interactive-neutral-active: var(
142
- --wpds-color-private-bg-fg-surface4
143
- ); /* Foreground color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
144
- --wpds-color-fg-interactive-neutral-disabled: var(
145
- --wpds-color-private-bg-fg-surface2
146
- ); /* Foreground color for interactive elements with neutral tone and normal emphasis, in their disabled state. */
147
- --wpds-color-fg-interactive-neutral-strong: var(
148
- --wpds-color-private-bg-fg-fill-inverted
149
- ); /* Foreground color for interactive elements with neutral tone and strong emphasis. */
150
- --wpds-color-fg-interactive-neutral-strong-active: var(
151
- --wpds-color-private-bg-fg-fill-inverted
152
- ); /* Foreground color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
153
- --wpds-color-fg-interactive-neutral-strong-disabled: var(
154
- --wpds-color-private-bg-fg-surface3
155
- ); /* Foreground color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
156
- --wpds-color-fg-interactive-neutral-weak: var(
157
- --wpds-color-private-bg-fg-surface3
158
- ); /* Foreground color for interactive elements with neutral tone and weak emphasis. */
159
- --wpds-color-fg-interactive-neutral-weak-disabled: var(
160
- --wpds-color-private-bg-fg-surface2
161
- ); /* Foreground color for interactive elements with neutral tone and weak emphasis, in their disabled state. */
162
- --wpds-color-private-bg-bg-fill-dark: #1e1e1e;
163
- --wpds-color-private-bg-bg-fill-inverted1: #2f2f2f;
164
- --wpds-color-private-bg-bg-fill-inverted2: #1e1e1e;
165
- --wpds-color-private-bg-bg-fill1: #555555;
166
- --wpds-color-private-bg-bg-fill2: #474747;
167
- --wpds-color-private-bg-fg-fill: #f0f0f0;
168
- --wpds-color-private-bg-fg-fill-dark: #f0f0f0;
169
- --wpds-color-private-bg-fg-fill-inverted: #f0f0f0;
170
- --wpds-color-private-bg-fg-surface1: #a9a9a9;
171
- --wpds-color-private-bg-fg-surface2: #898989;
172
- --wpds-color-private-bg-fg-surface3: #6c6c6c;
173
- --wpds-color-private-bg-fg-surface4: #1e1e1e;
174
- --wpds-color-private-bg-stroke1: #d0d0d0;
175
- --wpds-color-private-bg-stroke2: #aeaeae;
176
- --wpds-color-private-bg-stroke3: #898989;
177
- --wpds-color-private-bg-stroke4: #6a6a6a;
178
- --wpds-color-private-bg-surface1: #efefef;
179
- --wpds-color-private-bg-surface2: #f8f8f8;
180
- --wpds-color-private-bg-surface3: #ffffff;
181
- --wpds-color-private-bg-surface4: #eaeaea;
182
- --wpds-color-private-bg-surface5: #dfdfdf;
183
- --wpds-color-private-bg-surface6: #d0d0d0;
184
- --wpds-color-private-error-bg-fill-dark: #231c1b;
185
- --wpds-color-private-error-bg-fill-inverted1: #6d0000;
186
- --wpds-color-private-error-bg-fill-inverted2: #231c1b;
187
- --wpds-color-private-error-bg-fill1: #cc1818;
188
- --wpds-color-private-error-bg-fill2: #b90000;
189
- --wpds-color-private-error-fg-fill: #f2efef;
190
- --wpds-color-private-error-fg-fill-dark: #f2efef;
191
- --wpds-color-private-error-fg-fill-inverted: #f2efef;
192
- --wpds-color-private-error-fg-surface1: #ff8070;
193
- --wpds-color-private-error-fg-surface2: #f64b40;
194
- --wpds-color-private-error-fg-surface3: #cc1818;
195
- --wpds-color-private-error-fg-surface4: #4a0000;
196
- --wpds-color-private-error-stroke1: #dc9085;
197
- --wpds-color-private-error-stroke2: #cd695d;
198
- --wpds-color-private-error-stroke3: #cc1818;
199
- --wpds-color-private-error-stroke4: #a30000;
200
- --wpds-color-private-error-surface1: #fcedea;
201
- --wpds-color-private-error-surface2: #fdf6f5;
202
- --wpds-color-private-error-surface3: #ffffff;
203
- --wpds-color-private-error-surface4: #fae5e2;
204
- --wpds-color-private-error-surface5: #f8d8d3;
205
- --wpds-color-private-error-surface6: #f5c5bd;
206
- --wpds-color-private-info-bg-fill-dark: #1b1e23;
207
- --wpds-color-private-info-bg-fill-inverted1: #00297b;
208
- --wpds-color-private-info-bg-fill-inverted2: #1b1e23;
209
- --wpds-color-private-info-bg-fill1: #0090ff;
210
- --wpds-color-private-info-bg-fill2: #007eec;
211
- --wpds-color-private-info-fg-fill: #1b1e23;
212
- --wpds-color-private-info-fg-fill-dark: #eff0f2;
213
- --wpds-color-private-info-fg-fill-inverted: #eff0f2;
214
- --wpds-color-private-info-fg-surface1: #4dafff;
215
- --wpds-color-private-info-fg-surface2: #008bf9;
216
- --wpds-color-private-info-fg-surface3: #006cd8;
217
- --wpds-color-private-info-fg-surface4: #001758;
218
- --wpds-color-private-info-stroke1: #8baed6;
219
- --wpds-color-private-info-stroke2: #5c90c9;
220
- --wpds-color-private-info-stroke3: #006cd8;
221
- --wpds-color-private-info-stroke4: #004bb5;
222
- --wpds-color-private-info-surface1: #e9f1fa;
223
- --wpds-color-private-info-surface2: #f5f9fd;
224
- --wpds-color-private-info-surface3: #ffffff;
225
- --wpds-color-private-info-surface4: #e0ecf8;
226
- --wpds-color-private-info-surface5: #d0e1f5;
227
- --wpds-color-private-info-surface6: #b9d3f0;
228
- --wpds-color-private-primary-bg-fill-dark: #1b1e26;
229
- --wpds-color-private-primary-bg-fill-inverted1: #1401a5;
230
- --wpds-color-private-primary-bg-fill-inverted2: #1b1e26;
231
- --wpds-color-private-primary-bg-fill1: #3858e9;
232
- --wpds-color-private-primary-bg-fill2: #2c47d7;
233
- --wpds-color-private-primary-fg-fill: #eff0f2;
234
- --wpds-color-private-primary-fg-fill-dark: #eff0f2;
235
- --wpds-color-private-primary-fg-fill-inverted: #eff0f2;
236
- --wpds-color-private-primary-fg-surface1: #81a6ff;
237
- --wpds-color-private-primary-fg-surface2: #577fff;
238
- --wpds-color-private-primary-fg-surface3: #3858e9;
239
- --wpds-color-private-primary-fg-surface4: #080071;
240
- --wpds-color-private-primary-stroke1: #93a4d0;
241
- --wpds-color-private-primary-stroke2: #7085c0;
242
- --wpds-color-private-primary-stroke3: #3858e9;
243
- --wpds-color-private-primary-stroke4: #2236c7;
244
- --wpds-color-private-primary-surface1: #ecf0f9;
245
- --wpds-color-private-primary-surface2: #f6f8fc;
246
- --wpds-color-private-primary-surface3: #ffffff;
247
- --wpds-color-private-primary-surface4: #e5eaf7;
248
- --wpds-color-private-primary-surface5: #d7dff3;
249
- --wpds-color-private-primary-surface6: #c4d0ee;
250
- --wpds-color-private-success-bg-fill-dark: #1b1f1c;
251
- --wpds-color-private-success-bg-fill-inverted1: #003b00;
252
- --wpds-color-private-success-bg-fill-inverted2: #1b1f1c;
253
- --wpds-color-private-success-bg-fill1: #4ab866;
254
- --wpds-color-private-success-bg-fill2: #34a554;
255
- --wpds-color-private-success-fg-fill: #1b1f1c;
256
- --wpds-color-private-success-fg-fill-dark: #edf2ed;
257
- --wpds-color-private-success-fg-fill-inverted: #edf2ed;
258
- --wpds-color-private-success-fg-surface1: #52bf6d;
259
- --wpds-color-private-success-fg-surface2: #2a9e4d;
260
- --wpds-color-private-success-fg-surface3: #008030;
261
- --wpds-color-private-success-fg-surface4: #002b00;
262
- --wpds-color-private-success-stroke1: #78bb84;
263
- --wpds-color-private-success-stroke2: #629a6c;
264
- --wpds-color-private-success-stroke3: #008030;
265
- --wpds-color-private-success-stroke4: #006013;
266
- --wpds-color-private-success-surface1: #ddf8e1;
267
- --wpds-color-private-success-surface2: #f0fcf2;
268
- --wpds-color-private-success-surface3: #ffffff;
269
- --wpds-color-private-success-surface4: #cdf5d2;
270
- --wpds-color-private-success-surface5: #abf0b7;
271
- --wpds-color-private-success-surface6: #7be792;
272
- --wpds-color-private-warning-bg-fill-dark: #1f1e1b;
273
- --wpds-color-private-warning-bg-fill-inverted1: #472900;
274
- --wpds-color-private-warning-bg-fill-inverted2: #1f1e1b;
275
- --wpds-color-private-warning-bg-fill1: #f0b849;
276
- --wpds-color-private-warning-bg-fill2: #dba32f;
277
- --wpds-color-private-warning-fg-fill: #1f1e1b;
278
- --wpds-color-private-warning-fg-fill-dark: #f3f0e9;
279
- --wpds-color-private-warning-fg-fill-inverted: #f3f0e9;
280
- --wpds-color-private-warning-fg-surface1: #d7a02b;
281
- --wpds-color-private-warning-fg-surface2: #b58000;
282
- --wpds-color-private-warning-fg-surface3: #966200;
283
- --wpds-color-private-warning-fg-surface4: #2f1800;
284
- --wpds-color-private-warning-stroke1: #c3a777;
285
- --wpds-color-private-warning-stroke2: #a18a61;
286
- --wpds-color-private-warning-stroke3: #966200;
287
- --wpds-color-private-warning-stroke4: #724700;
288
- --wpds-color-private-warning-surface1: #faefdc;
289
- --wpds-color-private-warning-surface2: #fdf7ee;
290
- --wpds-color-private-warning-surface3: #ffffff;
291
- --wpds-color-private-warning-surface4: #f8e8cd;
292
- --wpds-color-private-warning-surface5: #f5dcb2;
293
- --wpds-color-private-warning-surface6: #f0cb89;
294
- --wpds-color-stroke-focus-brand: var(
295
- --wpds-color-private-primary-stroke3
296
- ); /* Accessible stroke color applied to focus rings. */
297
- --wpds-color-stroke-interactive-brand: var(
298
- --wpds-color-private-primary-stroke3
299
- ); /* Accessible stroke color used for interactive brand-toned elements with normal emphasis. */
300
- --wpds-color-stroke-interactive-brand-active: var(
301
- --wpds-color-private-primary-stroke4
302
- ); /* Accessible stroke color used for interactive brand-toned elements with normal emphasis that are hovered, focused, or active. */
303
- --wpds-color-stroke-interactive-brand-disabled: var(
304
- --wpds-color-private-bg-stroke2
305
- ); /* Accessible stroke color used for interactive brand-toned elements with normal emphasis, in their disabled state. */
306
- --wpds-color-stroke-interactive-error-strong: var(
307
- --wpds-color-private-error-stroke3
308
- ); /* Accessible stroke color used for interactive error-toned elements with strong emphasis. */
309
- --wpds-color-stroke-interactive-neutral: var(
310
- --wpds-color-private-bg-stroke3
311
- ); /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis. */
312
- --wpds-color-stroke-interactive-neutral-active: var(
313
- --wpds-color-private-bg-stroke4
314
- ); /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis that are hovered, focused, or active. */
315
- --wpds-color-stroke-interactive-neutral-disabled: var(
316
- --wpds-color-private-bg-stroke2
317
- ); /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis, in their disabled state. */
318
- --wpds-color-stroke-interactive-neutral-strong: var(
319
- --wpds-color-private-bg-stroke4
320
- ); /* Accessible stroke color used for interactive neutrally-toned elements with strong emphasis. */
321
- --wpds-color-stroke-surface-brand: var(
322
- --wpds-color-private-primary-stroke1
323
- ); /* Decorative stroke color used to define brand-toned surface boundaries with normal emphasis. */
324
- --wpds-color-stroke-surface-brand-strong: var(
325
- --wpds-color-private-primary-stroke3
326
- ); /* Decorative stroke color used to define neutrally-toned surface boundaries with strong emphasis. */
327
- --wpds-color-stroke-surface-error: var(
328
- --wpds-color-private-error-stroke1
329
- ); /* Decorative stroke color used to define error-toned surface boundaries with normal emphasis. */
330
- --wpds-color-stroke-surface-error-strong: var(
331
- --wpds-color-private-error-stroke3
332
- ); /* Decorative stroke color used to define error-toned surface boundaries with strong emphasis. */
333
- --wpds-color-stroke-surface-info: var(
334
- --wpds-color-private-info-stroke1
335
- ); /* Decorative stroke color used to define info-toned surface boundaries with normal emphasis. */
336
- --wpds-color-stroke-surface-info-strong: var(
337
- --wpds-color-private-info-stroke3
338
- ); /* Decorative stroke color used to define info-toned surface boundaries with strong emphasis. */
339
- --wpds-color-stroke-surface-neutral: var(
340
- --wpds-color-private-bg-stroke2
341
- ); /* Decorative stroke color used to define neutrally-toned surface boundaries with normal emphasis. */
342
- --wpds-color-stroke-surface-neutral-strong: var(
343
- --wpds-color-private-bg-stroke3
344
- ); /* Decorative stroke color used to define neutrally-toned surface boundaries with strong emphasis. */
345
- --wpds-color-stroke-surface-neutral-weak: var(
346
- --wpds-color-private-bg-stroke1
347
- ); /* Decorative stroke color used to define neutrally-toned surface boundaries with weak emphasis. */
348
- --wpds-color-stroke-surface-success: var(
349
- --wpds-color-private-success-stroke1
350
- ); /* Decorative stroke color used to define success-toned surface boundaries with normal emphasis. */
351
- --wpds-color-stroke-surface-success-strong: var(
352
- --wpds-color-private-success-stroke3
353
- ); /* Decorative stroke color used to define success-toned surface boundaries with strong emphasis. */
354
- --wpds-color-stroke-surface-warning: var(
355
- --wpds-color-private-warning-stroke1
356
- ); /* Decorative stroke color used to define warning-toned surface boundaries with normal emphasis. */
357
- --wpds-color-stroke-surface-warning-strong: var(
358
- --wpds-color-private-warning-stroke3
359
- ); /* Decorative stroke color used to define warning-toned surface boundaries with strong emphasis. */
27
+ --wpds-color-bg-interactive-neutral-weak-active: #eaeaea; /* Background color for interactive elements with neutral tone and weak emphasis that are hovered, focused, or active. */
28
+ --wpds-color-bg-interactive-neutral-weak-disabled: #e3e3e3; /* Background color for interactive elements with neutral tone and weak emphasis, in their disabled state. */
29
+ --wpds-color-bg-surface-brand: #edf0fa; /* Background color for surfaces with brand tone and normal emphasis. */
30
+ --wpds-color-bg-surface-caution: #f8ebb5; /* Background color for surfaces with caution tone and normal emphasis. */
31
+ --wpds-color-bg-surface-caution-weak: #fdf9e7; /* Background color for surfaces with caution tone and weak emphasis. */
32
+ --wpds-color-bg-surface-error: #fae5e2; /* Background color for surfaces with error tone and normal emphasis. */
33
+ --wpds-color-bg-surface-error-weak: #fdf6f5; /* Background color for surfaces with error tone and weak emphasis. */
34
+ --wpds-color-bg-surface-info: #e0ebf8; /* Background color for surfaces with info tone and normal emphasis. */
35
+ --wpds-color-bg-surface-info-weak: #f5f9fd; /* Background color for surfaces with info tone and weak emphasis. */
36
+ --wpds-color-bg-surface-neutral: #f8f8f8; /* Background color for surfaces with normal emphasis. */
37
+ --wpds-color-bg-surface-neutral-strong: #ffffff; /* Background color for surfaces with strong emphasis. */
38
+ --wpds-color-bg-surface-neutral-weak: #f0f0f0; /* Background color for surfaces with weak emphasis. */
39
+ --wpds-color-bg-surface-success: #cdf5d3; /* Background color for surfaces with success tone and normal emphasis. */
40
+ --wpds-color-bg-surface-success-weak: #f0fcf2; /* Background color for surfaces with success tone and weak emphasis. */
41
+ --wpds-color-bg-surface-warning: #f8e9cd; /* Background color for surfaces with warning tone and normal emphasis. */
42
+ --wpds-color-bg-surface-warning-weak: #fdf7ee; /* Background color for surfaces with warning tone and weak emphasis. */
43
+ --wpds-color-bg-thumb-brand: #3858e9; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track). */
44
+ --wpds-color-bg-thumb-brand-active: #3858e9; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track) that are hovered, focused, or active. */
45
+ --wpds-color-bg-thumb-brand-disabled: #adadad; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track), in their disabled state. */
46
+ --wpds-color-bg-thumb-neutral-weak: #8b8b8b; /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb). */
47
+ --wpds-color-bg-thumb-neutral-weak-active: #6d6d6d; /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb) that are hovered, focused, or active. */
48
+ --wpds-color-bg-track-neutral: #adadad; /* Background color for tracks with a neutral tone and normal emphasis (eg. slider or progressbar track). */
49
+ --wpds-color-bg-track-neutral-weak: #cfcfcf; /* Background color for tracks with a neutral tone and weak emphasis (eg. scrollbar track). */
50
+ --wpds-color-fg-content-caution: #291d00; /* Foreground color for content like text with caution tone and normal emphasis. */
51
+ --wpds-color-fg-content-caution-weak: #876b00; /* Foreground color for content like text with caution tone and weak emphasis. */
52
+ --wpds-color-fg-content-error: #4a0000; /* Foreground color for content like text with error tone and normal emphasis. */
53
+ --wpds-color-fg-content-error-weak: #cc1818; /* Foreground color for content like text with error tone and weak emphasis. */
54
+ --wpds-color-fg-content-info: #001758; /* Foreground color for content like text with info tone and normal emphasis. */
55
+ --wpds-color-fg-content-info-weak: #006dd9; /* Foreground color for content like text with info tone and weak emphasis. */
56
+ --wpds-color-fg-content-neutral: #1e1e1e; /* Foreground color for content like text with normal emphasis. */
57
+ --wpds-color-fg-content-neutral-weak: #6e6e6e; /* Foreground color for content like text with weak emphasis. */
58
+ --wpds-color-fg-content-success: #002b00; /* Foreground color for content like text with success tone and normal emphasis. */
59
+ --wpds-color-fg-content-success-weak: #008031; /* Foreground color for content like text with success tone and weak emphasis. */
60
+ --wpds-color-fg-content-warning: #2f1800; /* Foreground color for content like text with warning tone and normal emphasis. */
61
+ --wpds-color-fg-content-warning-weak: #976300; /* Foreground color for content like text with warning tone and weak emphasis. */
62
+ --wpds-color-fg-interactive-brand: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis. */
63
+ --wpds-color-fg-interactive-brand-active: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
64
+ --wpds-color-fg-interactive-brand-disabled: #8b8b8b; /* Foreground color for interactive elements with brand tone and normal emphasis, in their disabled state. */
65
+ --wpds-color-fg-interactive-brand-strong: #eff0f2; /* Foreground color for interactive elements with brand tone and strong emphasis. */
66
+ --wpds-color-fg-interactive-brand-strong-active: #eff0f2; /* Foreground color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
67
+ --wpds-color-fg-interactive-brand-strong-disabled: #6e6e6e; /* Foreground color for interactive elements with brand tone and strong emphasis, in their disabled state. */
68
+ --wpds-color-fg-interactive-neutral: #1e1e1e; /* Foreground color for interactive elements with neutral tone and normal emphasis. */
69
+ --wpds-color-fg-interactive-neutral-active: #1e1e1e; /* Foreground color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
70
+ --wpds-color-fg-interactive-neutral-disabled: #8b8b8b; /* Foreground color for interactive elements with neutral tone and normal emphasis, in their disabled state. */
71
+ --wpds-color-fg-interactive-neutral-strong: #f0f0f0; /* Foreground color for interactive elements with neutral tone and strong emphasis. */
72
+ --wpds-color-fg-interactive-neutral-strong-active: #f0f0f0; /* Foreground color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
73
+ --wpds-color-fg-interactive-neutral-strong-disabled: #6e6e6e; /* Foreground color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
74
+ --wpds-color-fg-interactive-neutral-weak: #6e6e6e; /* Foreground color for interactive elements with neutral tone and weak emphasis. */
75
+ --wpds-color-fg-interactive-neutral-weak-disabled: #8b8b8b; /* Foreground color for interactive elements with neutral tone and weak emphasis, in their disabled state. */
76
+ --wpds-color-stroke-focus-brand: #3858e9; /* Accessible stroke color applied to focus rings. */
77
+ --wpds-color-stroke-interactive-brand: #3858e9; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis. */
78
+ --wpds-color-stroke-interactive-brand-active: #2337c8; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis that are hovered, focused, or active. */
79
+ --wpds-color-stroke-interactive-brand-disabled: #adadad; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis, in their disabled state. */
80
+ --wpds-color-stroke-interactive-error-strong: #cc1818; /* Accessible stroke color used for interactive error-toned elements with strong emphasis. */
81
+ --wpds-color-stroke-interactive-neutral: #8b8b8b; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis. */
82
+ --wpds-color-stroke-interactive-neutral-active: #6d6d6d; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis that are hovered, focused, or active. */
83
+ --wpds-color-stroke-interactive-neutral-disabled: #adadad; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis, in their disabled state. */
84
+ --wpds-color-stroke-interactive-neutral-strong: #6d6d6d; /* Accessible stroke color used for interactive neutrally-toned elements with strong emphasis. */
85
+ --wpds-color-stroke-surface-brand: #91a2cf; /* Decorative stroke color used to define brand-toned surface boundaries with normal emphasis. */
86
+ --wpds-color-stroke-surface-brand-strong: #3858e9; /* Decorative stroke color used to define neutrally-toned surface boundaries with strong emphasis. */
87
+ --wpds-color-stroke-surface-error: #dc8e83; /* Decorative stroke color used to define error-toned surface boundaries with normal emphasis. */
88
+ --wpds-color-stroke-surface-error-strong: #cc1818; /* Decorative stroke color used to define error-toned surface boundaries with strong emphasis. */
89
+ --wpds-color-stroke-surface-info: #8aaed6; /* Decorative stroke color used to define info-toned surface boundaries with normal emphasis. */
90
+ --wpds-color-stroke-surface-info-strong: #006dd9; /* Decorative stroke color used to define info-toned surface boundaries with strong emphasis. */
91
+ --wpds-color-stroke-surface-neutral: #adadad; /* Decorative stroke color used to define neutrally-toned surface boundaries with normal emphasis. */
92
+ --wpds-color-stroke-surface-neutral-strong: #8b8b8b; /* Decorative stroke color used to define neutrally-toned surface boundaries with strong emphasis. */
93
+ --wpds-color-stroke-surface-neutral-weak: #cfcfcf; /* Decorative stroke color used to define neutrally-toned surface boundaries with weak emphasis. */
94
+ --wpds-color-stroke-surface-success: #77ba84; /* Decorative stroke color used to define success-toned surface boundaries with normal emphasis. */
95
+ --wpds-color-stroke-surface-success-strong: #008031; /* Decorative stroke color used to define success-toned surface boundaries with strong emphasis. */
96
+ --wpds-color-stroke-surface-warning: #c2a776; /* Decorative stroke color used to define warning-toned surface boundaries with normal emphasis. */
97
+ --wpds-color-stroke-surface-warning-strong: #976300; /* Decorative stroke color used to define warning-toned surface boundaries with strong emphasis. */
98
+ --wpds-dimension-base: 4px; /* Base dimension unit */
99
+ --wpds-dimension-padding-surface-large: 24px; /* Large spacing for surfaces */
100
+ --wpds-dimension-padding-surface-medium: 16px; /* Medium spacing for surfaces */
101
+ --wpds-dimension-padding-surface-small: 12px; /* Small spacing for surfaces */
102
+ --wpds-dimension-padding-surface-x-small: 8px; /* Extra small spacing for surfaces */
360
103
  --wpds-elevation-large: 0 5px 15px 0 #00000014, 0 15px 27px 0 #00000012,
361
104
  0 30px 36px 0 #0000000a, 0 50px 43px 0 #00000005; /* For components that confirm decisions or handle necessary interruptions. Example: Modals. */
362
105
  --wpds-elevation-medium: 0 2px 3px 0 #0000000d, 0 4px 5px 0 #0000000a,
@@ -382,16 +125,6 @@
382
125
  --wpds-font-size-small: 12px; /* Small font size */
383
126
  --wpds-font-size-x-large: 20px; /* Extra large font size */
384
127
  --wpds-font-size-x-small: 11px; /* Extra small font size */
385
- --wpds-spacing-05: 4px; /* Extra small spacing */
386
- --wpds-spacing-10: 8px; /* Small spacing */
387
- --wpds-spacing-15: 12px; /* Medium spacing */
388
- --wpds-spacing-20: 16px; /* Large spacing */
389
- --wpds-spacing-30: 24px; /* Extra large spacing */
390
- --wpds-spacing-40: 32px; /* 2X large spacing */
391
- --wpds-spacing-50: 40px; /* 3X large spacing */
392
- --wpds-spacing-60: 48px; /* 4X large spacing */
393
- --wpds-spacing-70: 56px; /* 5X large spacing */
394
- --wpds-spacing-80: 64px; /* 6X large spacing */
395
128
  }
396
129
 
397
130
  @media ( -webkit-min-device-pixel-ratio: 2 ), ( min-resolution: 192dpi ) {