@metamask-previews/design-tokens 4.2.0-preview.bf69b6b → 5.0.0-preview.3ab3ce4
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 +14 -5
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/js/index.cjs +10 -8
- package/dist/js/index.cjs.map +1 -1
- package/dist/js/index.d.cts +5 -4
- package/dist/js/index.d.cts.map +1 -1
- package/dist/js/index.d.mts +5 -4
- package/dist/js/index.d.mts.map +1 -1
- package/dist/js/index.mjs +6 -4
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/themes/darkTheme/colors.cjs +3 -3
- package/dist/js/themes/darkTheme/colors.cjs.map +1 -1
- package/dist/js/themes/darkTheme/colors.mjs +3 -3
- package/dist/js/themes/darkTheme/colors.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,19 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [5.0.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **BREAKING:** Following the unintentional breaking change in `4.2.0` we are now exporting the types from root index instead of requiring deep imports ([#340](https://github.com/MetaMask/metamask-design-system/pull/340)). See the [migration guide](./MIGRATION.md#from-version-410-to-500) for details.
|
|
15
|
+
|
|
16
|
+
- Added 8 new colors (4 muted-hover & 4 muted-pressed) to design-tokens Figma Json. ([#325](https://github.com/MetaMask/metamask-design-system/pull/325))
|
|
17
|
+
|
|
10
18
|
## [4.2.0]
|
|
11
19
|
|
|
12
20
|
### Added
|
|
13
21
|
|
|
14
22
|
- feat: color updates to the design tokens package ([#230](https://github.com/metamask/metamask-design-system/pull/230))
|
|
15
23
|
|
|
16
|
-
- `@metamask/design-tokens` package migrated from standalone repository into the design system monorepo ([128](https://github.com/MetaMask/metamask-design-system/pull/128))
|
|
24
|
+
- **BREAKING:** `@metamask/design-tokens` package migrated from standalone repository into the design system monorepo, which unintentionally broke type imports ([128](https://github.com/MetaMask/metamask-design-system/pull/128)). See the [migration guide](./MIGRATION.md#from-version-410-to-500) for details on the fix in 5.0.0.
|
|
17
25
|
|
|
18
26
|
## [4.1.0]
|
|
19
27
|
|
|
20
28
|
### Added
|
|
21
29
|
|
|
22
|
-
- Adding (MIT OR Apache 2.0) license aligning with MetaMask
|
|
30
|
+
- Adding (MIT OR Apache 2.0) license aligning with MetaMask's open-source standards ([#738](https://github.com/MetaMask/design-tokens/pull/738))
|
|
23
31
|
- Adding dark/light classname ([#729](https://github.com/MetaMask/design-tokens/pull/729))
|
|
24
32
|
|
|
25
33
|
## [4.0.0]
|
|
@@ -92,7 +100,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
92
100
|
|
|
93
101
|
### Changed
|
|
94
102
|
|
|
95
|
-
- chore: updating package.json and
|
|
103
|
+
- chore: updating package.json and constraints.pro config to allow for css export ([#609](https://github.com/MetaMask/design-tokens/pull/609))
|
|
96
104
|
|
|
97
105
|
## [2.0.0]
|
|
98
106
|
|
|
@@ -307,7 +315,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
307
315
|
|
|
308
316
|
### Changed
|
|
309
317
|
|
|
310
|
-
- Adding css stylesheet
|
|
318
|
+
- Adding css stylesheet containing color design tokens ([#17](https://github.com/MetaMask/design-tokens/pull/17))
|
|
311
319
|
- Add issue template ([#20](https://github.com/MetaMask/design-tokens/pull/20))
|
|
312
320
|
|
|
313
321
|
## [1.0.0]
|
|
@@ -316,7 +324,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
316
324
|
|
|
317
325
|
- Initial release.
|
|
318
326
|
|
|
319
|
-
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-tokens@
|
|
327
|
+
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-tokens@5.0.0...HEAD
|
|
328
|
+
[5.0.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-tokens@4.2.0...@metamask/design-tokens@5.0.0
|
|
320
329
|
[4.2.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-tokens@4.1.0...@metamask/design-tokens@4.2.0
|
|
321
330
|
[4.1.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-tokens@4.0.0...@metamask/design-tokens@4.1.0
|
|
322
331
|
[4.0.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-tokens@3.0.0...@metamask/design-tokens@4.0.0
|
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.typography = exports.darkTheme = exports.lightTheme = exports.brandColor = exports.colors = void 0;
|
|
4
4
|
var js_1 = require("./js/index.cjs");
|
|
5
5
|
Object.defineProperty(exports, "colors", { enumerable: true, get: function () { return js_1.colors; } });
|
|
6
|
-
Object.defineProperty(exports, "
|
|
6
|
+
Object.defineProperty(exports, "brandColor", { enumerable: true, get: function () { return js_1.brandColor; } });
|
|
7
7
|
Object.defineProperty(exports, "lightTheme", { enumerable: true, get: function () { return js_1.lightTheme; } });
|
|
8
8
|
Object.defineProperty(exports, "darkTheme", { enumerable: true, get: function () { return js_1.darkTheme; } });
|
|
9
|
-
Object.defineProperty(exports, "
|
|
9
|
+
Object.defineProperty(exports, "typography", { enumerable: true, get: function () { return js_1.typography; } });
|
|
10
10
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qCAMc;AALZ,4FAAA,MAAM,OAAA;AACN,gGAAA,UAAU,OAAA;AACV,gGAAA,UAAU,OAAA;AACV,+FAAA,SAAS,OAAA;AACT,gGAAA,UAAU,OAAA","sourcesContent":["export {\n colors, // DEPRECATED in favor of importing lightTheme and darkTheme\n brandColor,\n lightTheme,\n darkTheme,\n typography,\n} from './js';\nexport type {\n BrandColor,\n Theme,\n ThemeColors,\n ThemeShadows,\n ThemeTypography,\n} from './js';\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
1
|
+
export { colors, // DEPRECATED in favor of importing lightTheme and darkTheme
|
|
2
|
+
brandColor, lightTheme, darkTheme, typography, } from "./js/index.cjs";
|
|
3
|
+
export type { BrandColor, Theme, ThemeColors, ThemeShadows, ThemeTypography, } from "./js/index.cjs";
|
|
3
4
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EAAE,4DAA4D;AACpE,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,GACX,uBAAa;AACd,YAAY,EACV,UAAU,EACV,KAAK,EACL,WAAW,EACX,YAAY,EACZ,eAAe,GAChB,uBAAa"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
1
|
+
export { colors, // DEPRECATED in favor of importing lightTheme and darkTheme
|
|
2
|
+
brandColor, lightTheme, darkTheme, typography, } from "./js/index.mjs";
|
|
3
|
+
export type { BrandColor, Theme, ThemeColors, ThemeShadows, ThemeTypography, } from "./js/index.mjs";
|
|
3
4
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EAAE,4DAA4D;AACpE,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,GACX,uBAAa;AACd,YAAY,EACV,UAAU,EACV,KAAK,EACL,WAAW,EACX,YAAY,EACZ,eAAe,GAChB,uBAAa"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { colors,
|
|
1
|
+
export { colors, // DEPRECATED in favor of importing lightTheme and darkTheme
|
|
2
|
+
brandColor, lightTheme, darkTheme, typography } from "./js/index.mjs";
|
|
2
3
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EAAE,4DAA4D;AACpE,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,EACX,uBAAa","sourcesContent":["export {\n colors, // DEPRECATED in favor of importing lightTheme and darkTheme\n brandColor,\n lightTheme,\n darkTheme,\n typography,\n} from './js';\nexport type {\n BrandColor,\n Theme,\n ThemeColors,\n ThemeShadows,\n ThemeTypography,\n} from './js';\n"]}
|
package/dist/js/index.cjs
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.typography = exports.
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "lightTheme", { enumerable: true, get: function () { return themes_1.lightTheme; } });
|
|
6
|
-
var themes_2 = require("./themes/index.cjs");
|
|
7
|
-
Object.defineProperty(exports, "darkTheme", { enumerable: true, get: function () { return themes_2.darkTheme; } });
|
|
8
|
-
var brandColor_1 = require("./brandColor/index.cjs");
|
|
9
|
-
Object.defineProperty(exports, "brandColor", { enumerable: true, get: function () { return brandColor_1.brandColor; } });
|
|
10
|
-
// DEPRECATED in favor of importing theme objects above
|
|
3
|
+
exports.typography = exports.darkTheme = exports.lightTheme = exports.brandColor = exports.colors = void 0;
|
|
4
|
+
// DEPRECATED in favor of importing lightTheme and darkTheme
|
|
11
5
|
var colors_1 = require("./colors/index.cjs");
|
|
12
6
|
Object.defineProperty(exports, "colors", { enumerable: true, get: function () { return colors_1.colors; } });
|
|
7
|
+
// Brand Color
|
|
8
|
+
var brandColor_1 = require("./brandColor/index.cjs");
|
|
9
|
+
Object.defineProperty(exports, "brandColor", { enumerable: true, get: function () { return brandColor_1.brandColor; } });
|
|
10
|
+
// Themes
|
|
11
|
+
var themes_1 = require("./themes/index.cjs");
|
|
12
|
+
Object.defineProperty(exports, "lightTheme", { enumerable: true, get: function () { return themes_1.lightTheme; } });
|
|
13
|
+
Object.defineProperty(exports, "darkTheme", { enumerable: true, get: function () { return themes_1.darkTheme; } });
|
|
14
|
+
// Typography
|
|
13
15
|
var typography_1 = require("./typography/index.cjs");
|
|
14
16
|
Object.defineProperty(exports, "typography", { enumerable: true, get: function () { return typography_1.typography; } });
|
|
15
17
|
//# sourceMappingURL=index.cjs.map
|
package/dist/js/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../src/js/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../src/js/index.ts"],"names":[],"mappings":";;;AAAA,4DAA4D;AAC5D,6CAAkC;AAAzB,gGAAA,MAAM,OAAA;AAEf,cAAc;AACd,qDAA0C;AAAjC,wGAAA,UAAU,OAAA;AAGnB,SAAS;AACT,6CAAiD;AAAxC,oGAAA,UAAU,OAAA;AAAE,mGAAA,SAAS,OAAA;AAG9B,aAAa;AACb,qDAA0C;AAAjC,wGAAA,UAAU,OAAA","sourcesContent":["// DEPRECATED in favor of importing lightTheme and darkTheme\nexport { colors } from './colors';\n\n// Brand Color\nexport { brandColor } from './brandColor';\nexport type { BrandColor } from './brandColor/brandColor.types';\n\n// Themes\nexport { lightTheme, darkTheme } from './themes';\nexport type { Theme, ThemeColors, ThemeShadows } from './themes/types';\n\n// Typography\nexport { typography } from './typography';\nexport type { ThemeTypography } from './typography';\n"]}
|
package/dist/js/index.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export type { Theme } from "./themes/index.cjs";
|
|
2
|
-
export { lightTheme } from "./themes/index.cjs";
|
|
3
|
-
export { darkTheme } from "./themes/index.cjs";
|
|
4
|
-
export { brandColor } from "./brandColor/index.cjs";
|
|
5
1
|
export { colors } from "./colors/index.cjs";
|
|
2
|
+
export { brandColor } from "./brandColor/index.cjs";
|
|
3
|
+
export type { BrandColor } from "./brandColor/brandColor.types.cjs";
|
|
4
|
+
export { lightTheme, darkTheme } from "./themes/index.cjs";
|
|
5
|
+
export type { Theme, ThemeColors, ThemeShadows } from "./themes/types.cjs";
|
|
6
6
|
export { typography } from "./typography/index.cjs";
|
|
7
|
+
export type { ThemeTypography } from "./typography/index.cjs";
|
|
7
8
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/js/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../src/js/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../src/js/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,2BAAiB;AAGlC,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAC1C,YAAY,EAAE,UAAU,EAAE,0CAAsC;AAGhE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,2BAAiB;AACjD,YAAY,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,2BAAuB;AAGvE,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAC1C,YAAY,EAAE,eAAe,EAAE,+BAAqB"}
|
package/dist/js/index.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export type { Theme } from "./themes/index.mjs";
|
|
2
|
-
export { lightTheme } from "./themes/index.mjs";
|
|
3
|
-
export { darkTheme } from "./themes/index.mjs";
|
|
4
|
-
export { brandColor } from "./brandColor/index.mjs";
|
|
5
1
|
export { colors } from "./colors/index.mjs";
|
|
2
|
+
export { brandColor } from "./brandColor/index.mjs";
|
|
3
|
+
export type { BrandColor } from "./brandColor/brandColor.types.mjs";
|
|
4
|
+
export { lightTheme, darkTheme } from "./themes/index.mjs";
|
|
5
|
+
export type { Theme, ThemeColors, ThemeShadows } from "./themes/types.mjs";
|
|
6
6
|
export { typography } from "./typography/index.mjs";
|
|
7
|
+
export type { ThemeTypography } from "./typography/index.mjs";
|
|
7
8
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/js/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/js/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/js/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,2BAAiB;AAGlC,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAC1C,YAAY,EAAE,UAAU,EAAE,0CAAsC;AAGhE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,2BAAiB;AACjD,YAAY,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,2BAAuB;AAGvE,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAC1C,YAAY,EAAE,eAAe,EAAE,+BAAqB"}
|
package/dist/js/index.mjs
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
export { darkTheme } from "./themes/index.mjs";
|
|
3
|
-
export { brandColor } from "./brandColor/index.mjs";
|
|
4
|
-
// DEPRECATED in favor of importing theme objects above
|
|
1
|
+
// DEPRECATED in favor of importing lightTheme and darkTheme
|
|
5
2
|
export { colors } from "./colors/index.mjs";
|
|
3
|
+
// Brand Color
|
|
4
|
+
export { brandColor } from "./brandColor/index.mjs";
|
|
5
|
+
// Themes
|
|
6
|
+
export { lightTheme, darkTheme } from "./themes/index.mjs";
|
|
7
|
+
// Typography
|
|
6
8
|
export { typography } from "./typography/index.mjs";
|
|
7
9
|
//# sourceMappingURL=index.mjs.map
|
package/dist/js/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/js/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/js/index.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,OAAO,EAAE,MAAM,EAAE,2BAAiB;AAElC,cAAc;AACd,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAG1C,SAAS;AACT,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,2BAAiB;AAGjD,aAAa;AACb,OAAO,EAAE,UAAU,EAAE,+BAAqB","sourcesContent":["// DEPRECATED in favor of importing lightTheme and darkTheme\nexport { colors } from './colors';\n\n// Brand Color\nexport { brandColor } from './brandColor';\nexport type { BrandColor } from './brandColor/brandColor.types';\n\n// Themes\nexport { lightTheme, darkTheme } from './themes';\nexport type { Theme, ThemeColors, ThemeShadows } from './themes/types';\n\n// Typography\nexport { typography } from './typography';\nexport type { ThemeTypography } from './typography';\n"]}
|
|
@@ -5,11 +5,11 @@ const brandColor_1 = require("../../brandColor/index.cjs");
|
|
|
5
5
|
exports.colors = {
|
|
6
6
|
background: {
|
|
7
7
|
/** For default neutral surface (#222325) */
|
|
8
|
-
default: brandColor_1.brandColor.
|
|
8
|
+
default: brandColor_1.brandColor.grey900,
|
|
9
9
|
/** For sunken neutral surface below background/default (#121314) */
|
|
10
|
-
alternative: brandColor_1.brandColor.
|
|
10
|
+
alternative: brandColor_1.brandColor.grey1000,
|
|
11
11
|
/** For raised neutral surface above background/default (#31333A) */
|
|
12
|
-
muted: brandColor_1.brandColor.
|
|
12
|
+
muted: brandColor_1.brandColor.grey800,
|
|
13
13
|
/** Hover state surface for background/default (#313235) */
|
|
14
14
|
defaultHover: '#313235',
|
|
15
15
|
/** Pressed state surface for background/default (#3F4145) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.cjs","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/colors.ts"],"names":[],"mappings":";;;AAAA,2DAA8C;AAGjC,QAAA,MAAM,GAAgB;IACjC,UAAU,EAAE;QACV,4CAA4C;QAC5C,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,oEAAoE;QACpE,WAAW,EAAE,uBAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"colors.cjs","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/colors.ts"],"names":[],"mappings":"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","sourcesContent":["import { brandColor } from '../../brandColor';\nimport type { ThemeColors } from '../types';\n\nexport const colors: ThemeColors = {\n background: {\n /** For default neutral surface (#222325) */\n default: brandColor.grey900,\n /** For sunken neutral surface below background/default (#121314) */\n alternative: brandColor.grey1000,\n /** For raised neutral surface above background/default (#31333A) */\n muted: brandColor.grey800,\n /** Hover state surface for background/default (#313235) */\n defaultHover: '#313235',\n /** Pressed state surface for background/default (#3F4145) */\n defaultPressed: '#3f4145',\n /** Hover state surface for background/alternative (#1F2123) */\n alternativeHover: '#1f2123',\n /** Pressed state surface for background/alternative (#2E3033) */\n alternativePressed: '#2e3033',\n /** Hover state surface for background/muted (#2D3034) */\n mutedHover: '#2D3034',\n /** Pressed state surface for background/muted (#363B3F) */\n mutedPressed: '#363B3F',\n /** General purpose hover state tint (#FFFFFF0F) */\n hover: '#ffffff0f',\n /** General purpose pressed state tint (#FFFFFF1F) */\n pressed: '#ffffff1f',\n },\n text: {\n /** Default color for text (#FFFFFF) */\n default: brandColor.grey000,\n /** Softer color for text (#ADB6FE) */\n alternative: brandColor.grey200,\n /** Muted color for text (Not accessible) (#9CA1AF) */\n muted: brandColor.grey400,\n },\n icon: {\n /** Default color for icons (#FFFFFF) */\n default: brandColor.grey000,\n /** Softer color for icons (#ADB6FE) */\n alternative: brandColor.grey200,\n /** Muted color for icons (Not accessible) (#9CA1AF) */\n muted: brandColor.grey400,\n },\n border: {\n /** Default color for borders (#9CA1AF) */\n default: brandColor.grey400,\n /** Muted color for borders (#858B9A33) */\n muted: '#858b9a33',\n },\n overlay: {\n /** Default color for overlays (scrim) (#00000066) */\n default: '#00000066',\n /** Dimmer color for overlays (scrim) (#000000CC) */\n alternative: '#000000cc',\n /** For elements placed on top of overlay/alternative (#FFFFFF) */\n inverse: brandColor.grey000,\n },\n primary: {\n /** For primary semantic elements: interactive, active, selected (#8B99FF) */\n default: brandColor.blue300,\n /** Stronger color for primary semantic elements (#ADB6FE) */\n alternative: brandColor.blue200,\n /** Muted color for primary semantic elements (#8B99FF26) */\n muted: '#8b99ff26',\n /** For elements placed on top of primary/default fill (#121314) */\n inverse: brandColor.grey900,\n /** Hover state surface for primary/default (#A8B2FF) */\n defaultHover: '#a8b2ff',\n /** Pressed state surface for primary/default (#C7CEFF) */\n defaultPressed: '#c7ceff',\n\n /** Hover state surface for primary/muted (#8B99FF33) */\n mutedHover: '#8b99ff33',\n /** Pressed state surface for primary/muted (#8B99FF40) */\n mutedPressed: '#8b99ff40',\n },\n error: {\n /** For danger semantic elements: error, critical, destructive (#FF7584) */\n default: brandColor.red300,\n /** Stronger color for danger semantic (#FFA1AA) */\n alternative: brandColor.red200,\n /** Muted color for danger semantic (#FF758426) */\n muted: '#ff758426',\n /** For elements placed on top of error/default fill (#121314) */\n inverse: brandColor.grey900,\n\n /** Hover state surface for error/default (#FF94A0) */\n defaultHover: '#ff94a0',\n /** Pressed state surface for error/default (#FFB2BB) */\n defaultPressed: '#ffb2bb',\n\n /** Hover state surface for error/muted (#FF758433) */\n mutedHover: '#ff758433',\n /** Pressed state surface for error/muted (#FF758440) */\n mutedPressed: '#ff758440',\n },\n warning: {\n /** For warning semantic elements: caution, attention, precaution (#FFD957) */\n default: brandColor.yellow100,\n /** Muted color option for warning semantic (#FFD95726) */\n muted: '#ffd95726',\n /** For elements placed on top of warning/default fill (#121314) */\n inverse: brandColor.grey900,\n /** Hover state surface for warning/default (#FFE794) */\n defaultHover: '#ffe794',\n /** Pressed state surface for warning/default (#FFEEB2) */\n defaultPressed: '#ffeeb2',\n\n /** Hover state surface for warning/muted (#FFD95733) */\n mutedHover: '#ffd95733',\n /** Pressed state surface for warning/muted (#FFD95740) */\n mutedPressed: '#ffd95740',\n },\n success: {\n /** For positive semantic elements: success, confirm, complete, safe (#4CB564) */\n default: brandColor.green300,\n /** Muted color for positive semantic (#4CB56426) */\n muted: '#4cb56426',\n /** For elements placed on top of success/default fill (#121314) */\n inverse: brandColor.grey900,\n /** Hover state surface for success/default (#60BD76) */\n defaultHover: '#60bd76',\n /** Pressed state surface for success/default (#76C688) */\n defaultPressed: '#76c688',\n\n /** Hover state surface for success/muted (#4CB56433) */\n mutedHover: '#4cb56433',\n /** Pressed state surface for success/muted (#4CB56440) */\n mutedPressed: '#4cb56440',\n },\n info: {\n /** For soft alert semantic elements: info, reminder, hint (#8B99FF) */\n default: brandColor.blue300,\n /** Muted color for soft alert semantic (#8B99FF26) */\n muted: '#8b99ff26',\n /** For elements placed on top of info/default fill (#121314) */\n inverse: brandColor.grey900,\n },\n flask: {\n /** For Flask primary accent color (#D27DFF) */\n default: brandColor.purple300,\n /** For elements placed on top of flask/default fill (#121314) */\n inverse: brandColor.grey900,\n },\n shadow: {\n /** For neutral drop shadow color (#00000066) */\n default: '#00000066',\n /** For primary drop shadow color (#8B99FF33) */\n primary: '#8b99ff33',\n /** For critical/danger drop shadow color (#FF758433) */\n error: '#ff758433',\n },\n};\n"]}
|
|
@@ -2,11 +2,11 @@ import { brandColor } from "../../brandColor/index.mjs";
|
|
|
2
2
|
export const colors = {
|
|
3
3
|
background: {
|
|
4
4
|
/** For default neutral surface (#222325) */
|
|
5
|
-
default: brandColor.
|
|
5
|
+
default: brandColor.grey900,
|
|
6
6
|
/** For sunken neutral surface below background/default (#121314) */
|
|
7
|
-
alternative: brandColor.
|
|
7
|
+
alternative: brandColor.grey1000,
|
|
8
8
|
/** For raised neutral surface above background/default (#31333A) */
|
|
9
|
-
muted: brandColor.
|
|
9
|
+
muted: brandColor.grey800,
|
|
10
10
|
/** Hover state surface for background/default (#313235) */
|
|
11
11
|
defaultHover: '#313235',
|
|
12
12
|
/** Pressed state surface for background/default (#3F4145) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.mjs","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,mCAAyB;AAG9C,MAAM,CAAC,MAAM,MAAM,GAAgB;IACjC,UAAU,EAAE;QACV,4CAA4C;QAC5C,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,oEAAoE;QACpE,WAAW,EAAE,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"colors.mjs","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,mCAAyB;AAG9C,MAAM,CAAC,MAAM,MAAM,GAAgB;IACjC,UAAU,EAAE;QACV,4CAA4C;QAC5C,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,oEAAoE;QACpE,WAAW,EAAE,UAAU,CAAC,QAAQ;QAChC,oEAAoE;QACpE,KAAK,EAAE,UAAU,CAAC,OAAO;QACzB,2DAA2D;QAC3D,YAAY,EAAE,SAAS;QACvB,6DAA6D;QAC7D,cAAc,EAAE,SAAS;QACzB,+DAA+D;QAC/D,gBAAgB,EAAE,SAAS;QAC3B,iEAAiE;QACjE,kBAAkB,EAAE,SAAS;QAC7B,yDAAyD;QACzD,UAAU,EAAE,SAAS;QACrB,2DAA2D;QAC3D,YAAY,EAAE,SAAS;QACvB,mDAAmD;QACnD,KAAK,EAAE,WAAW;QAClB,qDAAqD;QACrD,OAAO,EAAE,WAAW;KACrB;IACD,IAAI,EAAE;QACJ,uCAAuC;QACvC,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,sCAAsC;QACtC,WAAW,EAAE,UAAU,CAAC,OAAO;QAC/B,sDAAsD;QACtD,KAAK,EAAE,UAAU,CAAC,OAAO;KAC1B;IACD,IAAI,EAAE;QACJ,wCAAwC;QACxC,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,uCAAuC;QACvC,WAAW,EAAE,UAAU,CAAC,OAAO;QAC/B,uDAAuD;QACvD,KAAK,EAAE,UAAU,CAAC,OAAO;KAC1B;IACD,MAAM,EAAE;QACN,0CAA0C;QAC1C,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,0CAA0C;QAC1C,KAAK,EAAE,WAAW;KACnB;IACD,OAAO,EAAE;QACP,qDAAqD;QACrD,OAAO,EAAE,WAAW;QACpB,oDAAoD;QACpD,WAAW,EAAE,WAAW;QACxB,kEAAkE;QAClE,OAAO,EAAE,UAAU,CAAC,OAAO;KAC5B;IACD,OAAO,EAAE;QACP,6EAA6E;QAC7E,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,6DAA6D;QAC7D,WAAW,EAAE,UAAU,CAAC,OAAO;QAC/B,4DAA4D;QAC5D,KAAK,EAAE,WAAW;QAClB,mEAAmE;QACnE,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,wDAAwD;QACxD,YAAY,EAAE,SAAS;QACvB,0DAA0D;QAC1D,cAAc,EAAE,SAAS;QAEzB,wDAAwD;QACxD,UAAU,EAAE,WAAW;QACvB,0DAA0D;QAC1D,YAAY,EAAE,WAAW;KAC1B;IACD,KAAK,EAAE;QACL,2EAA2E;QAC3E,OAAO,EAAE,UAAU,CAAC,MAAM;QAC1B,mDAAmD;QACnD,WAAW,EAAE,UAAU,CAAC,MAAM;QAC9B,kDAAkD;QAClD,KAAK,EAAE,WAAW;QAClB,iEAAiE;QACjE,OAAO,EAAE,UAAU,CAAC,OAAO;QAE3B,sDAAsD;QACtD,YAAY,EAAE,SAAS;QACvB,wDAAwD;QACxD,cAAc,EAAE,SAAS;QAEzB,sDAAsD;QACtD,UAAU,EAAE,WAAW;QACvB,wDAAwD;QACxD,YAAY,EAAE,WAAW;KAC1B;IACD,OAAO,EAAE;QACP,8EAA8E;QAC9E,OAAO,EAAE,UAAU,CAAC,SAAS;QAC7B,0DAA0D;QAC1D,KAAK,EAAE,WAAW;QAClB,mEAAmE;QACnE,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,wDAAwD;QACxD,YAAY,EAAE,SAAS;QACvB,0DAA0D;QAC1D,cAAc,EAAE,SAAS;QAEzB,wDAAwD;QACxD,UAAU,EAAE,WAAW;QACvB,0DAA0D;QAC1D,YAAY,EAAE,WAAW;KAC1B;IACD,OAAO,EAAE;QACP,iFAAiF;QACjF,OAAO,EAAE,UAAU,CAAC,QAAQ;QAC5B,oDAAoD;QACpD,KAAK,EAAE,WAAW;QAClB,mEAAmE;QACnE,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,wDAAwD;QACxD,YAAY,EAAE,SAAS;QACvB,0DAA0D;QAC1D,cAAc,EAAE,SAAS;QAEzB,wDAAwD;QACxD,UAAU,EAAE,WAAW;QACvB,0DAA0D;QAC1D,YAAY,EAAE,WAAW;KAC1B;IACD,IAAI,EAAE;QACJ,uEAAuE;QACvE,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,sDAAsD;QACtD,KAAK,EAAE,WAAW;QAClB,gEAAgE;QAChE,OAAO,EAAE,UAAU,CAAC,OAAO;KAC5B;IACD,KAAK,EAAE;QACL,+CAA+C;QAC/C,OAAO,EAAE,UAAU,CAAC,SAAS;QAC7B,iEAAiE;QACjE,OAAO,EAAE,UAAU,CAAC,OAAO;KAC5B;IACD,MAAM,EAAE;QACN,gDAAgD;QAChD,OAAO,EAAE,WAAW;QACpB,gDAAgD;QAChD,OAAO,EAAE,WAAW;QACpB,wDAAwD;QACxD,KAAK,EAAE,WAAW;KACnB;CACF,CAAC","sourcesContent":["import { brandColor } from '../../brandColor';\nimport type { ThemeColors } from '../types';\n\nexport const colors: ThemeColors = {\n background: {\n /** For default neutral surface (#222325) */\n default: brandColor.grey900,\n /** For sunken neutral surface below background/default (#121314) */\n alternative: brandColor.grey1000,\n /** For raised neutral surface above background/default (#31333A) */\n muted: brandColor.grey800,\n /** Hover state surface for background/default (#313235) */\n defaultHover: '#313235',\n /** Pressed state surface for background/default (#3F4145) */\n defaultPressed: '#3f4145',\n /** Hover state surface for background/alternative (#1F2123) */\n alternativeHover: '#1f2123',\n /** Pressed state surface for background/alternative (#2E3033) */\n alternativePressed: '#2e3033',\n /** Hover state surface for background/muted (#2D3034) */\n mutedHover: '#2D3034',\n /** Pressed state surface for background/muted (#363B3F) */\n mutedPressed: '#363B3F',\n /** General purpose hover state tint (#FFFFFF0F) */\n hover: '#ffffff0f',\n /** General purpose pressed state tint (#FFFFFF1F) */\n pressed: '#ffffff1f',\n },\n text: {\n /** Default color for text (#FFFFFF) */\n default: brandColor.grey000,\n /** Softer color for text (#ADB6FE) */\n alternative: brandColor.grey200,\n /** Muted color for text (Not accessible) (#9CA1AF) */\n muted: brandColor.grey400,\n },\n icon: {\n /** Default color for icons (#FFFFFF) */\n default: brandColor.grey000,\n /** Softer color for icons (#ADB6FE) */\n alternative: brandColor.grey200,\n /** Muted color for icons (Not accessible) (#9CA1AF) */\n muted: brandColor.grey400,\n },\n border: {\n /** Default color for borders (#9CA1AF) */\n default: brandColor.grey400,\n /** Muted color for borders (#858B9A33) */\n muted: '#858b9a33',\n },\n overlay: {\n /** Default color for overlays (scrim) (#00000066) */\n default: '#00000066',\n /** Dimmer color for overlays (scrim) (#000000CC) */\n alternative: '#000000cc',\n /** For elements placed on top of overlay/alternative (#FFFFFF) */\n inverse: brandColor.grey000,\n },\n primary: {\n /** For primary semantic elements: interactive, active, selected (#8B99FF) */\n default: brandColor.blue300,\n /** Stronger color for primary semantic elements (#ADB6FE) */\n alternative: brandColor.blue200,\n /** Muted color for primary semantic elements (#8B99FF26) */\n muted: '#8b99ff26',\n /** For elements placed on top of primary/default fill (#121314) */\n inverse: brandColor.grey900,\n /** Hover state surface for primary/default (#A8B2FF) */\n defaultHover: '#a8b2ff',\n /** Pressed state surface for primary/default (#C7CEFF) */\n defaultPressed: '#c7ceff',\n\n /** Hover state surface for primary/muted (#8B99FF33) */\n mutedHover: '#8b99ff33',\n /** Pressed state surface for primary/muted (#8B99FF40) */\n mutedPressed: '#8b99ff40',\n },\n error: {\n /** For danger semantic elements: error, critical, destructive (#FF7584) */\n default: brandColor.red300,\n /** Stronger color for danger semantic (#FFA1AA) */\n alternative: brandColor.red200,\n /** Muted color for danger semantic (#FF758426) */\n muted: '#ff758426',\n /** For elements placed on top of error/default fill (#121314) */\n inverse: brandColor.grey900,\n\n /** Hover state surface for error/default (#FF94A0) */\n defaultHover: '#ff94a0',\n /** Pressed state surface for error/default (#FFB2BB) */\n defaultPressed: '#ffb2bb',\n\n /** Hover state surface for error/muted (#FF758433) */\n mutedHover: '#ff758433',\n /** Pressed state surface for error/muted (#FF758440) */\n mutedPressed: '#ff758440',\n },\n warning: {\n /** For warning semantic elements: caution, attention, precaution (#FFD957) */\n default: brandColor.yellow100,\n /** Muted color option for warning semantic (#FFD95726) */\n muted: '#ffd95726',\n /** For elements placed on top of warning/default fill (#121314) */\n inverse: brandColor.grey900,\n /** Hover state surface for warning/default (#FFE794) */\n defaultHover: '#ffe794',\n /** Pressed state surface for warning/default (#FFEEB2) */\n defaultPressed: '#ffeeb2',\n\n /** Hover state surface for warning/muted (#FFD95733) */\n mutedHover: '#ffd95733',\n /** Pressed state surface for warning/muted (#FFD95740) */\n mutedPressed: '#ffd95740',\n },\n success: {\n /** For positive semantic elements: success, confirm, complete, safe (#4CB564) */\n default: brandColor.green300,\n /** Muted color for positive semantic (#4CB56426) */\n muted: '#4cb56426',\n /** For elements placed on top of success/default fill (#121314) */\n inverse: brandColor.grey900,\n /** Hover state surface for success/default (#60BD76) */\n defaultHover: '#60bd76',\n /** Pressed state surface for success/default (#76C688) */\n defaultPressed: '#76c688',\n\n /** Hover state surface for success/muted (#4CB56433) */\n mutedHover: '#4cb56433',\n /** Pressed state surface for success/muted (#4CB56440) */\n mutedPressed: '#4cb56440',\n },\n info: {\n /** For soft alert semantic elements: info, reminder, hint (#8B99FF) */\n default: brandColor.blue300,\n /** Muted color for soft alert semantic (#8B99FF26) */\n muted: '#8b99ff26',\n /** For elements placed on top of info/default fill (#121314) */\n inverse: brandColor.grey900,\n },\n flask: {\n /** For Flask primary accent color (#D27DFF) */\n default: brandColor.purple300,\n /** For elements placed on top of flask/default fill (#121314) */\n inverse: brandColor.grey900,\n },\n shadow: {\n /** For neutral drop shadow color (#00000066) */\n default: '#00000066',\n /** For primary drop shadow color (#8B99FF33) */\n primary: '#8b99ff33',\n /** For critical/danger drop shadow color (#FF758433) */\n error: '#ff758433',\n },\n};\n"]}
|
package/dist/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--brand-colors-grey-grey100:#dadce5;--brand-colors-grey-grey200:#b7bbc8;--brand-colors-grey-grey300:#9ca1af;--brand-colors-grey-grey400:#858b9a;--brand-colors-grey-grey500:#686e7d;--brand-colors-grey-grey600:#4b505c;--brand-colors-grey-grey700:#31333a;--brand-colors-grey-grey800:#222325;--brand-colors-grey-grey900:#121314;--brand-colors-grey-grey1000:#000000;--brand-colors-grey-grey050:#f3f5f9;--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:#ffa47c;--brand-colors-orange-orange300:#ff7940;--brand-colors-orange-orange400:#f35714;--brand-colors-orange-orange500:#c3420d;--brand-colors-orange-orange600:#932d06;--brand-colors-orange-orange700:#631800;--brand-colors-orange-orange800:#451100;--brand-colors-orange-orange900:#280a00;--brand-colors-orange-orange050:#fff0ea;--brand-colors-orange-orange025:#fff8f5;--brand-colors-purple-purple100:#efd2ff;--brand-colors-purple-purple200:#dfa4ff;--brand-colors-purple-purple300:#d27dff;--brand-colors-purple-purple400:#b864f5;--brand-colors-purple-purple500:#8f44e4;--brand-colors-purple-purple600:#6c2ab2;--brand-colors-purple-purple700:#6c2ab2;--brand-colors-purple-purple800:#380658;--brand-colors-purple-purple900:#280a00;--brand-colors-purple-purple050:#fbf2ff;--brand-colors-purple-purple025:#fcf6ff;--brand-colors-lime-lime100:#b8ef4a;--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:#093a31;--brand-colors-lime-lime800:#012826;--brand-colors-lime-lime900:#011515;--brand-colors-lime-lime025:#effed9;--brand-colors-lime-lime050:#e3febd;--brand-colors-white:#ffffff;--brand-colors-black:#000000}.light,:root,[data-theme=light]{--color-background-default:var(--brand-colors-grey-grey000);--color-background-alternative:var(--brand-colors-grey-grey050);--color-background-muted:var(--brand-colors-grey-grey050);--color-background-default-hover:#f0f0f0;--color-background-default-pressed:#e0e0e0;--color-background-alternative-hover:#dde3ee;--color-background-alternative-pressed:#c9d2e4;--color-background-muted-hover:#e7ebee;--color-background-muted-pressed:#dbe0e6;--color-background-hover:#0000000f;--color-background-pressed:#0000001f;--color-text-default:var(--brand-colors-grey-grey900);--color-text-alternative:var(--brand-colors-grey-grey500);--color-text-muted:var(--brand-colors-grey-grey300);--color-icon-default:var(--brand-colors-grey-grey900);--color-icon-alternative:var(--brand-colors-grey-grey500);--color-icon-muted:var(--brand-colors-grey-grey300);--color-border-default:var(--brand-colors-grey-grey200);--color-border-muted:#b7bbc866;--color-overlay-default:#00000066;--color-overlay-alternative:#000000cc;--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:#243cff;--color-primary-default-pressed:#0521ff;--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:#b22f3a;--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:#7a4f00;--color-warning-default-pressed:#5c3b00;--color-warning-muted-hover:#9a630026;--color-warning-muted-pressed:#9a630033;--color-success-default:var(--brand-colors-green-green500);--color-success-muted:#1c7e331a;--color-success-inverse:var(--brand-colors-grey-grey000);--color-success-default-hover:#166429;--color-success-default-pressed:#114b1e;--color-success-muted-hover:#1c7e3326;--color-success-muted-pressed:#1c7e3333;--color-info-default:var(--brand-colors-blue-blue500);--color-info-muted:#4459ff1a;--color-info-inverse:var(--brand-colors-grey-grey000);--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-grey800);--color-background-alternative:var(--brand-colors-grey-grey900);--color-background-muted:var(--brand-colors-grey-grey700);--color-background-default-hover:#313235;--color-background-default-pressed:#3f4145;--color-background-alternative-hover:#1f2123;--color-background-alternative-pressed:#2e3033;--color-background-muted-hover:#2d3034;--color-background-muted-pressed:#363b3f;--color-background-hover:#ffffff0f;--color-background-pressed:#ffffff1f;--color-text-default:var(--brand-colors-grey-grey000);--color-text-alternative:var(--brand-colors-grey-grey200);--color-text-muted:var(--brand-colors-grey-grey400);--color-icon-default:var(--brand-colors-grey-grey000);--color-icon-alternative:var(--brand-colors-grey-grey200);--color-icon-muted:var(--brand-colors-grey-grey400);--color-border-default:var(--brand-colors-grey-grey400);--color-border-muted:#858b9a33;--color-overlay-default:#00000066;--color-overlay-alternative:#000000cc;--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:#a8b2ff;--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:#ff94a0;--color-error-default-pressed:#ffb2bb;--color-error-muted-hover:#ff758433;--color-error-muted-pressed:#ff758440;--color-warning-default:var(--brand-colors-yellow-yellow100);--color-warning-muted:#ffd95726;--color-warning-inverse:var(--brand-colors-grey-grey900);--color-warning-default-hover:#ffe794;--color-warning-default-pressed:#ffeeb2;--color-warning-muted-hover:#ffd95733;--color-warning-muted-pressed:#ffd95740;--color-success-default:var(--brand-colors-green-green300);--color-success-muted:#4cb56426;--color-success-inverse:var(--brand-colors-grey-grey900);--color-success-default-hover:#60bd76;--color-success-default-pressed:#76c688;--color-success-muted-hover:#4cb56433;--color-success-muted-pressed:#4cb56440;--color-info-default:var(--brand-colors-blue-blue300);--color-info-muted:#8b99ff26;--color-info-inverse:var(--brand-colors-grey-grey900);--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-euclid-circular-b:'Euclid Circular B',sans-serif;--font-family-roboto:'Roboto',sans-serif;--font-family-sans:'Euclid Circular B','Roboto',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.125rem;--font-size-6:1.5rem;--font-size-7:2rem;--font-size-8:3rem;--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.5rem;--font-weight-regular:400;--font-weight-medium:500;--font-weight-bold:700;--letter-spacing-0:0;--letter-spacing-1:2.5%;--typography-s-display-md-font-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-heading-sm-regular-font-family:var(--font-family-sans);--typography-s-heading-sm-regular-font-size:var(--font-size-4);--typography-s-heading-sm-regular-line-height:var(--line-height-4);--typography-s-heading-sm-regular-font-weight:var(--font-weight-regular);--typography-s-heading-sm-regular-letter-spacing:var(--letter-spacing-0);--typography-s-body-lg-medium-font-family:var(--font-family-sans);--typography-s-body-lg-medium-font-size:var(--font-size-4);--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-family:var(--font-family-sans);--typography-s-body-lg-regular-font-size:var(--font-size-4);--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-family:var(--font-family-sans);--typography-s-body-md-bold-font-size:var(--font-size-3);--typography-s-body-md-bold-line-height:var(--line-height-3);--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-family:var(--font-family-sans);--typography-s-body-md-medium-font-size:var(--font-size-3);--typography-s-body-md-medium-line-height:var(--line-height-3);--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-family:var(--font-family-sans);--typography-s-body-md-font-size:var(--font-size-3);--typography-s-body-md-line-height:var(--line-height-3);--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-family:var(--font-family-sans);--typography-s-body-sm-bold-font-size:var(--font-size-2);--typography-s-body-sm-bold-line-height:var(--line-height-2);--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-family:var(--font-family-sans);--typography-s-body-sm-medium-font-size:var(--font-size-2);--typography-s-body-sm-medium-line-height:var(--line-height-2);--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-family:var(--font-family-sans);--typography-s-body-sm-font-size:var(--font-size-2);--typography-s-body-sm-line-height:var(--line-height-2);--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-family:var(--font-family-sans);--typography-s-body-xs-medium-font-size:var(--font-size-1);--typography-s-body-xs-medium-line-height:var(--line-height-1);--typography-s-body-xs-medium-font-weight:var(--font-weight-medium);--typography-s-body-xs-medium-letter-spacing:var(--letter-spacing-0);--typography-s-body-xs-font-family:var(--font-family-sans);--typography-s-body-xs-font-size:var(--font-size-1);--typography-s-body-xs-line-height:var(--line-height-1);--typography-s-body-xs-font-weight:var(--font-weight-regular);--typography-s-body-xs-letter-spacing:var(--letter-spacing-0);--typography-l-display-md-font-family:var(--font-family-sans);--typography-l-display-md-font-size:var(--font-size-8);--typography-l-display-md-line-height:var(--line-height-7);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-heading-sm-regular-font-family:var(--font-family-sans);--typography-l-heading-sm-regular-font-size:var(--font-size-5);--typography-l-heading-sm-regular-line-height:var(--line-height-4);--typography-l-heading-sm-regular-font-weight:var(--font-weight-regular);--typography-l-heading-sm-regular-letter-spacing:var(--letter-spacing-0);--typography-l-body-lg-medium-font-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-0);--typography-l-body-xs-font-family:var(--font-family-sans);--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-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:#dadce5;--brand-colors-grey-grey200:#b7bbc8;--brand-colors-grey-grey300:#9ca1af;--brand-colors-grey-grey400:#858b9a;--brand-colors-grey-grey500:#686e7d;--brand-colors-grey-grey600:#4b505c;--brand-colors-grey-grey700:#31333a;--brand-colors-grey-grey800:#222325;--brand-colors-grey-grey900:#121314;--brand-colors-grey-grey1000:#000000;--brand-colors-grey-grey050:#f3f5f9;--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:#ffa47c;--brand-colors-orange-orange300:#ff7940;--brand-colors-orange-orange400:#f35714;--brand-colors-orange-orange500:#c3420d;--brand-colors-orange-orange600:#932d06;--brand-colors-orange-orange700:#631800;--brand-colors-orange-orange800:#451100;--brand-colors-orange-orange900:#280a00;--brand-colors-orange-orange050:#fff0ea;--brand-colors-orange-orange025:#fff8f5;--brand-colors-purple-purple100:#efd2ff;--brand-colors-purple-purple200:#dfa4ff;--brand-colors-purple-purple300:#d27dff;--brand-colors-purple-purple400:#b864f5;--brand-colors-purple-purple500:#8f44e4;--brand-colors-purple-purple600:#6c2ab2;--brand-colors-purple-purple700:#6c2ab2;--brand-colors-purple-purple800:#380658;--brand-colors-purple-purple900:#280a00;--brand-colors-purple-purple050:#fbf2ff;--brand-colors-purple-purple025:#fcf6ff;--brand-colors-lime-lime100:#b8ef4a;--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:#093a31;--brand-colors-lime-lime800:#012826;--brand-colors-lime-lime900:#011515;--brand-colors-lime-lime025:#effed9;--brand-colors-lime-lime050:#e3febd;--brand-colors-white:#ffffff;--brand-colors-black:#000000}.light,:root,[data-theme=light]{--color-background-default:var(--brand-colors-grey-grey000);--color-background-alternative:var(--brand-colors-grey-grey050);--color-background-muted:var(--brand-colors-grey-grey050);--color-background-default-hover:#f0f0f0;--color-background-default-pressed:#e0e0e0;--color-background-alternative-hover:#dde3ee;--color-background-alternative-pressed:#c9d2e4;--color-background-muted-hover:#e7ebee;--color-background-muted-pressed:#dbe0e6;--color-background-hover:#0000000f;--color-background-pressed:#0000001f;--color-text-default:var(--brand-colors-grey-grey900);--color-text-alternative:var(--brand-colors-grey-grey500);--color-text-muted:var(--brand-colors-grey-grey300);--color-icon-default:var(--brand-colors-grey-grey900);--color-icon-alternative:var(--brand-colors-grey-grey500);--color-icon-muted:var(--brand-colors-grey-grey300);--color-border-default:var(--brand-colors-grey-grey200);--color-border-muted:#b7bbc866;--color-overlay-default:#00000066;--color-overlay-alternative:#000000cc;--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:#243cff;--color-primary-default-pressed:#0521ff;--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:#b22f3a;--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:#7a4f00;--color-warning-default-pressed:#5c3b00;--color-warning-muted-hover:#9a630026;--color-warning-muted-pressed:#9a630033;--color-success-default:var(--brand-colors-green-green500);--color-success-muted:#1c7e331a;--color-success-inverse:var(--brand-colors-grey-grey000);--color-success-default-hover:#166429;--color-success-default-pressed:#114b1e;--color-success-muted-hover:#1c7e3326;--color-success-muted-pressed:#1c7e3333;--color-info-default:var(--brand-colors-blue-blue500);--color-info-muted:#4459ff1a;--color-info-inverse:var(--brand-colors-grey-grey000);--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-alternative:var(--brand-colors-grey-grey1000);--color-background-muted:var(--brand-colors-grey-grey800);--color-background-default-hover:#313235;--color-background-default-pressed:#3f4145;--color-background-alternative-hover:#1f2123;--color-background-alternative-pressed:#2e3033;--color-background-muted-hover:#2d3034;--color-background-muted-pressed:#363b3f;--color-background-hover:#ffffff0f;--color-background-pressed:#ffffff1f;--color-text-default:var(--brand-colors-grey-grey000);--color-text-alternative:var(--brand-colors-grey-grey200);--color-text-muted:var(--brand-colors-grey-grey400);--color-icon-default:var(--brand-colors-grey-grey000);--color-icon-alternative:var(--brand-colors-grey-grey200);--color-icon-muted:var(--brand-colors-grey-grey400);--color-border-default:var(--brand-colors-grey-grey400);--color-border-muted:#858b9a33;--color-overlay-default:#00000066;--color-overlay-alternative:#000000cc;--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:#a8b2ff;--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:#ff94a0;--color-error-default-pressed:#ffb2bb;--color-error-muted-hover:#ff758433;--color-error-muted-pressed:#ff758440;--color-warning-default:var(--brand-colors-yellow-yellow100);--color-warning-muted:#ffd95726;--color-warning-inverse:var(--brand-colors-grey-grey900);--color-warning-default-hover:#ffe794;--color-warning-default-pressed:#ffeeb2;--color-warning-muted-hover:#ffd95733;--color-warning-muted-pressed:#ffd95740;--color-success-default:var(--brand-colors-green-green300);--color-success-muted:#4cb56426;--color-success-inverse:var(--brand-colors-grey-grey900);--color-success-default-hover:#60bd76;--color-success-default-pressed:#76c688;--color-success-muted-hover:#4cb56433;--color-success-muted-pressed:#4cb56440;--color-info-default:var(--brand-colors-blue-blue300);--color-info-muted:#8b99ff26;--color-info-inverse:var(--brand-colors-grey-grey900);--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-euclid-circular-b:'Euclid Circular B',sans-serif;--font-family-roboto:'Roboto',sans-serif;--font-family-sans:'Euclid Circular B','Roboto',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.125rem;--font-size-6:1.5rem;--font-size-7:2rem;--font-size-8:3rem;--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.5rem;--font-weight-regular:400;--font-weight-medium:500;--font-weight-bold:700;--letter-spacing-0:0;--letter-spacing-1:2.5%;--typography-s-display-md-font-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-heading-sm-regular-font-family:var(--font-family-sans);--typography-s-heading-sm-regular-font-size:var(--font-size-4);--typography-s-heading-sm-regular-line-height:var(--line-height-4);--typography-s-heading-sm-regular-font-weight:var(--font-weight-regular);--typography-s-heading-sm-regular-letter-spacing:var(--letter-spacing-0);--typography-s-body-lg-medium-font-family:var(--font-family-sans);--typography-s-body-lg-medium-font-size:var(--font-size-4);--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-family:var(--font-family-sans);--typography-s-body-lg-regular-font-size:var(--font-size-4);--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-family:var(--font-family-sans);--typography-s-body-md-bold-font-size:var(--font-size-3);--typography-s-body-md-bold-line-height:var(--line-height-3);--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-family:var(--font-family-sans);--typography-s-body-md-medium-font-size:var(--font-size-3);--typography-s-body-md-medium-line-height:var(--line-height-3);--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-family:var(--font-family-sans);--typography-s-body-md-font-size:var(--font-size-3);--typography-s-body-md-line-height:var(--line-height-3);--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-family:var(--font-family-sans);--typography-s-body-sm-bold-font-size:var(--font-size-2);--typography-s-body-sm-bold-line-height:var(--line-height-2);--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-family:var(--font-family-sans);--typography-s-body-sm-medium-font-size:var(--font-size-2);--typography-s-body-sm-medium-line-height:var(--line-height-2);--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-family:var(--font-family-sans);--typography-s-body-sm-font-size:var(--font-size-2);--typography-s-body-sm-line-height:var(--line-height-2);--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-family:var(--font-family-sans);--typography-s-body-xs-medium-font-size:var(--font-size-1);--typography-s-body-xs-medium-line-height:var(--line-height-1);--typography-s-body-xs-medium-font-weight:var(--font-weight-medium);--typography-s-body-xs-medium-letter-spacing:var(--letter-spacing-0);--typography-s-body-xs-font-family:var(--font-family-sans);--typography-s-body-xs-font-size:var(--font-size-1);--typography-s-body-xs-line-height:var(--line-height-1);--typography-s-body-xs-font-weight:var(--font-weight-regular);--typography-s-body-xs-letter-spacing:var(--letter-spacing-0);--typography-l-display-md-font-family:var(--font-family-sans);--typography-l-display-md-font-size:var(--font-size-8);--typography-l-display-md-line-height:var(--line-height-7);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-heading-sm-regular-font-family:var(--font-family-sans);--typography-l-heading-sm-regular-font-size:var(--font-size-5);--typography-l-heading-sm-regular-line-height:var(--line-height-4);--typography-l-heading-sm-regular-font-weight:var(--font-weight-regular);--typography-l-heading-sm-regular-letter-spacing:var(--letter-spacing-0);--typography-l-body-lg-medium-font-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-family:var(--font-family-sans);--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-0);--typography-l-body-xs-font-family:var(--font-family-sans);--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-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": "
|
|
3
|
+
"version": "5.0.0-preview.3ab3ce4",
|
|
4
4
|
"description": "Design tokens to be used throughout MetaMask products",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@metamask-previews/design-system-react": "0.0.0-preview.
|
|
51
|
+
"@metamask-previews/design-system-react": "0.0.0-preview.3ab3ce4",
|
|
52
52
|
"@metamask/auto-changelog": "^3.4.4",
|
|
53
53
|
"@storybook/react": "^8.3.5",
|
|
54
54
|
"@ts-bridge/cli": "^0.5.1",
|