@metamask-previews/design-tokens 8.2.2-preview.fa05289 → 8.3.0-preview.b4e6ece

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/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [8.3.0]
11
+
12
+ ### Changed
13
+
14
+ - `fontWeights.bold` and the `--font-weight-bold` CSS variable now return `600`, and the Storybook font loaders/`@font-face` declarations consume the new `Geist-SemiBold`/`Geist-SemiBoldItalic` assets instead of the retired bold files ([#1017](https://github.com/MetaMask/metamask-design-system/pull/1017)). The `design-system-twrnc-preset` mapping for `default-bold`/`default-bold-italic` now resolves to those semibold PostScript names, so custom Tailwind classnames should align with the new fonts. Update `@font-face` declarations, font bundles, and `font-weight: 700` styles to point at the semibold files, include the semibold assets from `apps/storybook-react-native/fonts/Geist` and `apps/storybook-react/fonts/Geist` when you bundle fonts manually, and run the [migration guide](./MIGRATION.md#from-version-822-to-830) to verify `fontWeights.bold` references propagate through CSS, JS, and Tailwind configurations.
15
+
10
16
  ## [8.2.2]
11
17
 
12
18
  ### Changed
@@ -425,7 +431,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
425
431
 
426
432
  - Initial release.
427
433
 
428
- [Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-tokens@8.2.2...HEAD
434
+ [Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-tokens@8.3.0...HEAD
435
+ [8.3.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-tokens@8.2.2...@metamask/design-tokens@8.3.0
429
436
  [8.2.2]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-tokens@8.2.1...@metamask/design-tokens@8.2.2
430
437
  [8.2.1]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-tokens@8.2.0...@metamask/design-tokens@8.2.1
431
438
  [8.2.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-tokens@8.1.1...@metamask/design-tokens@8.2.0
@@ -4,6 +4,6 @@ exports.fontWeights = void 0;
4
4
  exports.fontWeights = {
5
5
  regular: '400',
6
6
  medium: '500',
7
- bold: '700',
7
+ bold: '600',
8
8
  };
9
9
  //# sourceMappingURL=fontWeights.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"fontWeights.cjs","sourceRoot":"","sources":["../../../src/js/typography/fontWeights.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAAgB;IACtC,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,KAAK;CACZ,CAAC","sourcesContent":["import type { FontWeights } from './types';\n\nexport const fontWeights: FontWeights = {\n regular: '400',\n medium: '500',\n bold: '700',\n};\n"]}
1
+ {"version":3,"file":"fontWeights.cjs","sourceRoot":"","sources":["../../../src/js/typography/fontWeights.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAAgB;IACtC,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,KAAK;CACZ,CAAC","sourcesContent":["import type { FontWeights } from './types';\n\nexport const fontWeights: FontWeights = {\n regular: '400',\n medium: '500',\n bold: '600',\n};\n"]}
@@ -1,6 +1,6 @@
1
1
  export const fontWeights = {
2
2
  regular: '400',
3
3
  medium: '500',
4
- bold: '700',
4
+ bold: '600',
5
5
  };
6
6
  //# sourceMappingURL=fontWeights.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"fontWeights.mjs","sourceRoot":"","sources":["../../../src/js/typography/fontWeights.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAgB;IACtC,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,KAAK;CACZ,CAAC","sourcesContent":["import type { FontWeights } from './types';\n\nexport const fontWeights: FontWeights = {\n regular: '400',\n medium: '500',\n bold: '700',\n};\n"]}
1
+ {"version":3,"file":"fontWeights.mjs","sourceRoot":"","sources":["../../../src/js/typography/fontWeights.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAgB;IACtC,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,KAAK;CACZ,CAAC","sourcesContent":["import type { FontWeights } from './types';\n\nexport const fontWeights: FontWeights = {\n regular: '400',\n medium: '500',\n bold: '600',\n};\n"]}
package/dist/styles.css CHANGED
@@ -1 +1 @@
1
- :root{--brand-colors-grey-grey100:#ededed;--brand-colors-grey-grey200:#babbbe;--brand-colors-grey-grey300:#a3a4a7;--brand-colors-grey-grey400:#949596;--brand-colors-grey-grey500:#66676a;--brand-colors-grey-grey600:#47484a;--brand-colors-grey-grey700:#252628;--brand-colors-grey-grey800:#1c1d1f;--brand-colors-grey-grey900:#131416;--brand-colors-grey-grey1000:#0c0d0f;--brand-colors-grey-grey050:#f3f3f4;--brand-colors-grey-grey000:#ffffff;--brand-colors-grey-grey025:#f7f9fc;--brand-colors-blue-blue100:#d6dbff;--brand-colors-blue-blue200:#adb6fe;--brand-colors-blue-blue300:#8b99ff;--brand-colors-blue-blue400:#6f7eff;--brand-colors-blue-blue500:#4459ff;--brand-colors-blue-blue600:#2c3dc5;--brand-colors-blue-blue700:#1c277f;--brand-colors-blue-blue800:#131b59;--brand-colors-blue-blue900:#0b0f32;--brand-colors-blue-blue050:#f4f5ff;--brand-colors-blue-blue025:#f8f9ff;--brand-colors-green-green100:#c1e6c9;--brand-colors-green-green200:#80cb91;--brand-colors-green-green300:#4cb564;--brand-colors-green-green400:#279f41;--brand-colors-green-green500:#1c7e33;--brand-colors-green-green600:#145d25;--brand-colors-green-green700:#0d3b18;--brand-colors-green-green800:#092912;--brand-colors-green-green900:#051709;--brand-colors-green-green050:#ebf7ee;--brand-colors-green-green025:#f1faf4;--brand-colors-red-red100:#ffd2d5;--brand-colors-red-red200:#ffa1aa;--brand-colors-red-red300:#ff7584;--brand-colors-red-red400:#f74d5e;--brand-colors-red-red500:#ca3542;--brand-colors-red-red600:#952731;--brand-colors-red-red700:#611a20;--brand-colors-red-red800:#431216;--brand-colors-red-red900:#3b0f13;--brand-colors-red-red050:#fff2f3;--brand-colors-red-red025:#fff6f7;--brand-colors-yellow-yellow100:#ffd957;--brand-colors-yellow-yellow200:#f0b034;--brand-colors-yellow-yellow300:#e18f01;--brand-colors-yellow-yellow400:#c37b02;--brand-colors-yellow-yellow500:#9a6300;--brand-colors-yellow-yellow600:#714802;--brand-colors-yellow-yellow700:#482d01;--brand-colors-yellow-yellow800:#321f00;--brand-colors-yellow-yellow900:#1c1100;--brand-colors-yellow-yellow050:#fff5d5;--brand-colors-yellow-yellow025:#fff9e6;--brand-colors-orange-orange100:#ffd4c1;--brand-colors-orange-orange200:#ffa680;--brand-colors-orange-orange300:#ff7940;--brand-colors-orange-orange400:#ff5c16;--brand-colors-orange-orange500:#c3420d;--brand-colors-orange-orange600:#932d06;--brand-colors-orange-orange700:#661800;--brand-colors-orange-orange800:#451100;--brand-colors-orange-orange900:#280a00;--brand-colors-orange-orange050:#fff0ea;--brand-colors-orange-orange025:#fff8f5;--brand-colors-purple-purple100:#eac2ff;--brand-colors-purple-purple200:#dfa4ff;--brand-colors-purple-purple300:#d075ff;--brand-colors-purple-purple400:#b864f5;--brand-colors-purple-purple500:#8f44e4;--brand-colors-purple-purple600:#6c2ab2;--brand-colors-purple-purple700:#6c2ab2;--brand-colors-purple-purple800:#3d065f;--brand-colors-purple-purple900:#280a00;--brand-colors-purple-purple050:#fbf2ff;--brand-colors-purple-purple025:#fcf6ff;--brand-colors-lime-lime100:#baf24a;--brand-colors-lime-lime200:#95ca45;--brand-colors-lime-lime300:#7ab040;--brand-colors-lime-lime400:#64993d;--brand-colors-lime-lime500:#457a39;--brand-colors-lime-lime600:#275b35;--brand-colors-lime-lime700:#013330;--brand-colors-lime-lime800:#012826;--brand-colors-lime-lime900:#011515;--brand-colors-lime-lime025:#effed9;--brand-colors-lime-lime050:#e5ffc3;--brand-colors-indigo-indigo025:#f3faff;--brand-colors-indigo-indigo050:#ebf5ff;--brand-colors-indigo-indigo100:#cce7ff;--brand-colors-indigo-indigo200:#89b0ff;--brand-colors-indigo-indigo300:#7e9ff0;--brand-colors-indigo-indigo400:#6f87db;--brand-colors-indigo-indigo500:#5b66bf;--brand-colors-indigo-indigo600:#4544a1;--brand-colors-indigo-indigo700:#2e2082;--brand-colors-indigo-indigo800:#190066;--brand-colors-indigo-indigo900:#13004a;--brand-colors-white:#ffffff;--brand-colors-black:#000000}.light,:root,[data-theme=light]{--color-background-default:var(--brand-colors-grey-grey000);--color-background-section:var(--brand-colors-grey-grey050);--color-background-subsection:var(--brand-colors-grey-grey000);--color-background-alternative:var(--brand-colors-grey-grey050);--color-background-muted:#b4b4b528;--color-background-muted-hover:#b4b4b53d;--color-background-muted-pressed:#b4b4b552;--color-background-default-hover:var(--brand-colors-grey-grey050);--color-background-default-pressed:var(--brand-colors-grey-grey100);--color-background-alternative-hover:#ebedf1;--color-background-alternative-pressed:#e1e4ea;--color-background-hover:#b4b4b528;--color-background-pressed:#b4b4b53d;--color-text-default:var(--brand-colors-grey-grey900);--color-text-alternative:var(--brand-colors-grey-grey500);--color-text-muted:var(--brand-colors-grey-grey200);--color-icon-default:var(--brand-colors-grey-grey900);--color-icon-default-hover:#2a2b2c;--color-icon-default-pressed:#414243;--color-icon-alternative:var(--brand-colors-grey-grey500);--color-icon-muted:var(--brand-colors-grey-grey200);--color-icon-inverse:var(--brand-colors-grey-grey000);--color-border-default:var(--brand-colors-grey-grey400);--color-border-muted:#b4b4b566;--color-overlay-default:#0a0d135c;--color-overlay-alternative:#0a0d1392;--color-overlay-inverse:var(--brand-colors-grey-grey000);--color-primary-default:var(--brand-colors-blue-blue500);--color-primary-alternative:var(--brand-colors-blue-blue600);--color-primary-muted:#4459ff1a;--color-primary-inverse:var(--brand-colors-grey-grey000);--color-primary-default-hover:#384df5;--color-primary-default-pressed:#2b3eda;--color-primary-muted-hover:#4459ff26;--color-primary-muted-pressed:#4459ff33;--color-error-default:var(--brand-colors-red-red500);--color-error-alternative:var(--brand-colors-red-red600);--color-error-muted:#ca35421a;--color-error-inverse:var(--brand-colors-grey-grey000);--color-error-default-hover:#ba313d;--color-error-default-pressed:#9a2832;--color-error-muted-hover:#ca354226;--color-error-muted-pressed:#ca354233;--color-warning-default:var(--brand-colors-yellow-yellow500);--color-warning-muted:#9a63001a;--color-warning-inverse:var(--brand-colors-grey-grey000);--color-warning-default-hover:#855500;--color-warning-default-pressed:#5c3b00;--color-warning-muted-hover:#9a630026;--color-warning-muted-pressed:#9a630033;--color-success-default:var(--brand-colors-lime-lime500);--color-success-muted:#457a391a;--color-success-inverse:var(--brand-colors-grey-grey000);--color-success-default-hover:#3d6c32;--color-success-default-pressed:#2d5025;--color-success-muted-hover:#457a3926;--color-success-muted-pressed:#457a3933;--color-info-default:var(--brand-colors-blue-blue500);--color-info-muted:#4459ff1a;--color-info-inverse:var(--brand-colors-grey-grey000);--color-accent01-light:var(--brand-colors-orange-orange200);--color-accent01-normal:var(--brand-colors-orange-orange400);--color-accent01-dark:var(--brand-colors-orange-orange700);--color-accent02-light:var(--brand-colors-purple-purple100);--color-accent02-normal:var(--brand-colors-purple-purple300);--color-accent02-dark:var(--brand-colors-purple-purple800);--color-accent03-light:var(--brand-colors-lime-lime050);--color-accent03-normal:var(--brand-colors-lime-lime100);--color-accent03-dark:var(--brand-colors-lime-lime700);--color-accent04-light:var(--brand-colors-indigo-indigo100);--color-accent04-normal:var(--brand-colors-indigo-indigo200);--color-accent04-dark:var(--brand-colors-indigo-indigo800);--color-flask-default:var(--brand-colors-purple-purple500);--color-flask-inverse:var(--brand-colors-grey-grey000);--color-shadow-default:#0000001a;--color-shadow-primary:#4459ff33;--color-shadow-error:#ca354266}.dark,[data-theme=dark]{--color-background-default:var(--brand-colors-grey-grey900);--color-background-section:var(--brand-colors-grey-grey800);--color-background-subsection:var(--brand-colors-grey-grey700);--color-background-alternative:var(--brand-colors-grey-grey1000);--color-background-muted:#ffffff0a;--color-background-muted-hover:#ffffff14;--color-background-muted-pressed:#ffffff1f;--color-background-default-hover:var(--brand-colors-grey-grey800);--color-background-default-pressed:var(--brand-colors-grey-grey700);--color-background-alternative-hover:#0d0d0e;--color-background-alternative-pressed:#161617;--color-background-hover:#ffffff0a;--color-background-pressed:#ffffff1f;--color-text-default:var(--brand-colors-grey-grey000);--color-text-alternative:var(--brand-colors-grey-grey300);--color-text-muted:var(--brand-colors-grey-grey600);--color-icon-default:var(--brand-colors-grey-grey000);--color-icon-default-hover:#f0f0f0;--color-icon-default-pressed:#d0d0d0;--color-icon-alternative:var(--brand-colors-grey-grey300);--color-icon-muted:var(--brand-colors-grey-grey600);--color-icon-inverse:var(--brand-colors-grey-grey900);--color-border-default:var(--brand-colors-grey-grey500);--color-border-muted:#ffffff14;--color-overlay-default:#030304b8;--color-overlay-alternative:#030304d6;--color-overlay-inverse:var(--brand-colors-grey-grey000);--color-primary-default:var(--brand-colors-blue-blue300);--color-primary-alternative:var(--brand-colors-blue-blue200);--color-primary-muted:#8b99ff26;--color-primary-inverse:var(--brand-colors-grey-grey900);--color-primary-default-hover:#9eaaff;--color-primary-default-pressed:#c7ceff;--color-primary-muted-hover:#8b99ff33;--color-primary-muted-pressed:#8b99ff40;--color-error-default:var(--brand-colors-red-red300);--color-error-alternative:var(--brand-colors-red-red200);--color-error-muted:#ff758426;--color-error-inverse:var(--brand-colors-grey-grey900);--color-error-default-hover:#ff8a96;--color-error-default-pressed:#ffb2bb;--color-error-muted-hover:#ff758433;--color-error-muted-pressed:#ff758440;--color-warning-default:var(--brand-colors-yellow-yellow200);--color-warning-muted:#f0b03426;--color-warning-inverse:var(--brand-colors-grey-grey900);--color-warning-default-hover:#f3be59;--color-warning-default-pressed:#f6cd7f;--color-warning-muted-hover:#f0b03433;--color-warning-muted-pressed:#f0b03440;--color-success-default:var(--brand-colors-lime-lime100);--color-success-muted:#baf24a26;--color-success-inverse:var(--brand-colors-grey-grey900);--color-success-default-hover:#c9f570;--color-success-default-pressed:#d7f796;--color-success-muted-hover:#baf24a33;--color-success-muted-pressed:#baf24a40;--color-info-default:var(--brand-colors-blue-blue300);--color-info-muted:#8b99ff26;--color-info-inverse:var(--brand-colors-grey-grey900);--color-accent01-light:var(--brand-colors-orange-orange200);--color-accent01-normal:var(--brand-colors-orange-orange400);--color-accent01-dark:var(--brand-colors-orange-orange700);--color-accent02-light:var(--brand-colors-purple-purple100);--color-accent02-normal:var(--brand-colors-purple-purple300);--color-accent02-dark:var(--brand-colors-purple-purple800);--color-accent03-light:var(--brand-colors-lime-lime050);--color-accent03-normal:var(--brand-colors-lime-lime100);--color-accent03-dark:var(--brand-colors-lime-lime700);--color-accent04-light:var(--brand-colors-indigo-indigo100);--color-accent04-normal:var(--brand-colors-indigo-indigo200);--color-accent04-dark:var(--brand-colors-indigo-indigo800);--color-flask-default:var(--brand-colors-purple-purple300);--color-flask-inverse:var(--brand-colors-grey-grey900);--color-shadow-default:#00000066;--color-shadow-primary:#8b99ff33;--color-shadow-error:#ff758433}:root{--font-family-default:'Geist','Helvetica Neue',Helvetica,Arial,sans-serif;--font-family-accent:'MMSans','Helvetica Neue',Helvetica,Arial,sans-serif;--font-family-hero:'MMPoly','Helvetica Neue',Helvetica,Arial,sans-serif;--font-size-base:16px;--font-size-1:0.625rem;--font-size-2:0.75rem;--font-size-3:0.875rem;--font-size-4:1rem;--font-size-5:1.25rem;--font-size-6:1.5rem;--font-size-7:2rem;--font-size-8:2.5rem;--font-size-9:3rem;--font-size-10:3.75rem;--line-height-1:1rem;--line-height-2:1.25rem;--line-height-3:1.375rem;--line-height-4:1.5rem;--line-height-5:2rem;--line-height-6:2.5rem;--line-height-7:3.125rem;--line-height-8:3.5rem;--line-height-9:4.6875rem;--font-weight-regular:400;--font-weight-medium:500;--font-weight-bold:700;--letter-spacing-0:0;--letter-spacing-1:2.5%;--typography-s-display-lg-font-size:var(--font-size-8);--typography-s-display-lg-line-height:var(--line-height-7);--typography-s-display-lg-font-weight:var(--font-weight-bold);--typography-s-display-lg-letter-spacing:var(--letter-spacing-0);--typography-s-display-md-font-size:var(--font-size-7);--typography-s-display-md-line-height:var(--line-height-6);--typography-s-display-md-font-weight:var(--font-weight-bold);--typography-s-display-md-letter-spacing:var(--letter-spacing-0);--typography-s-heading-lg-font-size:var(--font-size-6);--typography-s-heading-lg-line-height:var(--line-height-5);--typography-s-heading-lg-font-weight:var(--font-weight-bold);--typography-s-heading-lg-letter-spacing:var(--letter-spacing-0);--typography-s-heading-md-font-size:var(--font-size-5);--typography-s-heading-md-line-height:var(--line-height-4);--typography-s-heading-md-font-weight:var(--font-weight-bold);--typography-s-heading-md-letter-spacing:var(--letter-spacing-0);--typography-s-heading-sm-font-size:var(--font-size-4);--typography-s-heading-sm-line-height:var(--line-height-4);--typography-s-heading-sm-font-weight:var(--font-weight-bold);--typography-s-heading-sm-letter-spacing:var(--letter-spacing-0);--typography-s-body-lg-medium-font-size:var(--font-size-5);--typography-s-body-lg-medium-line-height:var(--line-height-4);--typography-s-body-lg-medium-font-weight:var(--font-weight-medium);--typography-s-body-lg-medium-letter-spacing:var(--letter-spacing-0);--typography-s-body-lg-regular-font-size:var(--font-size-5);--typography-s-body-lg-regular-line-height:var(--line-height-4);--typography-s-body-lg-regular-font-weight:var(--font-weight-medium);--typography-s-body-lg-regular-letter-spacing:var(--letter-spacing-0);--typography-s-body-md-bold-font-size:var(--font-size-4);--typography-s-body-md-bold-line-height:var(--line-height-4);--typography-s-body-md-bold-font-weight:var(--font-weight-bold);--typography-s-body-md-bold-letter-spacing:var(--letter-spacing-0);--typography-s-body-md-medium-font-size:var(--font-size-4);--typography-s-body-md-medium-line-height:var(--line-height-4);--typography-s-body-md-medium-font-weight:var(--font-weight-medium);--typography-s-body-md-medium-letter-spacing:var(--letter-spacing-0);--typography-s-body-md-font-size:var(--font-size-4);--typography-s-body-md-line-height:var(--line-height-4);--typography-s-body-md-font-weight:var(--font-weight-regular);--typography-s-body-md-letter-spacing:var(--letter-spacing-0);--typography-s-body-sm-bold-font-size:var(--font-size-3);--typography-s-body-sm-bold-line-height:var(--line-height-3);--typography-s-body-sm-bold-font-weight:var(--font-weight-bold);--typography-s-body-sm-bold-letter-spacing:var(--letter-spacing-0);--typography-s-body-sm-medium-font-size:var(--font-size-3);--typography-s-body-sm-medium-line-height:var(--line-height-3);--typography-s-body-sm-medium-font-weight:var(--font-weight-medium);--typography-s-body-sm-medium-letter-spacing:var(--letter-spacing-0);--typography-s-body-sm-font-size:var(--font-size-3);--typography-s-body-sm-line-height:var(--line-height-3);--typography-s-body-sm-font-weight:var(--font-weight-regular);--typography-s-body-sm-letter-spacing:var(--letter-spacing-0);--typography-s-body-xs-medium-font-size:var(--font-size-2);--typography-s-body-xs-medium-line-height:var(--line-height-2);--typography-s-body-xs-medium-font-weight:var(--font-weight-medium);--typography-s-body-xs-medium-letter-spacing:var(--letter-spacing-1);--typography-s-body-xs-font-size:var(--font-size-2);--typography-s-body-xs-line-height:var(--line-height-2);--typography-s-body-xs-font-weight:var(--font-weight-regular);--typography-s-body-xs-letter-spacing:var(--letter-spacing-1);--typography-s-page-heading-font-size:var(--font-size-6);--typography-s-page-heading-line-height:var(--line-height-5);--typography-s-page-heading-font-weight:var(--font-weight-bold);--typography-s-page-heading-letter-spacing:var(--letter-spacing-0);--typography-s-section-heading-font-size:var(--font-size-5);--typography-s-section-heading-line-height:var(--line-height-4);--typography-s-section-heading-font-weight:var(--font-weight-bold);--typography-s-section-heading-letter-spacing:var(--letter-spacing-0);--typography-s-button-label-md-font-size:var(--font-size-4);--typography-s-button-label-md-line-height:var(--line-height-4);--typography-s-button-label-md-font-weight:var(--font-weight-medium);--typography-s-button-label-md-letter-spacing:var(--letter-spacing-0);--typography-s-button-label-lg-font-size:var(--font-size-5);--typography-s-button-label-lg-line-height:var(--line-height-4);--typography-s-button-label-lg-font-weight:var(--font-weight-medium);--typography-s-button-label-lg-letter-spacing:var(--letter-spacing-0);--typography-s-amount-display-lg-font-size:var(--font-size-8);--typography-s-amount-display-lg-line-height:var(--line-height-7);--typography-s-amount-display-lg-font-weight:var(--font-weight-bold);--typography-s-amount-display-lg-letter-spacing:var(--letter-spacing-0);--typography-l-display-lg-font-size:var(--font-size-10);--typography-l-display-lg-line-height:var(--line-height-9);--typography-l-display-lg-font-weight:var(--font-weight-medium);--typography-l-display-lg-letter-spacing:var(--letter-spacing-0);--typography-l-display-md-font-size:var(--font-size-9);--typography-l-display-md-line-height:var(--line-height-8);--typography-l-display-md-font-weight:var(--font-weight-medium);--typography-l-display-md-letter-spacing:var(--letter-spacing-0);--typography-l-heading-lg-font-size:var(--font-size-7);--typography-l-heading-lg-line-height:var(--line-height-6);--typography-l-heading-lg-font-weight:var(--font-weight-bold);--typography-l-heading-lg-letter-spacing:var(--letter-spacing-0);--typography-l-heading-md-font-size:var(--font-size-6);--typography-l-heading-md-line-height:var(--line-height-5);--typography-l-heading-md-font-weight:var(--font-weight-bold);--typography-l-heading-md-letter-spacing:var(--letter-spacing-0);--typography-l-heading-sm-font-size:var(--font-size-5);--typography-l-heading-sm-line-height:var(--line-height-4);--typography-l-heading-sm-font-weight:var(--font-weight-bold);--typography-l-heading-sm-letter-spacing:var(--letter-spacing-0);--typography-l-body-lg-medium-font-size:var(--font-size-5);--typography-l-body-lg-medium-line-height:var(--line-height-4);--typography-l-body-lg-medium-font-weight:var(--font-weight-medium);--typography-l-body-lg-medium-letter-spacing:var(--letter-spacing-0);--typography-l-body-md-bold-font-size:var(--font-size-4);--typography-l-body-md-bold-line-height:var(--line-height-4);--typography-l-body-md-bold-font-weight:var(--font-weight-bold);--typography-l-body-md-bold-letter-spacing:var(--letter-spacing-0);--typography-l-body-md-medium-font-size:var(--font-size-4);--typography-l-body-md-medium-line-height:var(--line-height-4);--typography-l-body-md-medium-font-weight:var(--font-weight-medium);--typography-l-body-md-medium-letter-spacing:var(--letter-spacing-0);--typography-l-body-md-font-size:var(--font-size-4);--typography-l-body-md-line-height:var(--line-height-4);--typography-l-body-md-font-weight:var(--font-weight-regular);--typography-l-body-md-letter-spacing:var(--letter-spacing-0);--typography-l-body-sm-bold-font-size:var(--font-size-3);--typography-l-body-sm-bold-line-height:var(--line-height-3);--typography-l-body-sm-bold-font-weight:var(--font-weight-bold);--typography-l-body-sm-bold-letter-spacing:var(--letter-spacing-0);--typography-l-body-sm-medium-font-size:var(--font-size-3);--typography-l-body-sm-medium-line-height:var(--line-height-3);--typography-l-body-sm-medium-font-weight:var(--font-weight-medium);--typography-l-body-sm-medium-letter-spacing:var(--letter-spacing-0);--typography-l-body-sm-font-size:var(--font-size-3);--typography-l-body-sm-line-height:var(--line-height-3);--typography-l-body-sm-font-weight:var(--font-weight-regular);--typography-l-body-sm-letter-spacing:var(--letter-spacing-0);--typography-l-body-xs-medium-font-size:var(--font-size-2);--typography-l-body-xs-medium-line-height:var(--line-height-2);--typography-l-body-xs-medium-font-weight:var(--font-weight-medium);--typography-l-body-xs-medium-letter-spacing:var(--letter-spacing-1);--typography-l-body-xs-font-size:var(--font-size-2);--typography-l-body-xs-line-height:var(--line-height-2);--typography-l-body-xs-font-weight:var(--font-weight-regular);--typography-l-body-xs-letter-spacing:var(--letter-spacing-1);--typography-l-page-heading-font-size:var(--font-size-7);--typography-l-page-heading-line-height:var(--line-height-6);--typography-l-page-heading-font-weight:var(--font-weight-bold);--typography-l-page-heading-letter-spacing:var(--letter-spacing-0);--typography-l-section-heading-font-size:var(--font-size-6);--typography-l-section-heading-line-height:var(--line-height-5);--typography-l-section-heading-font-weight:var(--font-weight-bold);--typography-l-section-heading-letter-spacing:var(--letter-spacing-0);--typography-l-button-label-md-font-size:var(--font-size-4);--typography-l-button-label-md-line-height:var(--line-height-4);--typography-l-button-label-md-font-weight:var(--font-weight-medium);--typography-l-button-label-md-letter-spacing:var(--letter-spacing-0);--typography-l-button-label-lg-font-size:var(--font-size-5);--typography-l-button-label-lg-line-height:var(--line-height-4);--typography-l-button-label-lg-font-weight:var(--font-weight-medium);--typography-l-button-label-lg-letter-spacing:var(--letter-spacing-0);--typography-l-amount-display-lg-font-size:var(--font-size-10);--typography-l-amount-display-lg-line-height:var(--line-height-9);--typography-l-amount-display-lg-font-weight:var(--font-weight-medium);--typography-l-amount-display-lg-letter-spacing:var(--letter-spacing-0)}:root{--shadow-size-xs:0 2px 4px 0;--shadow-size-sm:0 2px 8px 0;--shadow-size-md:0 2px 16px 0;--shadow-size-lg:0 2px 40px 0}
1
+ :root{--brand-colors-grey-grey100:#ededed;--brand-colors-grey-grey200:#babbbe;--brand-colors-grey-grey300:#a3a4a7;--brand-colors-grey-grey400:#949596;--brand-colors-grey-grey500:#66676a;--brand-colors-grey-grey600:#47484a;--brand-colors-grey-grey700:#252628;--brand-colors-grey-grey800:#1c1d1f;--brand-colors-grey-grey900:#131416;--brand-colors-grey-grey1000:#0c0d0f;--brand-colors-grey-grey050:#f3f3f4;--brand-colors-grey-grey000:#ffffff;--brand-colors-grey-grey025:#f7f9fc;--brand-colors-blue-blue100:#d6dbff;--brand-colors-blue-blue200:#adb6fe;--brand-colors-blue-blue300:#8b99ff;--brand-colors-blue-blue400:#6f7eff;--brand-colors-blue-blue500:#4459ff;--brand-colors-blue-blue600:#2c3dc5;--brand-colors-blue-blue700:#1c277f;--brand-colors-blue-blue800:#131b59;--brand-colors-blue-blue900:#0b0f32;--brand-colors-blue-blue050:#f4f5ff;--brand-colors-blue-blue025:#f8f9ff;--brand-colors-green-green100:#c1e6c9;--brand-colors-green-green200:#80cb91;--brand-colors-green-green300:#4cb564;--brand-colors-green-green400:#279f41;--brand-colors-green-green500:#1c7e33;--brand-colors-green-green600:#145d25;--brand-colors-green-green700:#0d3b18;--brand-colors-green-green800:#092912;--brand-colors-green-green900:#051709;--brand-colors-green-green050:#ebf7ee;--brand-colors-green-green025:#f1faf4;--brand-colors-red-red100:#ffd2d5;--brand-colors-red-red200:#ffa1aa;--brand-colors-red-red300:#ff7584;--brand-colors-red-red400:#f74d5e;--brand-colors-red-red500:#ca3542;--brand-colors-red-red600:#952731;--brand-colors-red-red700:#611a20;--brand-colors-red-red800:#431216;--brand-colors-red-red900:#3b0f13;--brand-colors-red-red050:#fff2f3;--brand-colors-red-red025:#fff6f7;--brand-colors-yellow-yellow100:#ffd957;--brand-colors-yellow-yellow200:#f0b034;--brand-colors-yellow-yellow300:#e18f01;--brand-colors-yellow-yellow400:#c37b02;--brand-colors-yellow-yellow500:#9a6300;--brand-colors-yellow-yellow600:#714802;--brand-colors-yellow-yellow700:#482d01;--brand-colors-yellow-yellow800:#321f00;--brand-colors-yellow-yellow900:#1c1100;--brand-colors-yellow-yellow050:#fff5d5;--brand-colors-yellow-yellow025:#fff9e6;--brand-colors-orange-orange100:#ffd4c1;--brand-colors-orange-orange200:#ffa680;--brand-colors-orange-orange300:#ff7940;--brand-colors-orange-orange400:#ff5c16;--brand-colors-orange-orange500:#c3420d;--brand-colors-orange-orange600:#932d06;--brand-colors-orange-orange700:#661800;--brand-colors-orange-orange800:#451100;--brand-colors-orange-orange900:#280a00;--brand-colors-orange-orange050:#fff0ea;--brand-colors-orange-orange025:#fff8f5;--brand-colors-purple-purple100:#eac2ff;--brand-colors-purple-purple200:#dfa4ff;--brand-colors-purple-purple300:#d075ff;--brand-colors-purple-purple400:#b864f5;--brand-colors-purple-purple500:#8f44e4;--brand-colors-purple-purple600:#6c2ab2;--brand-colors-purple-purple700:#6c2ab2;--brand-colors-purple-purple800:#3d065f;--brand-colors-purple-purple900:#280a00;--brand-colors-purple-purple050:#fbf2ff;--brand-colors-purple-purple025:#fcf6ff;--brand-colors-lime-lime100:#baf24a;--brand-colors-lime-lime200:#95ca45;--brand-colors-lime-lime300:#7ab040;--brand-colors-lime-lime400:#64993d;--brand-colors-lime-lime500:#457a39;--brand-colors-lime-lime600:#275b35;--brand-colors-lime-lime700:#013330;--brand-colors-lime-lime800:#012826;--brand-colors-lime-lime900:#011515;--brand-colors-lime-lime025:#effed9;--brand-colors-lime-lime050:#e5ffc3;--brand-colors-indigo-indigo025:#f3faff;--brand-colors-indigo-indigo050:#ebf5ff;--brand-colors-indigo-indigo100:#cce7ff;--brand-colors-indigo-indigo200:#89b0ff;--brand-colors-indigo-indigo300:#7e9ff0;--brand-colors-indigo-indigo400:#6f87db;--brand-colors-indigo-indigo500:#5b66bf;--brand-colors-indigo-indigo600:#4544a1;--brand-colors-indigo-indigo700:#2e2082;--brand-colors-indigo-indigo800:#190066;--brand-colors-indigo-indigo900:#13004a;--brand-colors-white:#ffffff;--brand-colors-black:#000000}.light,:root,[data-theme=light]{--color-background-default:var(--brand-colors-grey-grey000);--color-background-section:var(--brand-colors-grey-grey050);--color-background-subsection:var(--brand-colors-grey-grey000);--color-background-alternative:var(--brand-colors-grey-grey050);--color-background-muted:#b4b4b528;--color-background-muted-hover:#b4b4b53d;--color-background-muted-pressed:#b4b4b552;--color-background-default-hover:var(--brand-colors-grey-grey050);--color-background-default-pressed:var(--brand-colors-grey-grey100);--color-background-alternative-hover:#ebedf1;--color-background-alternative-pressed:#e1e4ea;--color-background-hover:#b4b4b528;--color-background-pressed:#b4b4b53d;--color-text-default:var(--brand-colors-grey-grey900);--color-text-alternative:var(--brand-colors-grey-grey500);--color-text-muted:var(--brand-colors-grey-grey200);--color-icon-default:var(--brand-colors-grey-grey900);--color-icon-default-hover:#2a2b2c;--color-icon-default-pressed:#414243;--color-icon-alternative:var(--brand-colors-grey-grey500);--color-icon-muted:var(--brand-colors-grey-grey200);--color-icon-inverse:var(--brand-colors-grey-grey000);--color-border-default:var(--brand-colors-grey-grey400);--color-border-muted:#b4b4b566;--color-overlay-default:#0a0d135c;--color-overlay-alternative:#0a0d1392;--color-overlay-inverse:var(--brand-colors-grey-grey000);--color-primary-default:var(--brand-colors-blue-blue500);--color-primary-alternative:var(--brand-colors-blue-blue600);--color-primary-muted:#4459ff1a;--color-primary-inverse:var(--brand-colors-grey-grey000);--color-primary-default-hover:#384df5;--color-primary-default-pressed:#2b3eda;--color-primary-muted-hover:#4459ff26;--color-primary-muted-pressed:#4459ff33;--color-error-default:var(--brand-colors-red-red500);--color-error-alternative:var(--brand-colors-red-red600);--color-error-muted:#ca35421a;--color-error-inverse:var(--brand-colors-grey-grey000);--color-error-default-hover:#ba313d;--color-error-default-pressed:#9a2832;--color-error-muted-hover:#ca354226;--color-error-muted-pressed:#ca354233;--color-warning-default:var(--brand-colors-yellow-yellow500);--color-warning-muted:#9a63001a;--color-warning-inverse:var(--brand-colors-grey-grey000);--color-warning-default-hover:#855500;--color-warning-default-pressed:#5c3b00;--color-warning-muted-hover:#9a630026;--color-warning-muted-pressed:#9a630033;--color-success-default:var(--brand-colors-lime-lime500);--color-success-muted:#457a391a;--color-success-inverse:var(--brand-colors-grey-grey000);--color-success-default-hover:#3d6c32;--color-success-default-pressed:#2d5025;--color-success-muted-hover:#457a3926;--color-success-muted-pressed:#457a3933;--color-info-default:var(--brand-colors-blue-blue500);--color-info-muted:#4459ff1a;--color-info-inverse:var(--brand-colors-grey-grey000);--color-accent01-light:var(--brand-colors-orange-orange200);--color-accent01-normal:var(--brand-colors-orange-orange400);--color-accent01-dark:var(--brand-colors-orange-orange700);--color-accent02-light:var(--brand-colors-purple-purple100);--color-accent02-normal:var(--brand-colors-purple-purple300);--color-accent02-dark:var(--brand-colors-purple-purple800);--color-accent03-light:var(--brand-colors-lime-lime050);--color-accent03-normal:var(--brand-colors-lime-lime100);--color-accent03-dark:var(--brand-colors-lime-lime700);--color-accent04-light:var(--brand-colors-indigo-indigo100);--color-accent04-normal:var(--brand-colors-indigo-indigo200);--color-accent04-dark:var(--brand-colors-indigo-indigo800);--color-flask-default:var(--brand-colors-purple-purple500);--color-flask-inverse:var(--brand-colors-grey-grey000);--color-shadow-default:#0000001a;--color-shadow-primary:#4459ff33;--color-shadow-error:#ca354266}.dark,[data-theme=dark]{--color-background-default:var(--brand-colors-grey-grey900);--color-background-section:var(--brand-colors-grey-grey800);--color-background-subsection:var(--brand-colors-grey-grey700);--color-background-alternative:var(--brand-colors-grey-grey1000);--color-background-muted:#ffffff0a;--color-background-muted-hover:#ffffff14;--color-background-muted-pressed:#ffffff1f;--color-background-default-hover:var(--brand-colors-grey-grey800);--color-background-default-pressed:var(--brand-colors-grey-grey700);--color-background-alternative-hover:#0d0d0e;--color-background-alternative-pressed:#161617;--color-background-hover:#ffffff0a;--color-background-pressed:#ffffff1f;--color-text-default:var(--brand-colors-grey-grey000);--color-text-alternative:var(--brand-colors-grey-grey300);--color-text-muted:var(--brand-colors-grey-grey600);--color-icon-default:var(--brand-colors-grey-grey000);--color-icon-default-hover:#f0f0f0;--color-icon-default-pressed:#d0d0d0;--color-icon-alternative:var(--brand-colors-grey-grey300);--color-icon-muted:var(--brand-colors-grey-grey600);--color-icon-inverse:var(--brand-colors-grey-grey900);--color-border-default:var(--brand-colors-grey-grey500);--color-border-muted:#ffffff14;--color-overlay-default:#030304b8;--color-overlay-alternative:#030304d6;--color-overlay-inverse:var(--brand-colors-grey-grey000);--color-primary-default:var(--brand-colors-blue-blue300);--color-primary-alternative:var(--brand-colors-blue-blue200);--color-primary-muted:#8b99ff26;--color-primary-inverse:var(--brand-colors-grey-grey900);--color-primary-default-hover:#9eaaff;--color-primary-default-pressed:#c7ceff;--color-primary-muted-hover:#8b99ff33;--color-primary-muted-pressed:#8b99ff40;--color-error-default:var(--brand-colors-red-red300);--color-error-alternative:var(--brand-colors-red-red200);--color-error-muted:#ff758426;--color-error-inverse:var(--brand-colors-grey-grey900);--color-error-default-hover:#ff8a96;--color-error-default-pressed:#ffb2bb;--color-error-muted-hover:#ff758433;--color-error-muted-pressed:#ff758440;--color-warning-default:var(--brand-colors-yellow-yellow200);--color-warning-muted:#f0b03426;--color-warning-inverse:var(--brand-colors-grey-grey900);--color-warning-default-hover:#f3be59;--color-warning-default-pressed:#f6cd7f;--color-warning-muted-hover:#f0b03433;--color-warning-muted-pressed:#f0b03440;--color-success-default:var(--brand-colors-lime-lime100);--color-success-muted:#baf24a26;--color-success-inverse:var(--brand-colors-grey-grey900);--color-success-default-hover:#c9f570;--color-success-default-pressed:#d7f796;--color-success-muted-hover:#baf24a33;--color-success-muted-pressed:#baf24a40;--color-info-default:var(--brand-colors-blue-blue300);--color-info-muted:#8b99ff26;--color-info-inverse:var(--brand-colors-grey-grey900);--color-accent01-light:var(--brand-colors-orange-orange200);--color-accent01-normal:var(--brand-colors-orange-orange400);--color-accent01-dark:var(--brand-colors-orange-orange700);--color-accent02-light:var(--brand-colors-purple-purple100);--color-accent02-normal:var(--brand-colors-purple-purple300);--color-accent02-dark:var(--brand-colors-purple-purple800);--color-accent03-light:var(--brand-colors-lime-lime050);--color-accent03-normal:var(--brand-colors-lime-lime100);--color-accent03-dark:var(--brand-colors-lime-lime700);--color-accent04-light:var(--brand-colors-indigo-indigo100);--color-accent04-normal:var(--brand-colors-indigo-indigo200);--color-accent04-dark:var(--brand-colors-indigo-indigo800);--color-flask-default:var(--brand-colors-purple-purple300);--color-flask-inverse:var(--brand-colors-grey-grey900);--color-shadow-default:#00000066;--color-shadow-primary:#8b99ff33;--color-shadow-error:#ff758433}:root{--font-family-default:'Geist','Helvetica Neue',Helvetica,Arial,sans-serif;--font-family-accent:'MMSans','Helvetica Neue',Helvetica,Arial,sans-serif;--font-family-hero:'MMPoly','Helvetica Neue',Helvetica,Arial,sans-serif;--font-size-base:16px;--font-size-1:0.625rem;--font-size-2:0.75rem;--font-size-3:0.875rem;--font-size-4:1rem;--font-size-5:1.25rem;--font-size-6:1.5rem;--font-size-7:2rem;--font-size-8:2.5rem;--font-size-9:3rem;--font-size-10:3.75rem;--line-height-1:1rem;--line-height-2:1.25rem;--line-height-3:1.375rem;--line-height-4:1.5rem;--line-height-5:2rem;--line-height-6:2.5rem;--line-height-7:3.125rem;--line-height-8:3.5rem;--line-height-9:4.6875rem;--font-weight-regular:400;--font-weight-medium:500;--font-weight-bold:600;--letter-spacing-0:0;--letter-spacing-1:2.5%;--typography-s-display-lg-font-size:var(--font-size-8);--typography-s-display-lg-line-height:var(--line-height-7);--typography-s-display-lg-font-weight:var(--font-weight-bold);--typography-s-display-lg-letter-spacing:var(--letter-spacing-0);--typography-s-display-md-font-size:var(--font-size-7);--typography-s-display-md-line-height:var(--line-height-6);--typography-s-display-md-font-weight:var(--font-weight-bold);--typography-s-display-md-letter-spacing:var(--letter-spacing-0);--typography-s-heading-lg-font-size:var(--font-size-6);--typography-s-heading-lg-line-height:var(--line-height-5);--typography-s-heading-lg-font-weight:var(--font-weight-bold);--typography-s-heading-lg-letter-spacing:var(--letter-spacing-0);--typography-s-heading-md-font-size:var(--font-size-5);--typography-s-heading-md-line-height:var(--line-height-4);--typography-s-heading-md-font-weight:var(--font-weight-bold);--typography-s-heading-md-letter-spacing:var(--letter-spacing-0);--typography-s-heading-sm-font-size:var(--font-size-4);--typography-s-heading-sm-line-height:var(--line-height-4);--typography-s-heading-sm-font-weight:var(--font-weight-bold);--typography-s-heading-sm-letter-spacing:var(--letter-spacing-0);--typography-s-body-lg-medium-font-size:var(--font-size-5);--typography-s-body-lg-medium-line-height:var(--line-height-4);--typography-s-body-lg-medium-font-weight:var(--font-weight-medium);--typography-s-body-lg-medium-letter-spacing:var(--letter-spacing-0);--typography-s-body-lg-regular-font-size:var(--font-size-5);--typography-s-body-lg-regular-line-height:var(--line-height-4);--typography-s-body-lg-regular-font-weight:var(--font-weight-medium);--typography-s-body-lg-regular-letter-spacing:var(--letter-spacing-0);--typography-s-body-md-bold-font-size:var(--font-size-4);--typography-s-body-md-bold-line-height:var(--line-height-4);--typography-s-body-md-bold-font-weight:var(--font-weight-bold);--typography-s-body-md-bold-letter-spacing:var(--letter-spacing-0);--typography-s-body-md-medium-font-size:var(--font-size-4);--typography-s-body-md-medium-line-height:var(--line-height-4);--typography-s-body-md-medium-font-weight:var(--font-weight-medium);--typography-s-body-md-medium-letter-spacing:var(--letter-spacing-0);--typography-s-body-md-font-size:var(--font-size-4);--typography-s-body-md-line-height:var(--line-height-4);--typography-s-body-md-font-weight:var(--font-weight-regular);--typography-s-body-md-letter-spacing:var(--letter-spacing-0);--typography-s-body-sm-bold-font-size:var(--font-size-3);--typography-s-body-sm-bold-line-height:var(--line-height-3);--typography-s-body-sm-bold-font-weight:var(--font-weight-bold);--typography-s-body-sm-bold-letter-spacing:var(--letter-spacing-0);--typography-s-body-sm-medium-font-size:var(--font-size-3);--typography-s-body-sm-medium-line-height:var(--line-height-3);--typography-s-body-sm-medium-font-weight:var(--font-weight-medium);--typography-s-body-sm-medium-letter-spacing:var(--letter-spacing-0);--typography-s-body-sm-font-size:var(--font-size-3);--typography-s-body-sm-line-height:var(--line-height-3);--typography-s-body-sm-font-weight:var(--font-weight-regular);--typography-s-body-sm-letter-spacing:var(--letter-spacing-0);--typography-s-body-xs-medium-font-size:var(--font-size-2);--typography-s-body-xs-medium-line-height:var(--line-height-2);--typography-s-body-xs-medium-font-weight:var(--font-weight-medium);--typography-s-body-xs-medium-letter-spacing:var(--letter-spacing-1);--typography-s-body-xs-font-size:var(--font-size-2);--typography-s-body-xs-line-height:var(--line-height-2);--typography-s-body-xs-font-weight:var(--font-weight-regular);--typography-s-body-xs-letter-spacing:var(--letter-spacing-1);--typography-s-page-heading-font-size:var(--font-size-6);--typography-s-page-heading-line-height:var(--line-height-5);--typography-s-page-heading-font-weight:var(--font-weight-bold);--typography-s-page-heading-letter-spacing:var(--letter-spacing-0);--typography-s-section-heading-font-size:var(--font-size-5);--typography-s-section-heading-line-height:var(--line-height-4);--typography-s-section-heading-font-weight:var(--font-weight-bold);--typography-s-section-heading-letter-spacing:var(--letter-spacing-0);--typography-s-button-label-md-font-size:var(--font-size-4);--typography-s-button-label-md-line-height:var(--line-height-4);--typography-s-button-label-md-font-weight:var(--font-weight-medium);--typography-s-button-label-md-letter-spacing:var(--letter-spacing-0);--typography-s-button-label-lg-font-size:var(--font-size-5);--typography-s-button-label-lg-line-height:var(--line-height-4);--typography-s-button-label-lg-font-weight:var(--font-weight-medium);--typography-s-button-label-lg-letter-spacing:var(--letter-spacing-0);--typography-s-amount-display-lg-font-size:var(--font-size-8);--typography-s-amount-display-lg-line-height:var(--line-height-7);--typography-s-amount-display-lg-font-weight:var(--font-weight-bold);--typography-s-amount-display-lg-letter-spacing:var(--letter-spacing-0);--typography-l-display-lg-font-size:var(--font-size-10);--typography-l-display-lg-line-height:var(--line-height-9);--typography-l-display-lg-font-weight:var(--font-weight-medium);--typography-l-display-lg-letter-spacing:var(--letter-spacing-0);--typography-l-display-md-font-size:var(--font-size-9);--typography-l-display-md-line-height:var(--line-height-8);--typography-l-display-md-font-weight:var(--font-weight-medium);--typography-l-display-md-letter-spacing:var(--letter-spacing-0);--typography-l-heading-lg-font-size:var(--font-size-7);--typography-l-heading-lg-line-height:var(--line-height-6);--typography-l-heading-lg-font-weight:var(--font-weight-bold);--typography-l-heading-lg-letter-spacing:var(--letter-spacing-0);--typography-l-heading-md-font-size:var(--font-size-6);--typography-l-heading-md-line-height:var(--line-height-5);--typography-l-heading-md-font-weight:var(--font-weight-bold);--typography-l-heading-md-letter-spacing:var(--letter-spacing-0);--typography-l-heading-sm-font-size:var(--font-size-5);--typography-l-heading-sm-line-height:var(--line-height-4);--typography-l-heading-sm-font-weight:var(--font-weight-bold);--typography-l-heading-sm-letter-spacing:var(--letter-spacing-0);--typography-l-body-lg-medium-font-size:var(--font-size-5);--typography-l-body-lg-medium-line-height:var(--line-height-4);--typography-l-body-lg-medium-font-weight:var(--font-weight-medium);--typography-l-body-lg-medium-letter-spacing:var(--letter-spacing-0);--typography-l-body-md-bold-font-size:var(--font-size-4);--typography-l-body-md-bold-line-height:var(--line-height-4);--typography-l-body-md-bold-font-weight:var(--font-weight-bold);--typography-l-body-md-bold-letter-spacing:var(--letter-spacing-0);--typography-l-body-md-medium-font-size:var(--font-size-4);--typography-l-body-md-medium-line-height:var(--line-height-4);--typography-l-body-md-medium-font-weight:var(--font-weight-medium);--typography-l-body-md-medium-letter-spacing:var(--letter-spacing-0);--typography-l-body-md-font-size:var(--font-size-4);--typography-l-body-md-line-height:var(--line-height-4);--typography-l-body-md-font-weight:var(--font-weight-regular);--typography-l-body-md-letter-spacing:var(--letter-spacing-0);--typography-l-body-sm-bold-font-size:var(--font-size-3);--typography-l-body-sm-bold-line-height:var(--line-height-3);--typography-l-body-sm-bold-font-weight:var(--font-weight-bold);--typography-l-body-sm-bold-letter-spacing:var(--letter-spacing-0);--typography-l-body-sm-medium-font-size:var(--font-size-3);--typography-l-body-sm-medium-line-height:var(--line-height-3);--typography-l-body-sm-medium-font-weight:var(--font-weight-medium);--typography-l-body-sm-medium-letter-spacing:var(--letter-spacing-0);--typography-l-body-sm-font-size:var(--font-size-3);--typography-l-body-sm-line-height:var(--line-height-3);--typography-l-body-sm-font-weight:var(--font-weight-regular);--typography-l-body-sm-letter-spacing:var(--letter-spacing-0);--typography-l-body-xs-medium-font-size:var(--font-size-2);--typography-l-body-xs-medium-line-height:var(--line-height-2);--typography-l-body-xs-medium-font-weight:var(--font-weight-medium);--typography-l-body-xs-medium-letter-spacing:var(--letter-spacing-1);--typography-l-body-xs-font-size:var(--font-size-2);--typography-l-body-xs-line-height:var(--line-height-2);--typography-l-body-xs-font-weight:var(--font-weight-regular);--typography-l-body-xs-letter-spacing:var(--letter-spacing-1);--typography-l-page-heading-font-size:var(--font-size-7);--typography-l-page-heading-line-height:var(--line-height-6);--typography-l-page-heading-font-weight:var(--font-weight-bold);--typography-l-page-heading-letter-spacing:var(--letter-spacing-0);--typography-l-section-heading-font-size:var(--font-size-6);--typography-l-section-heading-line-height:var(--line-height-5);--typography-l-section-heading-font-weight:var(--font-weight-bold);--typography-l-section-heading-letter-spacing:var(--letter-spacing-0);--typography-l-button-label-md-font-size:var(--font-size-4);--typography-l-button-label-md-line-height:var(--line-height-4);--typography-l-button-label-md-font-weight:var(--font-weight-medium);--typography-l-button-label-md-letter-spacing:var(--letter-spacing-0);--typography-l-button-label-lg-font-size:var(--font-size-5);--typography-l-button-label-lg-line-height:var(--line-height-4);--typography-l-button-label-lg-font-weight:var(--font-weight-medium);--typography-l-button-label-lg-letter-spacing:var(--letter-spacing-0);--typography-l-amount-display-lg-font-size:var(--font-size-10);--typography-l-amount-display-lg-line-height:var(--line-height-9);--typography-l-amount-display-lg-font-weight:var(--font-weight-medium);--typography-l-amount-display-lg-letter-spacing:var(--letter-spacing-0)}:root{--shadow-size-xs:0 2px 4px 0;--shadow-size-sm:0 2px 8px 0;--shadow-size-md:0 2px 16px 0;--shadow-size-lg:0 2px 40px 0}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/design-tokens",
3
- "version": "8.2.2-preview.fa05289",
3
+ "version": "8.3.0-preview.b4e6ece",
4
4
  "description": "Design tokens to be used throughout MetaMask products",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -27,8 +27,7 @@
27
27
  }
28
28
  },
29
29
  "./package.json": "./package.json",
30
- "./styles.css": "./dist/styles.css",
31
- "./tailwind/theme.css": "./dist/tailwind/theme.css"
30
+ "./styles.css": "./dist/styles.css"
32
31
  },
33
32
  "main": "./dist/index.cjs",
34
33
  "module": "./dist/index.mjs",
@@ -38,9 +37,7 @@
38
37
  ],
39
38
  "scripts": {
40
39
  "build": "ts-bridge --project tsconfig.build.json --verbose --clean --no-references && yarn build:css",
41
- "build:css": "cleancss -o dist/styles.css src/css/index.css && yarn build:css:tailwind",
42
- "build:css:tailwind": "mkdir -p dist/tailwind && cp src/tailwind/theme.css dist/tailwind/theme.css",
43
- "check:tailwind-theme-parity": "tsx scripts/check-tailwind-theme-parity.ts",
40
+ "build:css": "cleancss -o dist/styles.css src/css/index.css",
44
41
  "changelog:update": "../../scripts/update-changelog.sh @metamask/design-tokens",
45
42
  "changelog:validate": "../../scripts/validate-changelog.sh @metamask/design-tokens",
46
43
  "publish:preview": "yarn npm publish --tag preview",
@@ -51,9 +48,8 @@
51
48
  "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
52
49
  },
53
50
  "devDependencies": {
54
- "@metamask-previews/design-system-react": "0.11.0-preview.fa05289",
51
+ "@metamask-previews/design-system-react": "0.13.0-preview.b4e6ece",
55
52
  "@metamask/auto-changelog": "^5.3.2",
56
- "@tailwindcss/postcss": "^4.0.0",
57
53
  "@ts-bridge/cli": "^0.6.3",
58
54
  "@types/jest": "^27.4.1",
59
55
  "@types/node": "^16.18.54",
@@ -1,782 +0,0 @@
1
- @import '../css/brand-colors.css';
2
- @import '../css/typography.css';
3
- @import '../css/shadow.css';
4
-
5
- @theme {
6
- --font-size-*: initial;
7
- --font-weight-*: initial;
8
-
9
- /* Essential Tailwind colors required for basic utilities */
10
- --color-inherit: inherit;
11
- --color-current: currentColor;
12
- --color-transparent: transparent;
13
- --color-black: #000000;
14
- --color-white: #ffffff;
15
-
16
- /* Background default should be the darkest shade, 0 elevation.
17
- Section is +1 elevation, subsection is +2 elevation.
18
- Alternative should be deprecated. */
19
- --color-background-default: var(--brand-colors-grey-grey000);
20
- --color-background-section: var(--brand-colors-grey-grey050);
21
- --color-background-subsection: var(--brand-colors-grey-grey000);
22
- --color-background-alternative: var(--brand-colors-grey-grey050);
23
-
24
- /* Applied to interactive elements, such as buttons.
25
- For light mode, we use 8% increments of opacity to offer
26
- sufficient affordance for usability. */
27
- --color-background-muted: #b4b4b528;
28
- --color-background-muted-hover: #b4b4b53d;
29
- --color-background-muted-pressed: #b4b4b552;
30
-
31
- /* Ensures visual consistency with section and subsection. */
32
- --color-background-default-hover: var(--brand-colors-grey-grey050);
33
- --color-background-default-pressed: var(--brand-colors-grey-grey100);
34
-
35
- /* These colors should be deprecated eventually for simplicity */
36
- --color-background-alternative-hover: #ebedf1;
37
- --color-background-alternative-pressed: #e1e4ea;
38
-
39
- /* These have opacities of pure white for general usage.
40
- Visually, they align with section and subsection.*/
41
- --color-background-hover: #b4b4b528;
42
- --color-background-pressed: #b4b4b53d;
43
-
44
- /* These are our content colors.
45
- Contrast ratio of alternative: 5.7 on default, 5.1 on section.
46
- Contrast ratio of muted: 1.9 on default, 1.7 on section.*/
47
- --color-text-default: var(--brand-colors-grey-grey900);
48
- --color-text-alternative: var(--brand-colors-grey-grey500);
49
- --color-text-muted: var(--brand-colors-grey-grey200);
50
-
51
- --color-icon-default: var(--brand-colors-grey-grey900);
52
- --color-icon-default-hover: #2a2b2c;
53
- --color-icon-default-pressed: #414243;
54
-
55
- --color-icon-alternative: var(--brand-colors-grey-grey500);
56
- --color-icon-muted: var(--brand-colors-grey-grey200);
57
- --color-icon-inverse: var(--brand-colors-grey-grey000);
58
-
59
- /* Border default has a 3:3 ratio when applied on bg-default
60
- and 3.0 on section. We use opacity for border-muted so it
61
- maintains sufficient contrast on bg-default and bg-section.*/
62
- --color-border-default: var(--brand-colors-grey-grey400);
63
- --color-border-muted: #b4b4b566;
64
-
65
- /* Derived from the background hue, 264.5, for consistency.
66
- Opacity for default is 36%, alternative is 57%. Default is meant
67
- to be the inverse of dark mode so the layering feels consistent
68
- across themes. Alternative is relatively darker in light mode for
69
- better contrast.*/
70
- --color-overlay-default: #0a0d135c;
71
- --color-overlay-alternative: #0a0d1392;
72
- --color-overlay-inverse: var(--brand-colors-grey-grey000);
73
-
74
- /* For primary semantic elements: interactive, active, selected (#4459ff) */
75
- --color-primary-default: var(--brand-colors-blue-blue500);
76
- /* Stronger color for primary semantic elements (#2c3dc5) */
77
- --color-primary-alternative: var(--brand-colors-blue-blue600);
78
- /* Muted color for primary semantic elements (#4459ff1a) */
79
- --color-primary-muted: #4459ff1a;
80
- /* For elements placed on top of primary/default (#ffffff) */
81
- --color-primary-inverse: var(--brand-colors-grey-grey000);
82
- /* Hover state surface for primary/default (#384df5) */
83
- --color-primary-default-hover: #384df5;
84
- /* Pressed state surface for primary/default (#2b3eda) */
85
- --color-primary-default-pressed: #2b3eda;
86
- /* Hover state surface for primary/muted (#4459ff26) */
87
- --color-primary-muted-hover: #4459ff26;
88
- /* Pressed state surface for primary/muted (#4459ff33) */
89
- --color-primary-muted-pressed: #4459ff33;
90
- /* For danger semantic elements: error, critical, destructive (#ca3542) */
91
- --color-error-default: var(--brand-colors-red-red500);
92
- /* Stronger color for error semantic (#952731) */
93
- --color-error-alternative: var(--brand-colors-red-red600);
94
- /* Muted color for error semantic (#ca35421a) */
95
- --color-error-muted: #ca35421a;
96
- /* For elements placed on top of error/default (#ffffff) */
97
- --color-error-inverse: var(--brand-colors-grey-grey000);
98
- /* Hover state surface for error/default (#ba313d) */
99
- --color-error-default-hover: #ba313d;
100
- /* Pressed state surface for error/default (#9a2832) */
101
- --color-error-default-pressed: #9a2832;
102
- /* Hover state surface for error/muted (#ca354226) */
103
- --color-error-muted-hover: #ca354226;
104
- /* Pressed state surface for error/muted (#ca354233) */
105
- --color-error-muted-pressed: #ca354233;
106
- /* For warning semantic elements: caution, attention, precaution (#9a6300) */
107
- --color-warning-default: var(--brand-colors-yellow-yellow500);
108
- /* Muted color option for warning semantic (#9a63001a) */
109
- --color-warning-muted: #9a63001a;
110
- /* For elements placed on top of warning/default (#ffffff) */
111
- --color-warning-inverse: var(--brand-colors-grey-grey000);
112
- /* Hover state surface for warning/default (#855500) */
113
- --color-warning-default-hover: #855500;
114
- /* Pressed state surface for warning/default (#5c3b00) */
115
- --color-warning-default-pressed: #5c3b00;
116
- /* Hover state surface for warning/muted (#9a630026) */
117
- --color-warning-muted-hover: #9a630026;
118
- /* Pressed state surface for warning/muted (#9a630033) */
119
- --color-warning-muted-pressed: #9a630033;
120
- /* For positive semantic elements: success, confirm, complete, safe (#457A39) */
121
- --color-success-default: var(--brand-colors-lime-lime500);
122
- /* Muted color for positive semantic (#457a391a) */
123
- --color-success-muted: #457a391a;
124
- /* For elements placed on top of success/default (#ffffff) */
125
- --color-success-inverse: var(--brand-colors-grey-grey000);
126
- /* Hover state surface for success/default (#3d6c32) */
127
- --color-success-default-hover: #3d6c32;
128
- /* Pressed state surface for success/default (#2d5025) */
129
- --color-success-default-pressed: #2d5025;
130
- /* Hover state surface for success/muted (#457a3926) */
131
- --color-success-muted-hover: #457a3926;
132
- /* Pressed state surface for success/muted (#457a3933) */
133
- --color-success-muted-pressed: #457a3933;
134
- /* For informational read-only elements: info, reminder, hint (#4459ff) */
135
- --color-info-default: var(--brand-colors-blue-blue500);
136
- /* Muted color for informational semantic (#4459ff1a) */
137
- --color-info-muted: #4459ff1a;
138
- /* For elements placed on top of info/default (#ffffff) */
139
- --color-info-inverse: var(--brand-colors-grey-grey000);
140
- /* Expressive color in light orange (#ffa680) */
141
- --color-accent01-light: var(--brand-colors-orange-orange200);
142
- /* Expressive color in orange (#ff5c16) */
143
- --color-accent01-normal: var(--brand-colors-orange-orange400);
144
- /* Expressive color in dark orange (#661800) */
145
- --color-accent01-dark: var(--brand-colors-orange-orange700);
146
- /* Expressive color in light purple (#eac2ff) */
147
- --color-accent02-light: var(--brand-colors-purple-purple100);
148
- /* Expressive color in purple (#d075ff) */
149
- --color-accent02-normal: var(--brand-colors-purple-purple300);
150
- /* Expressive color in dark purple (#3d065f) */
151
- --color-accent02-dark: var(--brand-colors-purple-purple800);
152
- /* Expressive color in light lime (#e5ffc3) */
153
- --color-accent03-light: var(--brand-colors-lime-lime050);
154
- /* Expressive color in lime (#baf24a) */
155
- --color-accent03-normal: var(--brand-colors-lime-lime100);
156
- /* Expressive color in dark lime (#013330) */
157
- --color-accent03-dark: var(--brand-colors-lime-lime700);
158
- /* Expressive color in light indigo (#) */
159
- --color-accent04-light: var(--brand-colors-indigo-indigo100);
160
- /* Expressive color in indigo (#) */
161
- --color-accent04-normal: var(--brand-colors-indigo-indigo200);
162
- /* Expressive color in dark indigo (#) */
163
- --color-accent04-dark: var(--brand-colors-indigo-indigo800);
164
- /* For Flask primary accent color (#8f44e4) */
165
- --color-flask-default: var(--brand-colors-purple-purple500);
166
- /* For elements placed on top of flask/default (#ffffff) */
167
- --color-flask-inverse: var(--brand-colors-grey-grey000);
168
- /* For neutral drop shadow color (black-10% | black-40%) */
169
- --color-shadow-default: #0000001a;
170
- /* For primary drop shadow color (blue500-20% | blue300-20%) */
171
- --color-shadow-primary: #4459ff33;
172
- /* For critical/danger drop shadow color (red50-20% | red300-20%) */
173
- --color-shadow-error: #ca354266;
174
-
175
- /* Box Shadows */
176
- --box-shadow-xs: var(--shadow-size-xs)
177
- var(--shadow-color, var(--color-shadow-default));
178
- --box-shadow-sm: var(--shadow-size-sm)
179
- var(--shadow-color, var(--color-shadow-default));
180
- --box-shadow-md: var(--shadow-size-md)
181
- var(--shadow-color, var(--color-shadow-default));
182
- --box-shadow-lg: var(--shadow-size-lg)
183
- var(--shadow-color, var(--color-shadow-default));
184
- }
185
-
186
- /**
187
- * Light Theme Colors
188
- * Explicitly scoped so .light resets variables when nested inside .dark.
189
- * The :root values come from @theme above — this block only needs
190
- * the class/attribute selectors for runtime theme switching.
191
- */
192
- [data-theme='light'],
193
- .light {
194
- --color-background-default: var(--brand-colors-grey-grey000);
195
- --color-background-section: var(--brand-colors-grey-grey050);
196
- --color-background-subsection: var(--brand-colors-grey-grey000);
197
- --color-background-alternative: var(--brand-colors-grey-grey050);
198
- --color-background-muted: #b4b4b528;
199
- --color-background-muted-hover: #b4b4b53d;
200
- --color-background-muted-pressed: #b4b4b552;
201
- --color-background-default-hover: var(--brand-colors-grey-grey050);
202
- --color-background-default-pressed: var(--brand-colors-grey-grey100);
203
- --color-background-alternative-hover: #ebedf1;
204
- --color-background-alternative-pressed: #e1e4ea;
205
- --color-background-hover: #b4b4b528;
206
- --color-background-pressed: #b4b4b53d;
207
- --color-text-default: var(--brand-colors-grey-grey900);
208
- --color-text-alternative: var(--brand-colors-grey-grey500);
209
- --color-text-muted: var(--brand-colors-grey-grey200);
210
- --color-icon-default: var(--brand-colors-grey-grey900);
211
- --color-icon-default-hover: #2a2b2c;
212
- --color-icon-default-pressed: #414243;
213
- --color-icon-alternative: var(--brand-colors-grey-grey500);
214
- --color-icon-muted: var(--brand-colors-grey-grey200);
215
- --color-icon-inverse: var(--brand-colors-grey-grey000);
216
- --color-border-default: var(--brand-colors-grey-grey400);
217
- --color-border-muted: #b4b4b566;
218
- --color-overlay-default: #0a0d135c;
219
- --color-overlay-alternative: #0a0d1392;
220
- --color-overlay-inverse: var(--brand-colors-grey-grey000);
221
- --color-primary-default: var(--brand-colors-blue-blue500);
222
- --color-primary-alternative: var(--brand-colors-blue-blue600);
223
- --color-primary-muted: #4459ff1a;
224
- --color-primary-inverse: var(--brand-colors-grey-grey000);
225
- --color-primary-default-hover: #384df5;
226
- --color-primary-default-pressed: #2b3eda;
227
- --color-primary-muted-hover: #4459ff26;
228
- --color-primary-muted-pressed: #4459ff33;
229
- --color-error-default: var(--brand-colors-red-red500);
230
- --color-error-alternative: var(--brand-colors-red-red600);
231
- --color-error-muted: #ca35421a;
232
- --color-error-inverse: var(--brand-colors-grey-grey000);
233
- --color-error-default-hover: #ba313d;
234
- --color-error-default-pressed: #9a2832;
235
- --color-error-muted-hover: #ca354226;
236
- --color-error-muted-pressed: #ca354233;
237
- --color-warning-default: var(--brand-colors-yellow-yellow500);
238
- --color-warning-muted: #9a63001a;
239
- --color-warning-inverse: var(--brand-colors-grey-grey000);
240
- --color-warning-default-hover: #855500;
241
- --color-warning-default-pressed: #5c3b00;
242
- --color-warning-muted-hover: #9a630026;
243
- --color-warning-muted-pressed: #9a630033;
244
- --color-success-default: var(--brand-colors-lime-lime500);
245
- --color-success-muted: #457a391a;
246
- --color-success-inverse: var(--brand-colors-grey-grey000);
247
- --color-success-default-hover: #3d6c32;
248
- --color-success-default-pressed: #2d5025;
249
- --color-success-muted-hover: #457a3926;
250
- --color-success-muted-pressed: #457a3933;
251
- --color-info-default: var(--brand-colors-blue-blue500);
252
- --color-info-muted: #4459ff1a;
253
- --color-info-inverse: var(--brand-colors-grey-grey000);
254
- --color-accent01-light: var(--brand-colors-orange-orange200);
255
- --color-accent01-normal: var(--brand-colors-orange-orange400);
256
- --color-accent01-dark: var(--brand-colors-orange-orange700);
257
- --color-accent02-light: var(--brand-colors-purple-purple100);
258
- --color-accent02-normal: var(--brand-colors-purple-purple300);
259
- --color-accent02-dark: var(--brand-colors-purple-purple800);
260
- --color-accent03-light: var(--brand-colors-lime-lime050);
261
- --color-accent03-normal: var(--brand-colors-lime-lime100);
262
- --color-accent03-dark: var(--brand-colors-lime-lime700);
263
- --color-accent04-light: var(--brand-colors-indigo-indigo100);
264
- --color-accent04-normal: var(--brand-colors-indigo-indigo200);
265
- --color-accent04-dark: var(--brand-colors-indigo-indigo800);
266
- --color-flask-default: var(--brand-colors-purple-purple500);
267
- --color-flask-inverse: var(--brand-colors-grey-grey000);
268
- --color-shadow-default: #0000001a;
269
- --color-shadow-primary: #4459ff33;
270
- --color-shadow-error: #ca354266;
271
- }
272
-
273
- /**
274
- * Dark Theme Colors
275
- */
276
- [data-theme='dark'],
277
- .dark {
278
- /* Background default should be the darkest shade, 0 elevation.
279
- Section is +1 elevation, subsection is +2 elevation.
280
- Alternative should be deprecated. */
281
- --color-background-default: var(--brand-colors-grey-grey900);
282
- --color-background-section: var(--brand-colors-grey-grey800);
283
- --color-background-subsection: var(--brand-colors-grey-grey700);
284
- --color-background-alternative: var(--brand-colors-grey-grey1000);
285
-
286
- /* Applied to interactive elements, such as buttons.
287
- For dark mode, we apply pure white with 4% opacity so these
288
- tokens inherit the background hue of 264.5. */
289
- --color-background-muted: #ffffff0a;
290
- --color-background-muted-hover: #ffffff14;
291
- --color-background-muted-pressed: #ffffff1f;
292
-
293
- /* Ensures visual consistency with section and subsection. */
294
- --color-background-default-hover: var(--brand-colors-grey-grey800);
295
- --color-background-default-pressed: var(--brand-colors-grey-grey700);
296
-
297
- /* Hover state surface for background/alternative (#0d0d0e) */
298
- --color-background-alternative-hover: #0d0d0e;
299
- --color-background-alternative-pressed: #161617;
300
-
301
- /* These have opacities of pure white for general usage.
302
- We set 8% for hover and 12% for pressed so these tokens pick up
303
- background hues and are consistent with +1 and +2 elevations.*/
304
- --color-background-hover: #ffffff0a;
305
- --color-background-pressed: #ffffff1f;
306
-
307
- /* These are our content colors.
308
- Contrast ratio of alternative: 7.4 on default, 8.5 on section.
309
- Contrast ratio of muted: 2.0 on default, 1.8 on section.*/
310
- --color-text-default: var(--brand-colors-grey-grey000);
311
- --color-text-alternative: var(--brand-colors-grey-grey300);
312
- --color-text-muted: var(--brand-colors-grey-grey600);
313
-
314
- --color-icon-default: var(--brand-colors-grey-grey000);
315
- --color-icon-default-hover: #f0f0f0;
316
- --color-icon-default-pressed: #d0d0d0;
317
-
318
- --color-icon-alternative: var(--brand-colors-grey-grey300);
319
- --color-icon-muted: var(--brand-colors-grey-grey600);
320
- --color-icon-inverse: var(--brand-colors-grey-grey900);
321
-
322
- /* Contrast of border-default: 3:3 on bg-default, 3.0 on section.
323
- We use 8% opacify of pure white for border-muted so it maintains
324
- sufficient contrast on bg-default and bg-section.*/
325
- --color-border-default: var(--brand-colors-grey-grey500);
326
- --color-border-muted: #ffffff14;
327
-
328
- /* Derived from the same hue as bg-default, 264.5, for visual
329
- consistency. Ensures we don't have too much "red".
330
- Opacities are 72% and 84% for default and alternative. */
331
- --color-overlay-default: #030304b8;
332
- --color-overlay-alternative: #030304d6;
333
- --color-overlay-inverse: var(--brand-colors-grey-grey000);
334
-
335
- /* For primary semantic elements: interactive, active, selected (#8b99ff) */
336
- --color-primary-default: var(--brand-colors-blue-blue300);
337
- /* Stronger color for primary semantic elements (#adb6fe) */
338
- --color-primary-alternative: var(--brand-colors-blue-blue200);
339
- /* Muted color for primary semantic elements (#8b99ff26) */
340
- --color-primary-muted: #8b99ff26;
341
- /* For elements placed on top of primary/default (#121314) */
342
- --color-primary-inverse: var(--brand-colors-grey-grey900);
343
- /* Hover state surface for primary/default (#9eaaff) */
344
- --color-primary-default-hover: #9eaaff;
345
- /* Pressed state surface for primary/default (#c7ceff) */
346
- --color-primary-default-pressed: #c7ceff;
347
- /* Hover state surface for primary/muted (#8b99ff33) */
348
- --color-primary-muted-hover: #8b99ff33;
349
- /* Pressed state surface for primary/muted (#8b99ff40) */
350
- --color-primary-muted-pressed: #8b99ff40;
351
- /* For danger semantic elements: error, critical, destructive (#ff7584) */
352
- --color-error-default: var(--brand-colors-red-red300);
353
- /* Stronger color for error semantic (#ffa1aa) */
354
- --color-error-alternative: var(--brand-colors-red-red200);
355
- /* Muted color for error semantic (#ff758426) */
356
- --color-error-muted: #ff758426;
357
- /* For elements placed on top of error/default (#121314) */
358
- --color-error-inverse: var(--brand-colors-grey-grey900);
359
- /* Hover state surface for error/default (#ff8a96) */
360
- --color-error-default-hover: #ff8a96;
361
- /* Pressed state surface for error/default (#ffb2bb) */
362
- --color-error-default-pressed: #ffb2bb;
363
- /* Hover state surface for error/muted (#ff758433) */
364
- --color-error-muted-hover: #ff758433;
365
- /* Pressed state surface for error/muted (#ff758440) */
366
- --color-error-muted-pressed: #ff758440;
367
- /* For warning semantic elements: caution, attention, precaution (#f0b034) */
368
- --color-warning-default: var(--brand-colors-yellow-yellow200);
369
- /* Muted color option for warning semantic (#f0b03426) */
370
- --color-warning-muted: #f0b03426;
371
- /* For elements placed on top of warning/default (#121314) */
372
- --color-warning-inverse: var(--brand-colors-grey-grey900);
373
- /* Hover state surface for warning/default (#f3be59) */
374
- --color-warning-default-hover: #f3be59;
375
- /* Pressed state surface for warning/default (#f6cd7f) */
376
- --color-warning-default-pressed: #f6cd7f;
377
- /* Hover state surface for warning/muted (#f0b03433) */
378
- --color-warning-muted-hover: #f0b03433;
379
- /* Pressed state surface for warning/muted (#f0b03440) */
380
- --color-warning-muted-pressed: #f0b03440;
381
- /* For positive semantic elements: success, confirm, complete, safe (#baf24a) */
382
- --color-success-default: var(--brand-colors-lime-lime100);
383
- /* Muted color for positive semantic (#baf24a26) */
384
- --color-success-muted: #baf24a26;
385
- /* For elements placed on top of success/default (#121314) */
386
- --color-success-inverse: var(--brand-colors-grey-grey900);
387
- /* Hover state surface for success/default (#c9f570) */
388
- --color-success-default-hover: #c9f570;
389
- /* Pressed state surface for success/default (#d7f796) */
390
- --color-success-default-pressed: #d7f796;
391
- /* Hover state surface for success/muted (#baf24a33) */
392
- --color-success-muted-hover: #baf24a33;
393
- /* Pressed state surface for success/muted (#baf24a40) */
394
- --color-success-muted-pressed: #baf24a40;
395
- /* For informational read-only elements: info, reminder, hint (#8b99ff) */
396
- --color-info-default: var(--brand-colors-blue-blue300);
397
- /* Muted color for informational semantic (#8b99ff26) */
398
- --color-info-muted: #8b99ff26;
399
- /* For elements placed on top of info/default (#121314) */
400
- --color-info-inverse: var(--brand-colors-grey-grey900);
401
- /* Expressive color in light orange (#ffa680) */
402
- --color-accent01-light: var(--brand-colors-orange-orange200);
403
- /* Expressive color in orange (#ff5c16) */
404
- --color-accent01-normal: var(--brand-colors-orange-orange400);
405
- /* Expressive color in dark orange (#661800) */
406
- --color-accent01-dark: var(--brand-colors-orange-orange700);
407
- /* Expressive color in light purple (#eac2ff) */
408
- --color-accent02-light: var(--brand-colors-purple-purple100);
409
- /* Expressive color in purple (#d075ff) */
410
- --color-accent02-normal: var(--brand-colors-purple-purple300);
411
- /* Expressive color in dark purple (#3d065f) */
412
- --color-accent02-dark: var(--brand-colors-purple-purple800);
413
- /* Expressive color in light lime (#e5ffc3) */
414
- --color-accent03-light: var(--brand-colors-lime-lime050);
415
- /* Expressive color in lime (#baf24a) */
416
- --color-accent03-normal: var(--brand-colors-lime-lime100);
417
- /* Expressive color in dark lime (#013330) */
418
- --color-accent03-dark: var(--brand-colors-lime-lime700);
419
- /* Expressive color in light indigo (#cce7ff) */
420
- --color-accent04-light: var(--brand-colors-indigo-indigo100);
421
- /* Expressive color in indigo (#89b0ff) */
422
- --color-accent04-normal: var(--brand-colors-indigo-indigo200);
423
- /* Expressive color in dark indigo (#190066) */
424
- --color-accent04-dark: var(--brand-colors-indigo-indigo800);
425
- /* For Flask primary accent color (#d27dff) */
426
- --color-flask-default: var(--brand-colors-purple-purple300);
427
- /* For elements placed on top of flask/default (#121314) */
428
- --color-flask-inverse: var(--brand-colors-grey-grey900);
429
- /* For neutral drop shadow color (black-40%) */
430
- --color-shadow-default: #00000066;
431
- /* For primary drop shadow color (#8b99ff33) */
432
- --color-shadow-primary: #8b99ff33;
433
- /* For critical/danger drop shadow color (#ff758433) */
434
- --color-shadow-error: #ff758433;
435
- }
436
-
437
- /* Color Shortcut Utilities - Enable shorter class names */
438
- /* Text shortcuts: text-default instead of text-text-default */
439
- @utility text-default {
440
- color: var(--color-text-default);
441
- }
442
- @utility text-alternative {
443
- color: var(--color-text-alternative);
444
- }
445
- @utility text-muted {
446
- color: var(--color-text-muted);
447
- }
448
-
449
- /* Background shortcuts: bg-default instead of bg-background-default */
450
- @utility bg-default {
451
- background-color: var(--color-background-default);
452
- }
453
- @utility bg-default-hover {
454
- background-color: var(--color-background-default-hover);
455
- }
456
- @utility bg-default-pressed {
457
- background-color: var(--color-background-default-pressed);
458
- }
459
- @utility bg-alternative {
460
- background-color: var(--color-background-alternative);
461
- }
462
- @utility bg-alternative-hover {
463
- background-color: var(--color-background-alternative-hover);
464
- }
465
- @utility bg-alternative-pressed {
466
- background-color: var(--color-background-alternative-pressed);
467
- }
468
- @utility bg-section {
469
- background-color: var(--color-background-section);
470
- }
471
- @utility bg-subsection {
472
- background-color: var(--color-background-subsection);
473
- }
474
- @utility bg-muted {
475
- background-color: var(--color-background-muted);
476
- }
477
- @utility bg-muted-hover {
478
- background-color: var(--color-background-muted-hover);
479
- }
480
- @utility bg-muted-pressed {
481
- background-color: var(--color-background-muted-pressed);
482
- }
483
- @utility bg-hover {
484
- background-color: var(--color-background-hover);
485
- }
486
- @utility bg-pressed {
487
- background-color: var(--color-background-pressed);
488
- }
489
-
490
- /* Border shortcuts: border-default instead of border-border-default */
491
- @utility border-default {
492
- border-color: var(--color-border-default);
493
- }
494
- @utility border-muted {
495
- border-color: var(--color-border-muted);
496
- }
497
-
498
- /* Legacy typography classnames parity with the old preset */
499
- @utility text-s-display-lg {
500
- font-size: var(--typography-s-display-lg-font-size);
501
- }
502
- @utility text-s-display-md {
503
- font-size: var(--typography-s-display-md-font-size);
504
- }
505
- @utility text-s-heading-lg {
506
- font-size: var(--typography-s-heading-lg-font-size);
507
- }
508
- @utility text-s-heading-md {
509
- font-size: var(--typography-s-heading-md-font-size);
510
- }
511
- @utility text-s-heading-sm {
512
- font-size: var(--typography-s-heading-sm-font-size);
513
- }
514
- @utility text-s-body-lg {
515
- font-size: var(--typography-s-body-lg-regular-font-size);
516
- }
517
- @utility text-s-body-md {
518
- font-size: var(--typography-s-body-md-font-size);
519
- }
520
- @utility text-s-body-sm {
521
- font-size: var(--typography-s-body-sm-font-size);
522
- }
523
- @utility text-s-body-xs {
524
- font-size: var(--typography-s-body-xs-font-size);
525
- }
526
- @utility text-s-page-heading {
527
- font-size: var(--typography-s-page-heading-font-size);
528
- }
529
- @utility text-s-section-heading {
530
- font-size: var(--typography-s-section-heading-font-size);
531
- }
532
- @utility text-s-button-label-md {
533
- font-size: var(--typography-s-button-label-md-font-size);
534
- }
535
- @utility text-s-button-label-lg {
536
- font-size: var(--typography-s-button-label-lg-font-size);
537
- }
538
- @utility text-s-amount-display-lg {
539
- font-size: var(--typography-s-amount-display-lg-font-size);
540
- }
541
- @utility text-l-display-lg {
542
- font-size: var(--typography-l-display-lg-font-size);
543
- }
544
- @utility text-l-display-md {
545
- font-size: var(--typography-l-display-md-font-size);
546
- }
547
- @utility text-l-heading-lg {
548
- font-size: var(--typography-l-heading-lg-font-size);
549
- }
550
- @utility text-l-heading-md {
551
- font-size: var(--typography-l-heading-md-font-size);
552
- }
553
- @utility text-l-heading-sm {
554
- font-size: var(--typography-l-heading-sm-font-size);
555
- }
556
- @utility text-l-body-lg {
557
- font-size: var(--typography-l-body-lg-medium-font-size);
558
- }
559
- @utility text-l-body-md {
560
- font-size: var(--typography-l-body-md-font-size);
561
- }
562
- @utility text-l-body-sm {
563
- font-size: var(--typography-l-body-sm-font-size);
564
- }
565
- @utility text-l-body-xs {
566
- font-size: var(--typography-l-body-xs-font-size);
567
- }
568
- @utility text-l-page-heading {
569
- font-size: var(--typography-l-page-heading-font-size);
570
- }
571
- @utility text-l-section-heading {
572
- font-size: var(--typography-l-section-heading-font-size);
573
- }
574
- @utility text-l-button-label-md {
575
- font-size: var(--typography-l-button-label-md-font-size);
576
- }
577
- @utility text-l-button-label-lg {
578
- font-size: var(--typography-l-button-label-lg-font-size);
579
- }
580
- @utility text-l-amount-display-lg {
581
- font-size: var(--typography-l-amount-display-lg-font-size);
582
- }
583
-
584
- @utility leading-s-display-lg {
585
- line-height: var(--typography-s-display-lg-line-height);
586
- }
587
- @utility leading-s-display-md {
588
- line-height: var(--typography-s-display-md-line-height);
589
- }
590
- @utility leading-s-heading-lg {
591
- line-height: var(--typography-s-heading-lg-line-height);
592
- }
593
- @utility leading-s-heading-md {
594
- line-height: var(--typography-s-heading-md-line-height);
595
- }
596
- @utility leading-s-heading-sm {
597
- line-height: var(--typography-s-heading-sm-line-height);
598
- }
599
- @utility leading-s-body-lg {
600
- line-height: var(--typography-s-body-lg-regular-line-height);
601
- }
602
- @utility leading-s-body-md {
603
- line-height: var(--typography-s-body-md-line-height);
604
- }
605
- @utility leading-s-body-sm {
606
- line-height: var(--typography-s-body-sm-line-height);
607
- }
608
- @utility leading-s-body-xs {
609
- line-height: var(--typography-s-body-xs-line-height);
610
- }
611
- @utility leading-s-page-heading {
612
- line-height: var(--typography-s-page-heading-line-height);
613
- }
614
- @utility leading-s-section-heading {
615
- line-height: var(--typography-s-section-heading-line-height);
616
- }
617
- @utility leading-s-button-label-md {
618
- line-height: var(--typography-s-button-label-md-line-height);
619
- }
620
- @utility leading-s-button-label-lg {
621
- line-height: var(--typography-s-button-label-lg-line-height);
622
- }
623
- @utility leading-s-amount-display-lg {
624
- line-height: var(--typography-s-amount-display-lg-line-height);
625
- }
626
- @utility leading-l-display-lg {
627
- line-height: var(--typography-l-display-lg-line-height);
628
- }
629
- @utility leading-l-display-md {
630
- line-height: var(--typography-l-display-md-line-height);
631
- }
632
- @utility leading-l-heading-lg {
633
- line-height: var(--typography-l-heading-lg-line-height);
634
- }
635
- @utility leading-l-heading-md {
636
- line-height: var(--typography-l-heading-md-line-height);
637
- }
638
- @utility leading-l-heading-sm {
639
- line-height: var(--typography-l-heading-sm-line-height);
640
- }
641
- @utility leading-l-body-lg {
642
- line-height: var(--typography-l-body-lg-medium-line-height);
643
- }
644
- @utility leading-l-body-md {
645
- line-height: var(--typography-l-body-md-line-height);
646
- }
647
- @utility leading-l-body-sm {
648
- line-height: var(--typography-l-body-sm-line-height);
649
- }
650
- @utility leading-l-body-xs {
651
- line-height: var(--typography-l-body-xs-line-height);
652
- }
653
- @utility leading-l-page-heading {
654
- line-height: var(--typography-l-page-heading-line-height);
655
- }
656
- @utility leading-l-section-heading {
657
- line-height: var(--typography-l-section-heading-line-height);
658
- }
659
- @utility leading-l-button-label-md {
660
- line-height: var(--typography-l-button-label-md-line-height);
661
- }
662
- @utility leading-l-button-label-lg {
663
- line-height: var(--typography-l-button-label-lg-line-height);
664
- }
665
- @utility leading-l-amount-display-lg {
666
- line-height: var(--typography-l-amount-display-lg-line-height);
667
- }
668
-
669
- @utility tracking-s-display-lg {
670
- letter-spacing: var(--typography-s-display-lg-letter-spacing);
671
- }
672
- @utility tracking-s-display-md {
673
- letter-spacing: var(--typography-s-display-md-letter-spacing);
674
- }
675
- @utility tracking-s-heading-lg {
676
- letter-spacing: var(--typography-s-heading-lg-letter-spacing);
677
- }
678
- @utility tracking-s-heading-md {
679
- letter-spacing: var(--typography-s-heading-md-letter-spacing);
680
- }
681
- @utility tracking-s-heading-sm {
682
- letter-spacing: var(--typography-s-heading-sm-letter-spacing);
683
- }
684
- @utility tracking-s-body-lg {
685
- letter-spacing: var(--typography-s-body-lg-regular-letter-spacing);
686
- }
687
- @utility tracking-s-body-md {
688
- letter-spacing: var(--typography-s-body-md-letter-spacing);
689
- }
690
- @utility tracking-s-body-sm {
691
- letter-spacing: var(--typography-s-body-sm-letter-spacing);
692
- }
693
- @utility tracking-s-body-xs {
694
- letter-spacing: var(--typography-s-body-xs-letter-spacing);
695
- }
696
- @utility tracking-s-page-heading {
697
- letter-spacing: var(--typography-s-page-heading-letter-spacing);
698
- }
699
- @utility tracking-s-section-heading {
700
- letter-spacing: var(--typography-s-section-heading-letter-spacing);
701
- }
702
- @utility tracking-s-button-label-md {
703
- letter-spacing: var(--typography-s-button-label-md-letter-spacing);
704
- }
705
- @utility tracking-s-button-label-lg {
706
- letter-spacing: var(--typography-s-button-label-lg-letter-spacing);
707
- }
708
- @utility tracking-s-amount-display-lg {
709
- letter-spacing: var(--typography-s-amount-display-lg-letter-spacing);
710
- }
711
- @utility tracking-l-display-lg {
712
- letter-spacing: var(--typography-l-display-lg-letter-spacing);
713
- }
714
- @utility tracking-l-display-md {
715
- letter-spacing: var(--typography-l-display-md-letter-spacing);
716
- }
717
- @utility tracking-l-heading-lg {
718
- letter-spacing: var(--typography-l-heading-lg-letter-spacing);
719
- }
720
- @utility tracking-l-heading-md {
721
- letter-spacing: var(--typography-l-heading-md-letter-spacing);
722
- }
723
- @utility tracking-l-heading-sm {
724
- letter-spacing: var(--typography-l-heading-sm-letter-spacing);
725
- }
726
- @utility tracking-l-body-lg {
727
- letter-spacing: var(--typography-l-body-lg-medium-letter-spacing);
728
- }
729
- @utility tracking-l-body-md {
730
- letter-spacing: var(--typography-l-body-md-letter-spacing);
731
- }
732
- @utility tracking-l-body-sm {
733
- letter-spacing: var(--typography-l-body-sm-letter-spacing);
734
- }
735
- @utility tracking-l-body-xs {
736
- letter-spacing: var(--typography-l-body-xs-letter-spacing);
737
- }
738
- @utility tracking-l-page-heading {
739
- letter-spacing: var(--typography-l-page-heading-letter-spacing);
740
- }
741
- @utility tracking-l-section-heading {
742
- letter-spacing: var(--typography-l-section-heading-letter-spacing);
743
- }
744
- @utility tracking-l-button-label-md {
745
- letter-spacing: var(--typography-l-button-label-md-letter-spacing);
746
- }
747
- @utility tracking-l-button-label-lg {
748
- letter-spacing: var(--typography-l-button-label-lg-letter-spacing);
749
- }
750
- @utility tracking-l-amount-display-lg {
751
- letter-spacing: var(--typography-l-amount-display-lg-letter-spacing);
752
- }
753
-
754
- @utility font-default {
755
- font-family: var(--font-family-default);
756
- }
757
- @utility font-accent {
758
- font-family: var(--font-family-accent);
759
- }
760
- @utility font-hero {
761
- font-family: var(--font-family-hero);
762
- }
763
- @utility font-regular {
764
- font-weight: var(--font-weight-regular);
765
- }
766
- @utility font-medium {
767
- font-weight: var(--font-weight-medium);
768
- }
769
- @utility font-bold {
770
- font-weight: var(--font-weight-bold);
771
- }
772
-
773
- /* Legacy shadow color utilities parity with old shadow plugin */
774
- @utility shadow-default {
775
- --shadow-color: var(--color-shadow-default) !important;
776
- }
777
- @utility shadow-primary {
778
- --shadow-color: var(--color-shadow-primary) !important;
779
- }
780
- @utility shadow-error {
781
- --shadow-color: var(--color-shadow-error) !important;
782
- }