@sandlada/mdk 1.0.5 → 1.1.0-20250908.a
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/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/modules/color.d.ts +51 -144
- package/build/modules/color.js +54 -96
- package/build/modules/duration.d.ts +31 -0
- package/build/modules/duration.js +30 -0
- package/build/modules/easing.d.ts +25 -0
- package/build/modules/easing.js +24 -0
- package/build/modules/elevation.d.ts +9 -0
- package/build/modules/elevation.js +8 -0
- package/build/modules/palette.d.ts +93 -0
- package/build/modules/palette.js +93 -0
- package/build/modules/shape.d.ts +12 -0
- package/build/modules/shape.js +11 -0
- package/build/modules/state.d.ts +12 -0
- package/build/modules/state.js +10 -0
- package/build/modules/typeface.d.ts +6 -0
- package/build/modules/typeface.js +5 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './modules/easing';
|
|
|
5
5
|
export * from './modules/elevation';
|
|
6
6
|
export * from './modules/shape';
|
|
7
7
|
export * from './modules/state';
|
|
8
|
+
export * from './modules/palette';
|
|
8
9
|
export * from './modules/typeface';
|
|
9
10
|
export * from './modules/typescale';
|
|
10
11
|
export * from './modules/variant';
|
package/build/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export * from './modules/easing';
|
|
|
5
5
|
export * from './modules/elevation';
|
|
6
6
|
export * from './modules/shape';
|
|
7
7
|
export * from './modules/state';
|
|
8
|
+
export * from './modules/palette';
|
|
8
9
|
export * from './modules/typeface';
|
|
9
10
|
export * from './modules/typescale';
|
|
10
11
|
export * from './modules/variant';
|
package/build/modules/color.d.ts
CHANGED
|
@@ -1,97 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
readonly Black: "var(--md-sys-palette-black, #000)";
|
|
3
|
-
readonly Error0: "var(--md-sys-palette-error-0, #000)";
|
|
4
|
-
readonly Error10: "var(--md-sys-palette-error-10, #410e0b)";
|
|
5
|
-
readonly Error20: "var(--md-sys-palette-error-20, #601410)";
|
|
6
|
-
readonly Error30: "var(--md-sys-palette-error-30, #8c1d18)";
|
|
7
|
-
readonly Error40: "var(--md-sys-palette-error-40, #b3261e)";
|
|
8
|
-
readonly Error50: "var(--md-sys-palette-error-50, #dc362e)";
|
|
9
|
-
readonly Error60: "var(--md-sys-palette-error-60, #e46962)";
|
|
10
|
-
readonly Error70: "var(--md-sys-palette-error-70, #ec928e)";
|
|
11
|
-
readonly Error80: "var(--md-sys-palette-error-80, #f2b8b5)";
|
|
12
|
-
readonly Error90: "var(--md-sys-palette-error-90, #f9dedc)";
|
|
13
|
-
readonly Error95: "var(--md-sys-palette-error-95, #fceeee)";
|
|
14
|
-
readonly Error99: "var(--md-sys-palette-error-99, #fffbf9)";
|
|
15
|
-
readonly Error100: "var(--md-sys-palette-error-100, #fff)";
|
|
16
|
-
readonly NeutralVariant0: "var(--md-sys-palette-neutral-variant-0, #000)";
|
|
17
|
-
readonly NeutralVariant10: "var(--md-sys-palette-neutral-variant-10, #1d1a22)";
|
|
18
|
-
readonly NeutralVariant20: "var(--md-sys-palette-neutral-variant-20, #322f37)";
|
|
19
|
-
readonly NeutralVariant30: "var(--md-sys-palette-neutral-variant-30, #49454f)";
|
|
20
|
-
readonly NeutralVariant40: "var(--md-sys-palette-neutral-variant-40, #605d66)";
|
|
21
|
-
readonly NeutralVariant50: "var(--md-sys-palette-neutral-variant-50, #79747e)";
|
|
22
|
-
readonly NeutralVariant60: "var(--md-sys-palette-neutral-variant-60, #938f99)";
|
|
23
|
-
readonly NeutralVariant70: "var(--md-sys-palette-neutral-variant-70, #aea9b4)";
|
|
24
|
-
readonly NeutralVariant80: "var(--md-sys-palette-neutral-variant-80, #cac4d0)";
|
|
25
|
-
readonly NeutralVariant90: "var(--md-sys-palette-neutral-variant-90, #e7e0ec)";
|
|
26
|
-
readonly NeutralVariant95: "var(--md-sys-palette-neutral-variant-95, #f5eefa)";
|
|
27
|
-
readonly NeutralVariant99: "var(--md-sys-palette-neutral-variant-99, #fffbfe)";
|
|
28
|
-
readonly NeutralVariant100: "var(--md-sys-palette-neutral-variant-100, #fff)";
|
|
29
|
-
readonly Neutral0: "var(--md-sys-palette-neutral-0, #000)";
|
|
30
|
-
readonly Neutral4: "var(--md-sys-palette-neutral-4, #0f0d13)";
|
|
31
|
-
readonly Neutral6: "var(--md-sys-palette-neutral-6, #141218)";
|
|
32
|
-
readonly Neutral10: "var(--md-sys-palette-neutral-10, #1d1b20)";
|
|
33
|
-
readonly Neutral12: "var(--md-sys-palette-neutral-12, #211f26)";
|
|
34
|
-
readonly Neutral17: "var(--md-sys-palette-neutral-17, #2b2930)";
|
|
35
|
-
readonly Neutral20: "var(--md-sys-palette-neutral-20, #322f35)";
|
|
36
|
-
readonly Neutral22: "var(--md-sys-palette-neutral-22, #36343b)";
|
|
37
|
-
readonly Neutral24: "var(--md-sys-palette-neutral-24, #3b383e)";
|
|
38
|
-
readonly Neutral30: "var(--md-sys-palette-neutral-30, #48464c)";
|
|
39
|
-
readonly Neutral40: "var(--md-sys-palette-neutral-40, #605d64)";
|
|
40
|
-
readonly Neutral50: "var(--md-sys-palette-neutral-50, #79767d)";
|
|
41
|
-
readonly Neutral60: "var(--md-sys-palette-neutral-60, #938f96)";
|
|
42
|
-
readonly Neutral70: "var(--md-sys-palette-neutral-70, #aea9b1)";
|
|
43
|
-
readonly Neutral80: "var(--md-sys-palette-neutral-80, #cac5cd)";
|
|
44
|
-
readonly Neutral87: "var(--md-sys-palette-neutral-87, #ded8e1)";
|
|
45
|
-
readonly Neutral90: "var(--md-sys-palette-neutral-90, #e6e0e9)";
|
|
46
|
-
readonly Neutral92: "var(--md-sys-palette-neutral-92, #ece6f0)";
|
|
47
|
-
readonly Neutral94: "var(--md-sys-palette-neutral-94, #f3edf7)";
|
|
48
|
-
readonly Neutral95: "var(--md-sys-palette-neutral-95, #f5eff7)";
|
|
49
|
-
readonly Neutral96: "var(--md-sys-palette-neutral-96, #f7f2fa)";
|
|
50
|
-
readonly Neutral98: "var(--md-sys-palette-neutral-98, #fef7ff)";
|
|
51
|
-
readonly Neutral99: "var(--md-sys-palette-neutral-99, #fffbff)";
|
|
52
|
-
readonly Neutral100: "var(--md-sys-palette-neutral-100, #fff)";
|
|
53
|
-
readonly Primary0: "var(--md-sys-palette-primary-0, #000)";
|
|
54
|
-
readonly Primary10: "var(--md-sys-palette-primary-10, #21005d)";
|
|
55
|
-
readonly Primary20: "var(--md-sys-palette-primary-20, #381e72)";
|
|
56
|
-
readonly Primary30: "var(--md-sys-palette-primary-30, #4f378b)";
|
|
57
|
-
readonly Primary40: "var(--md-sys-palette-primary-40, #6750a4)";
|
|
58
|
-
readonly Primary50: "var(--md-sys-palette-primary-50, #7f67be)";
|
|
59
|
-
readonly Primary60: "var(--md-sys-palette-primary-60, #9a82db)";
|
|
60
|
-
readonly Primary70: "var(--md-sys-palette-primary-70, #b69df8)";
|
|
61
|
-
readonly Primary80: "var(--md-sys-palette-primary-80, #d0bcff)";
|
|
62
|
-
readonly Primary90: "var(--md-sys-palette-primary-90, #eaddff)";
|
|
63
|
-
readonly Primary95: "var(--md-sys-palette-primary-95, #f6edff)";
|
|
64
|
-
readonly Primary99: "var(--md-sys-palette-primary-99, #fffbfe)";
|
|
65
|
-
readonly Primary100: "var(--md-sys-palette-primary-100, #fff)";
|
|
66
|
-
readonly Secondary0: "var(--md-sys-palette-secondary-0, #000)";
|
|
67
|
-
readonly Secondary10: "var(--md-sys-palette-secondary-10, #1d192b)";
|
|
68
|
-
readonly Secondary20: "var(--md-sys-palette-secondary-20, #332d41)";
|
|
69
|
-
readonly Secondary30: "var(--md-sys-palette-secondary-30, #4a4458)";
|
|
70
|
-
readonly Secondary40: "var(--md-sys-palette-secondary-40, #625b71)";
|
|
71
|
-
readonly Secondary50: "var(--md-sys-palette-secondary-50, #7a7289)";
|
|
72
|
-
readonly Secondary60: "var(--md-sys-palette-secondary-60, #958da5)";
|
|
73
|
-
readonly Secondary70: "var(--md-sys-palette-secondary-70, #b0a7c0)";
|
|
74
|
-
readonly Secondary80: "var(--md-sys-palette-secondary-80, #ccc2dc)";
|
|
75
|
-
readonly Secondary90: "var(--md-sys-palette-secondary-90, #e8def8)";
|
|
76
|
-
readonly Secondary95: "var(--md-sys-palette-secondary-95, #f6edff)";
|
|
77
|
-
readonly Secondary99: "var(--md-sys-palette-secondary-99, #fffbfe)";
|
|
78
|
-
readonly Secondary100: "var(--md-sys-palette-secondary-100, #fff)";
|
|
79
|
-
readonly Tertiary0: "var(--md-sys-palette-tertiary-0, #000)";
|
|
80
|
-
readonly Tertiary10: "var(--md-sys-palette-tertiary-10, #31111d)";
|
|
81
|
-
readonly Tertiary20: "var(--md-sys-palette-tertiary-20, #492532)";
|
|
82
|
-
readonly Tertiary30: "var(--md-sys-palette-tertiary-30, #633b48)";
|
|
83
|
-
readonly Tertiary40: "var(--md-sys-palette-tertiary-40, #7d5260)";
|
|
84
|
-
readonly Tertiary50: "var(--md-sys-palette-tertiary-50, #986977)";
|
|
85
|
-
readonly Tertiary60: "var(--md-sys-palette-tertiary-60, #b58392)";
|
|
86
|
-
readonly Tertiary70: "var(--md-sys-palette-tertiary-70, #d29dac)";
|
|
87
|
-
readonly Tertiary80: "var(--md-sys-palette-tertiary-80, #efb8c8)";
|
|
88
|
-
readonly Tertiary90: "var(--md-sys-palette-tertiary-90, #ffd8e4)";
|
|
89
|
-
readonly Tertiary95: "var(--md-sys-palette-tertiary-95, #ffecf1)";
|
|
90
|
-
readonly Tertiary99: "var(--md-sys-palette-tertiary-99, #fffbfa)";
|
|
91
|
-
readonly Tertiary100: "var(--md-sys-palette-tertiary-100, #fff)";
|
|
92
|
-
readonly White: "var(--md-sys-palette-white, #fff)";
|
|
93
|
-
};
|
|
94
|
-
export declare const DefaultLightColor: {
|
|
1
|
+
export declare const ColorLight: {
|
|
95
2
|
readonly Background: "var(--md-sys-color-background, var(--md-sys-palette-neutral-98, #fef7ff))";
|
|
96
3
|
readonly Error: "var(--md-sys-color-error, var(--md-sys-palette-error-40, #b3261e))";
|
|
97
4
|
readonly ErrorContainer: "var(--md-sys-color-error-container, var(--md-sys-palette-error-90, #f9dedc))";
|
|
@@ -142,7 +49,7 @@ export declare const DefaultLightColor: {
|
|
|
142
49
|
readonly TertiaryFixed: "var(--md-sys-color-tertiary-fixed, var(--md-sys-palette-tertiary-90, #ffd8e4))";
|
|
143
50
|
readonly TertiaryFixedDim: "var(--md-sys-color-tertiary-fixed-dim, var(--md-sys-palette-tertiary-80, #efb8c8))";
|
|
144
51
|
};
|
|
145
|
-
export declare const
|
|
52
|
+
export declare const ColorDark: {
|
|
146
53
|
readonly Background: "var(--md-sys-color-background, var(--md-sys-palette-neutral-6, #141218))";
|
|
147
54
|
readonly Error: "var(--md-sys-color-error, var(--md-sys-palette-error-80, #f2b8b5))";
|
|
148
55
|
readonly ErrorContainer: "var(--md-sys-color-error-container, var(--md-sys-palette-error-30, #8c1d18))";
|
|
@@ -194,53 +101,53 @@ export declare const DefaultDarkColor: {
|
|
|
194
101
|
readonly TertiaryFixedDim: "var(--md-sys-color-tertiary-fixed-dim, var(--md-sys-palette-tertiary-80, #efb8c8))";
|
|
195
102
|
};
|
|
196
103
|
export declare const Color: {
|
|
197
|
-
readonly Background: "var(--md-sys-color-background, var(--md-sys-palette-neutral-98, #fef7ff))";
|
|
198
|
-
readonly Error: "var(--md-sys-color-error, var(--md-sys-palette-error-40, #b3261e))";
|
|
199
|
-
readonly ErrorContainer: "var(--md-sys-color-error-container, var(--md-sys-palette-error-90, #f9dedc))";
|
|
200
|
-
readonly InverseOnSurface: "var(--md-sys-color-inverse-on-surface, var(--md-sys-palette-neutral-95, #f5eff7))";
|
|
201
|
-
readonly InversePrimary: "var(--md-sys-color-inverse-primary, var(--md-sys-palette-primary-80, #d0bcff))";
|
|
202
|
-
readonly InverseSurface: "var(--md-sys-color-inverse-surface, var(--md-sys-palette-neutral-20, #322f35))";
|
|
203
|
-
readonly OnBackground: "var(--md-sys-color-on-background, var(--md-sys-palette-neutral-10, #1d1b20))";
|
|
204
|
-
readonly OnError: "var(--md-sys-color-on-error, var(--md-sys-palette-error-100, #fff))";
|
|
205
|
-
readonly OnErrorContainer: "var(--md-sys-color-on-error-container, var(--md-sys-palette-error-10, #410e0b))";
|
|
206
|
-
readonly OnPrimary: "var(--md-sys-color-on-primary, var(--md-sys-palette-primary-100, #fff))";
|
|
207
|
-
readonly OnPrimaryContainer: "var(--md-sys-color-on-primary-container, var(--md-sys-palette-primary-10, #21005d))";
|
|
208
|
-
readonly OnPrimaryFixed: "var(--md-sys-color-on-primary-fixed, var(--md-sys-palette-primary-10, #21005d))";
|
|
209
|
-
readonly OnPrimaryFixedVariant: "var(--md-sys-color-on-primary-fixed-variant, var(--md-sys-palette-primary-30, #4f378b))";
|
|
210
|
-
readonly OnSecondary: "var(--md-sys-color-on-secondary, var(--md-sys-palette-secondary-100, #fff))";
|
|
211
|
-
readonly OnSecondaryContainer: "var(--md-sys-color-on-secondary-container, var(--md-sys-palette-secondary-10, #1d192b))";
|
|
212
|
-
readonly OnSecondaryFixed: "var(--md-sys-color-on-secondary-fixed, var(--md-sys-palette-secondary-10, #1d192b))";
|
|
213
|
-
readonly OnSecondaryFixedVariant: "var(--md-sys-color-on-secondary-fixed-variant, var(--md-sys-palette-secondary-30, #4a4458))";
|
|
214
|
-
readonly OnSurface: "var(--md-sys-color-on-surface, var(--md-sys-palette-neutral-10, #1d1b20))";
|
|
215
|
-
readonly OnSurfaceVariant: "var(--md-sys-color-on-surface-variant, var(--md-sys-palette-neutral-variant-30, #49454f))";
|
|
216
|
-
readonly OnTertiary: "var(--md-sys-color-on-tertiary, var(--md-sys-palette-tertiary-100, #fff))";
|
|
217
|
-
readonly OnTertiaryContainer: "var(--md-sys-color-on-tertiary-container, var(--md-sys-palette-tertiary-10, #31111d))";
|
|
218
|
-
readonly OnTertiaryFixed: "var(--md-sys-color-on-tertiary-fixed, var(--md-sys-palette-tertiary-10, #31111d))";
|
|
219
|
-
readonly OnTertiaryFixedVariant: "var(--md-sys-color-on-tertiary-fixed-variant, var(--md-sys-palette-tertiary-30, #633b48))";
|
|
220
|
-
readonly Outline: "var(--md-sys-color-outline, var(--md-sys-palette-neutral-50, #79767d))";
|
|
221
|
-
readonly OutlineVariant: "var(--md-sys-color-outline-variant, var(--md-sys-palette-neutral-variant-80, #cac4d0))";
|
|
222
|
-
readonly Primary: "var(--md-sys-color-primary, var(--md-sys-palette-primary-40, #6750a4))";
|
|
223
|
-
readonly PrimaryContainer: "var(--md-sys-color-primary-container, var(--md-sys-palette-primary-90, #eaddff))";
|
|
224
|
-
readonly PrimaryFixed: "var(--md-sys-color-primary-fixed, var(--md-sys-palette-primary-90, #eaddff))";
|
|
225
|
-
readonly PrimaryFixedDim: "var(--md-sys-color-primary-fixed-dim, var(--md-sys-palette-primary-80, #d0bcff))";
|
|
226
|
-
readonly Scrim: "var(--md-sys-color-scrim, var(--md-sys-palette-neutral-0, #000))";
|
|
227
|
-
readonly Secondary: "var(--md-sys-color-secondary, var(--md-sys-palette-secondary-40, #625b71))";
|
|
228
|
-
readonly SecondaryContainer: "var(--md-sys-color-secondary-container, var(--md-sys-palette-secondary-90, #e8def8))";
|
|
229
|
-
readonly SecondaryFixed: "var(--md-sys-color-secondary-fixed, var(--md-sys-palette-secondary-90, #e8def8))";
|
|
230
|
-
readonly SecondaryFixedDim: "var(--md-sys-color-secondary-fixed-dim, var(--md-sys-palette-secondary-80, #ccc2dc))";
|
|
231
|
-
readonly Shadow: "var(--md-sys-color-shadow, var(--md-sys-palette-neutral-0, #000))";
|
|
232
|
-
readonly Surface: "var(--md-sys-color-surface, var(--md-sys-palette-neutral-98, #fef7ff))";
|
|
233
|
-
readonly SurfaceBright: "var(--md-sys-color-surface-bright, var(--md-sys-palette-neutral-98, #fef7ff))";
|
|
234
|
-
readonly SurfaceContainer: "var(--md-sys-color-surface-container, var(--md-sys-palette-neutral-94, #f3edf7))";
|
|
235
|
-
readonly SurfaceContainerHigh: "var(--md-sys-color-surface-container-high, var(--md-sys-palette-neutral-92, #ece6f0))";
|
|
236
|
-
readonly SurfaceContainerHighest: "var(--md-sys-color-surface-container-highest, var(--md-sys-palette-neutral-90, #e6e0e9))";
|
|
237
|
-
readonly SurfaceContainerLow: "var(--md-sys-color-surface-container-low, var(--md-sys-palette-neutral-96, #f7f2fa))";
|
|
238
|
-
readonly SurfaceContainerLowest: "var(--md-sys-color-surface-container-lowest, var(--md-sys-palette-neutral-100, #fff))";
|
|
239
|
-
readonly SurfaceDim: "var(--md-sys-color-surface-dim, var(--md-sys-palette-neutral-87, #ded8e1))";
|
|
240
|
-
readonly SurfaceTint: "var(--md-sys-color-surface-tint, var(--md-sys-palette-primary-40, #6750a4))";
|
|
241
|
-
readonly SurfaceVariant: "var(--md-sys-color-surface-variant, var(--md-sys-palette-neutral-variant-90, #e7e0ec)";
|
|
242
|
-
readonly Tertiary: "var(--md-sys-color-tertiary, var(--md-sys-palette-tertiary-40, #7d5260))";
|
|
243
|
-
readonly TertiaryContainer: "var(--md-sys-color-tertiary-container, var(--md-sys-palette-tertiary-90, #ffd8e4))";
|
|
244
|
-
readonly TertiaryFixed: "var(--md-sys-color-tertiary-fixed, var(--md-sys-palette-tertiary-90, #ffd8e4))";
|
|
245
|
-
readonly TertiaryFixedDim: "var(--md-sys-color-tertiary-fixed-dim, var(--md-sys-palette-tertiary-80, #efb8c8))";
|
|
104
|
+
readonly Background: "var(--md-sys-color-background, light-dark(var(--md-sys-palette-neutral-98, #fef7ff), var(--md-sys-palette-neutral-6, #141218)))";
|
|
105
|
+
readonly Error: "var(--md-sys-color-error, light-dark(var(--md-sys-palette-error-40, #b3261e), var(--md-sys-palette-error-80, #f2b8b5)))";
|
|
106
|
+
readonly ErrorContainer: "var(--md-sys-color-error-container, light-dark(var(--md-sys-palette-error-90, #f9dedc), var(--md-sys-palette-error-30, #8c1d18)))";
|
|
107
|
+
readonly InverseOnSurface: "var(--md-sys-color-inverse-on-surface, light-dark(var(--md-sys-palette-neutral-95, #f5eff7), var(--md-sys-palette-neutral-20, #322f35)))";
|
|
108
|
+
readonly InversePrimary: "var(--md-sys-color-inverse-primary, light-dark(var(--md-sys-palette-primary-80, #d0bcff), var(--md-sys-palette-primary-40, #6750a4)))";
|
|
109
|
+
readonly InverseSurface: "var(--md-sys-color-inverse-surface, light-dark(var(--md-sys-palette-neutral-20, #322f35), var(--md-sys-palette-neutral-90, #e6e0e9)))";
|
|
110
|
+
readonly OnBackground: "var(--md-sys-color-on-background, light-dark(var(--md-sys-palette-neutral-10, #1d1b20), var(--md-sys-palette-neutral-90, #e6e0e9)))";
|
|
111
|
+
readonly OnError: "var(--md-sys-color-on-error, light-dark(var(--md-sys-palette-error-100, #fff), var(--md-sys-palette-error-20, #601410)))";
|
|
112
|
+
readonly OnErrorContainer: "var(--md-sys-color-on-error-container, light-dark(var(--md-sys-palette-error-10, #410e0b), var(--md-sys-palette-error-90, #f9dedc)))";
|
|
113
|
+
readonly OnPrimary: "var(--md-sys-color-on-primary, light-dark(var(--md-sys-palette-primary-100, #fff), var(--md-sys-palette-primary-20, #381e72)))";
|
|
114
|
+
readonly OnPrimaryContainer: "var(--md-sys-color-on-primary-container, light-dark(var(--md-sys-palette-primary-10, #21005d), var(--md-sys-palette-primary-90, #eaddff)))";
|
|
115
|
+
readonly OnPrimaryFixed: "var(--md-sys-color-on-primary-fixed, light-dark(var(--md-sys-palette-primary-10, #21005d), var(--md-sys-palette-primary-10, #21005d)))";
|
|
116
|
+
readonly OnPrimaryFixedVariant: "var(--md-sys-color-on-primary-fixed-variant, light-dark(var(--md-sys-palette-primary-30, #4f378b), var(--md-sys-palette-primary-30, #4f378b)))";
|
|
117
|
+
readonly OnSecondary: "var(--md-sys-color-on-secondary, light-dark(var(--md-sys-palette-secondary-100, #fff), var(--md-sys-palette-secondary-20, #332d41)))";
|
|
118
|
+
readonly OnSecondaryContainer: "var(--md-sys-color-on-secondary-container, light-dark(var(--md-sys-palette-secondary-10, #1d192b), var(--md-sys-palette-secondary-90, #e8def8)))";
|
|
119
|
+
readonly OnSecondaryFixed: "var(--md-sys-color-on-secondary-fixed, light-dark(var(--md-sys-palette-secondary-10, #1d192b), var(--md-sys-palette-secondary-10, #1d192b)))";
|
|
120
|
+
readonly OnSecondaryFixedVariant: "var(--md-sys-color-on-secondary-fixed-variant, light-dark(var(--md-sys-palette-secondary-30, #4a4458), var(--md-sys-palette-secondary-30, #4a4458)))";
|
|
121
|
+
readonly OnSurface: "var(--md-sys-color-on-surface, light-dark(var(--md-sys-palette-neutral-10, #1d1b20), var(--md-sys-palette-neutral-90, #e6e0e9)))";
|
|
122
|
+
readonly OnSurfaceVariant: "var(--md-sys-color-on-surface-variant, light-dark(var(--md-sys-palette-neutral-variant-30, #49454f), var(--md-sys-palette-neutral-variant-80, #cac4d0)))";
|
|
123
|
+
readonly OnTertiary: "var(--md-sys-color-on-tertiary, light-dark(var(--md-sys-palette-tertiary-100, #fff), var(--md-sys-palette-tertiary-20, #492532)))";
|
|
124
|
+
readonly OnTertiaryContainer: "var(--md-sys-color-on-tertiary-container, light-dark(var(--md-sys-palette-tertiary-10, #31111d), var(--md-sys-palette-tertiary-90, #ffd8e4)))";
|
|
125
|
+
readonly OnTertiaryFixed: "var(--md-sys-color-on-tertiary-fixed, light-dark(var(--md-sys-palette-tertiary-10, #31111d), var(--md-sys-palette-tertiary-10, #31111d)))";
|
|
126
|
+
readonly OnTertiaryFixedVariant: "var(--md-sys-color-on-tertiary-fixed-variant, light-dark(var(--md-sys-palette-tertiary-30, #633b48), var(--md-sys-palette-tertiary-30, #633b48)))";
|
|
127
|
+
readonly Outline: "var(--md-sys-color-outline, light-dark(var(--md-sys-palette-neutral-50, #79767d), var(--md-sys-palette-neutral-60, #938f96)))";
|
|
128
|
+
readonly OutlineVariant: "var(--md-sys-color-outline-variant, light-dark(var(--md-sys-palette-neutral-variant-80, #cac4d0), var(--md-sys-palette-neutral-variant-30, #49454f)))";
|
|
129
|
+
readonly Primary: "var(--md-sys-color-primary, light-dark(var(--md-sys-palette-primary-40, #6750a4), var(--md-sys-palette-primary-80, #d0bcff)))";
|
|
130
|
+
readonly PrimaryContainer: "var(--md-sys-color-primary-container, light-dark(var(--md-sys-palette-primary-90, #eaddff), var(--md-sys-palette-primary-30, #4f378b)))";
|
|
131
|
+
readonly PrimaryFixed: "var(--md-sys-color-primary-fixed, light-dark(var(--md-sys-palette-primary-90, #eaddff), var(--md-sys-palette-primary-90, #eaddff)))";
|
|
132
|
+
readonly PrimaryFixedDim: "var(--md-sys-color-primary-fixed-dim, light-dark(var(--md-sys-palette-primary-80, #d0bcff), var(--md-sys-palette-primary-80, #d0bcff)))";
|
|
133
|
+
readonly Scrim: "var(--md-sys-color-scrim, light-dark(var(--md-sys-palette-neutral-0, #000), var(--md-sys-palette-neutral-0, #000)))";
|
|
134
|
+
readonly Secondary: "var(--md-sys-color-secondary, light-dark(var(--md-sys-palette-secondary-40, #625b71), var(--md-sys-palette-secondary-80, #ccc2dc)))";
|
|
135
|
+
readonly SecondaryContainer: "var(--md-sys-color-secondary-container, light-dark(var(--md-sys-palette-secondary-90, #e8def8), var(--md-sys-palette-secondary-30, #4a4458)))";
|
|
136
|
+
readonly SecondaryFixed: "var(--md-sys-color-secondary-fixed, light-dark(var(--md-sys-palette-secondary-90, #e8def8), var(--md-sys-palette-secondary-90, #e8def8)))";
|
|
137
|
+
readonly SecondaryFixedDim: "var(--md-sys-color-secondary-fixed-dim, light-dark(var(--md-sys-palette-secondary-80, #ccc2dc), var(--md-sys-palette-secondary-80, #ccc2dc)))";
|
|
138
|
+
readonly Shadow: "var(--md-sys-color-shadow, light-dark(var(--md-sys-palette-neutral-0, #000), var(--md-sys-palette-neutral-0, #000)))";
|
|
139
|
+
readonly Surface: "var(--md-sys-color-surface, light-dark(var(--md-sys-palette-neutral-98, #fef7ff), var(--md-sys-palette-neutral-6, #141218)))";
|
|
140
|
+
readonly SurfaceBright: "var(--md-sys-color-surface-bright, light-dark(var(--md-sys-palette-neutral-98, #fef7ff), var(--md-sys-palette-neutral-24, #3b383e)))";
|
|
141
|
+
readonly SurfaceContainer: "var(--md-sys-color-surface-container, light-dark(var(--md-sys-palette-neutral-94, #f3edf7), var(--md-sys-palette-neutral-12, #211f26)))";
|
|
142
|
+
readonly SurfaceContainerHigh: "var(--md-sys-color-surface-container-high, light-dark(var(--md-sys-palette-neutral-92, #ece6f0), var(--md-sys-palette-neutral-17, #2b2930)))";
|
|
143
|
+
readonly SurfaceContainerHighest: "var(--md-sys-color-surface-container-highest, light-dark(var(--md-sys-palette-neutral-90, #e6e0e9), var(--md-sys-palette-neutral-22, #36343b)))";
|
|
144
|
+
readonly SurfaceContainerLow: "var(--md-sys-color-surface-container-low, light-dark(var(--md-sys-palette-neutral-96, #f7f2fa), var(--md-sys-palette-neutral-10, #1d1b20)))";
|
|
145
|
+
readonly SurfaceContainerLowest: "var(--md-sys-color-surface-container-lowest, light-dark(var(--md-sys-palette-neutral-100, #fff), var(--md-sys-palette-neutral-4, #0f0d13)))";
|
|
146
|
+
readonly SurfaceDim: "var(--md-sys-color-surface-dim, light-dark(var(--md-sys-palette-neutral-87, #ded8e1), var(--md-sys-palette-neutral-6, #141218)))";
|
|
147
|
+
readonly SurfaceTint: "var(--md-sys-color-surface-tint, light-dark(var(--md-sys-palette-primary-40, #6750a4), var(--md-sys-palette-primary-80, #d0bcff)))";
|
|
148
|
+
readonly SurfaceVariant: "var(--md-sys-color-surface-variant, light-dark(var(--md-sys-palette-neutral-variant-90, #e7e0ec), var(--md-sys-palette-neutral-variant-30, #49454f)))";
|
|
149
|
+
readonly Tertiary: "var(--md-sys-color-tertiary, light-dark(var(--md-sys-palette-tertiary-40, #7d5260), var(--md-sys-palette-tertiary-80, #efb8c8)))";
|
|
150
|
+
readonly TertiaryContainer: "var(--md-sys-color-tertiary-container, light-dark(var(--md-sys-palette-tertiary-90, #ffd8e4), var(--md-sys-palette-tertiary-30, #633b48)))";
|
|
151
|
+
readonly TertiaryFixed: "var(--md-sys-color-tertiary-fixed, light-dark(var(--md-sys-palette-tertiary-90, #ffd8e4), var(--md-sys-palette-tertiary-90, #ffd8e4)))";
|
|
152
|
+
readonly TertiaryFixedDim: "var(--md-sys-color-tertiary-fixed-dim, light-dark(var(--md-sys-palette-tertiary-80, #efb8c8), var(--md-sys-palette-tertiary-80, #efb8c8)))";
|
|
246
153
|
};
|
package/build/modules/color.js
CHANGED
|
@@ -1,97 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Error0: `var(--md-sys-palette-error-0, #000)`,
|
|
4
|
-
Error10: `var(--md-sys-palette-error-10, #410e0b)`,
|
|
5
|
-
Error20: `var(--md-sys-palette-error-20, #601410)`,
|
|
6
|
-
Error30: `var(--md-sys-palette-error-30, #8c1d18)`,
|
|
7
|
-
Error40: `var(--md-sys-palette-error-40, #b3261e)`,
|
|
8
|
-
Error50: `var(--md-sys-palette-error-50, #dc362e)`,
|
|
9
|
-
Error60: `var(--md-sys-palette-error-60, #e46962)`,
|
|
10
|
-
Error70: `var(--md-sys-palette-error-70, #ec928e)`,
|
|
11
|
-
Error80: `var(--md-sys-palette-error-80, #f2b8b5)`,
|
|
12
|
-
Error90: `var(--md-sys-palette-error-90, #f9dedc)`,
|
|
13
|
-
Error95: `var(--md-sys-palette-error-95, #fceeee)`,
|
|
14
|
-
Error99: `var(--md-sys-palette-error-99, #fffbf9)`,
|
|
15
|
-
Error100: `var(--md-sys-palette-error-100, #fff)`,
|
|
16
|
-
NeutralVariant0: `var(--md-sys-palette-neutral-variant-0, #000)`,
|
|
17
|
-
NeutralVariant10: `var(--md-sys-palette-neutral-variant-10, #1d1a22)`,
|
|
18
|
-
NeutralVariant20: `var(--md-sys-palette-neutral-variant-20, #322f37)`,
|
|
19
|
-
NeutralVariant30: `var(--md-sys-palette-neutral-variant-30, #49454f)`,
|
|
20
|
-
NeutralVariant40: `var(--md-sys-palette-neutral-variant-40, #605d66)`,
|
|
21
|
-
NeutralVariant50: `var(--md-sys-palette-neutral-variant-50, #79747e)`,
|
|
22
|
-
NeutralVariant60: `var(--md-sys-palette-neutral-variant-60, #938f99)`,
|
|
23
|
-
NeutralVariant70: `var(--md-sys-palette-neutral-variant-70, #aea9b4)`,
|
|
24
|
-
NeutralVariant80: `var(--md-sys-palette-neutral-variant-80, #cac4d0)`,
|
|
25
|
-
NeutralVariant90: `var(--md-sys-palette-neutral-variant-90, #e7e0ec)`,
|
|
26
|
-
NeutralVariant95: `var(--md-sys-palette-neutral-variant-95, #f5eefa)`,
|
|
27
|
-
NeutralVariant99: `var(--md-sys-palette-neutral-variant-99, #fffbfe)`,
|
|
28
|
-
NeutralVariant100: `var(--md-sys-palette-neutral-variant-100, #fff)`,
|
|
29
|
-
Neutral0: `var(--md-sys-palette-neutral-0, #000)`,
|
|
30
|
-
Neutral4: `var(--md-sys-palette-neutral-4, #0f0d13)`,
|
|
31
|
-
Neutral6: `var(--md-sys-palette-neutral-6, #141218)`,
|
|
32
|
-
Neutral10: `var(--md-sys-palette-neutral-10, #1d1b20)`,
|
|
33
|
-
Neutral12: `var(--md-sys-palette-neutral-12, #211f26)`,
|
|
34
|
-
Neutral17: `var(--md-sys-palette-neutral-17, #2b2930)`,
|
|
35
|
-
Neutral20: `var(--md-sys-palette-neutral-20, #322f35)`,
|
|
36
|
-
Neutral22: `var(--md-sys-palette-neutral-22, #36343b)`,
|
|
37
|
-
Neutral24: `var(--md-sys-palette-neutral-24, #3b383e)`,
|
|
38
|
-
Neutral30: `var(--md-sys-palette-neutral-30, #48464c)`,
|
|
39
|
-
Neutral40: `var(--md-sys-palette-neutral-40, #605d64)`,
|
|
40
|
-
Neutral50: `var(--md-sys-palette-neutral-50, #79767d)`,
|
|
41
|
-
Neutral60: `var(--md-sys-palette-neutral-60, #938f96)`,
|
|
42
|
-
Neutral70: `var(--md-sys-palette-neutral-70, #aea9b1)`,
|
|
43
|
-
Neutral80: `var(--md-sys-palette-neutral-80, #cac5cd)`,
|
|
44
|
-
Neutral87: `var(--md-sys-palette-neutral-87, #ded8e1)`,
|
|
45
|
-
Neutral90: `var(--md-sys-palette-neutral-90, #e6e0e9)`,
|
|
46
|
-
Neutral92: `var(--md-sys-palette-neutral-92, #ece6f0)`,
|
|
47
|
-
Neutral94: `var(--md-sys-palette-neutral-94, #f3edf7)`,
|
|
48
|
-
Neutral95: `var(--md-sys-palette-neutral-95, #f5eff7)`,
|
|
49
|
-
Neutral96: `var(--md-sys-palette-neutral-96, #f7f2fa)`,
|
|
50
|
-
Neutral98: `var(--md-sys-palette-neutral-98, #fef7ff)`,
|
|
51
|
-
Neutral99: `var(--md-sys-palette-neutral-99, #fffbff)`,
|
|
52
|
-
Neutral100: `var(--md-sys-palette-neutral-100, #fff)`,
|
|
53
|
-
Primary0: `var(--md-sys-palette-primary-0, #000)`,
|
|
54
|
-
Primary10: `var(--md-sys-palette-primary-10, #21005d)`,
|
|
55
|
-
Primary20: `var(--md-sys-palette-primary-20, #381e72)`,
|
|
56
|
-
Primary30: `var(--md-sys-palette-primary-30, #4f378b)`,
|
|
57
|
-
Primary40: `var(--md-sys-palette-primary-40, #6750a4)`,
|
|
58
|
-
Primary50: `var(--md-sys-palette-primary-50, #7f67be)`,
|
|
59
|
-
Primary60: `var(--md-sys-palette-primary-60, #9a82db)`,
|
|
60
|
-
Primary70: `var(--md-sys-palette-primary-70, #b69df8)`,
|
|
61
|
-
Primary80: `var(--md-sys-palette-primary-80, #d0bcff)`,
|
|
62
|
-
Primary90: `var(--md-sys-palette-primary-90, #eaddff)`,
|
|
63
|
-
Primary95: `var(--md-sys-palette-primary-95, #f6edff)`,
|
|
64
|
-
Primary99: `var(--md-sys-palette-primary-99, #fffbfe)`,
|
|
65
|
-
Primary100: `var(--md-sys-palette-primary-100, #fff)`,
|
|
66
|
-
Secondary0: `var(--md-sys-palette-secondary-0, #000)`,
|
|
67
|
-
Secondary10: `var(--md-sys-palette-secondary-10, #1d192b)`,
|
|
68
|
-
Secondary20: `var(--md-sys-palette-secondary-20, #332d41)`,
|
|
69
|
-
Secondary30: `var(--md-sys-palette-secondary-30, #4a4458)`,
|
|
70
|
-
Secondary40: `var(--md-sys-palette-secondary-40, #625b71)`,
|
|
71
|
-
Secondary50: `var(--md-sys-palette-secondary-50, #7a7289)`,
|
|
72
|
-
Secondary60: `var(--md-sys-palette-secondary-60, #958da5)`,
|
|
73
|
-
Secondary70: `var(--md-sys-palette-secondary-70, #b0a7c0)`,
|
|
74
|
-
Secondary80: `var(--md-sys-palette-secondary-80, #ccc2dc)`,
|
|
75
|
-
Secondary90: `var(--md-sys-palette-secondary-90, #e8def8)`,
|
|
76
|
-
Secondary95: `var(--md-sys-palette-secondary-95, #f6edff)`,
|
|
77
|
-
Secondary99: `var(--md-sys-palette-secondary-99, #fffbfe)`,
|
|
78
|
-
Secondary100: `var(--md-sys-palette-secondary-100, #fff)`,
|
|
79
|
-
Tertiary0: `var(--md-sys-palette-tertiary-0, #000)`,
|
|
80
|
-
Tertiary10: `var(--md-sys-palette-tertiary-10, #31111d)`,
|
|
81
|
-
Tertiary20: `var(--md-sys-palette-tertiary-20, #492532)`,
|
|
82
|
-
Tertiary30: `var(--md-sys-palette-tertiary-30, #633b48)`,
|
|
83
|
-
Tertiary40: `var(--md-sys-palette-tertiary-40, #7d5260)`,
|
|
84
|
-
Tertiary50: `var(--md-sys-palette-tertiary-50, #986977)`,
|
|
85
|
-
Tertiary60: `var(--md-sys-palette-tertiary-60, #b58392)`,
|
|
86
|
-
Tertiary70: `var(--md-sys-palette-tertiary-70, #d29dac)`,
|
|
87
|
-
Tertiary80: `var(--md-sys-palette-tertiary-80, #efb8c8)`,
|
|
88
|
-
Tertiary90: `var(--md-sys-palette-tertiary-90, #ffd8e4)`,
|
|
89
|
-
Tertiary95: `var(--md-sys-palette-tertiary-95, #ffecf1)`,
|
|
90
|
-
Tertiary99: `var(--md-sys-palette-tertiary-99, #fffbfa)`,
|
|
91
|
-
Tertiary100: `var(--md-sys-palette-tertiary-100, #fff)`,
|
|
92
|
-
White: `var(--md-sys-palette-white, #fff)`,
|
|
93
|
-
};
|
|
94
|
-
export const DefaultLightColor = {
|
|
1
|
+
import { Palette } from "./palette";
|
|
2
|
+
export const ColorLight = {
|
|
95
3
|
Background: `var(--md-sys-color-background, ${Palette.Neutral98})`,
|
|
96
4
|
Error: `var(--md-sys-color-error, ${Palette.Error40})`,
|
|
97
5
|
ErrorContainer: `var(--md-sys-color-error-container, ${Palette.Error90})`,
|
|
@@ -142,7 +50,7 @@ export const DefaultLightColor = {
|
|
|
142
50
|
TertiaryFixed: `var(--md-sys-color-tertiary-fixed, ${Palette.Tertiary90})`,
|
|
143
51
|
TertiaryFixedDim: `var(--md-sys-color-tertiary-fixed-dim, ${Palette.Tertiary80})`,
|
|
144
52
|
};
|
|
145
|
-
export const
|
|
53
|
+
export const ColorDark = {
|
|
146
54
|
Background: `var(--md-sys-color-background, ${Palette.Neutral6})`,
|
|
147
55
|
Error: `var(--md-sys-color-error, ${Palette.Error80})`,
|
|
148
56
|
ErrorContainer: `var(--md-sys-color-error-container, ${Palette.Error30})`,
|
|
@@ -193,4 +101,54 @@ export const DefaultDarkColor = {
|
|
|
193
101
|
TertiaryFixed: `var(--md-sys-color-tertiary-fixed, ${Palette.Tertiary90})`,
|
|
194
102
|
TertiaryFixedDim: `var(--md-sys-color-tertiary-fixed-dim, ${Palette.Tertiary80})`,
|
|
195
103
|
};
|
|
196
|
-
export const Color =
|
|
104
|
+
export const Color = {
|
|
105
|
+
Background: `var(--md-sys-color-background, light-dark(${Palette.Neutral98}, ${Palette.Neutral6}))`,
|
|
106
|
+
Error: `var(--md-sys-color-error, light-dark(${Palette.Error40}, ${Palette.Error80}))`,
|
|
107
|
+
ErrorContainer: `var(--md-sys-color-error-container, light-dark(${Palette.Error90}, ${Palette.Error30}))`,
|
|
108
|
+
InverseOnSurface: `var(--md-sys-color-inverse-on-surface, light-dark(${Palette.Neutral95}, ${Palette.Neutral20}))`,
|
|
109
|
+
InversePrimary: `var(--md-sys-color-inverse-primary, light-dark(${Palette.Primary80}, ${Palette.Primary40}))`,
|
|
110
|
+
InverseSurface: `var(--md-sys-color-inverse-surface, light-dark(${Palette.Neutral20}, ${Palette.Neutral90}))`,
|
|
111
|
+
OnBackground: `var(--md-sys-color-on-background, light-dark(${Palette.Neutral10}, ${Palette.Neutral90}))`,
|
|
112
|
+
OnError: `var(--md-sys-color-on-error, light-dark(${Palette.Error100}, ${Palette.Error20}))`,
|
|
113
|
+
OnErrorContainer: `var(--md-sys-color-on-error-container, light-dark(${Palette.Error10}, ${Palette.Error90}))`,
|
|
114
|
+
OnPrimary: `var(--md-sys-color-on-primary, light-dark(${Palette.Primary100}, ${Palette.Primary20}))`,
|
|
115
|
+
OnPrimaryContainer: `var(--md-sys-color-on-primary-container, light-dark(${Palette.Primary10}, ${Palette.Primary90}))`,
|
|
116
|
+
OnPrimaryFixed: `var(--md-sys-color-on-primary-fixed, light-dark(${Palette.Primary10}, ${Palette.Primary10}))`,
|
|
117
|
+
OnPrimaryFixedVariant: `var(--md-sys-color-on-primary-fixed-variant, light-dark(${Palette.Primary30}, ${Palette.Primary30}))`,
|
|
118
|
+
OnSecondary: `var(--md-sys-color-on-secondary, light-dark(${Palette.Secondary100}, ${Palette.Secondary20}))`,
|
|
119
|
+
OnSecondaryContainer: `var(--md-sys-color-on-secondary-container, light-dark(${Palette.Secondary10}, ${Palette.Secondary90}))`,
|
|
120
|
+
OnSecondaryFixed: `var(--md-sys-color-on-secondary-fixed, light-dark(${Palette.Secondary10}, ${Palette.Secondary10}))`,
|
|
121
|
+
OnSecondaryFixedVariant: `var(--md-sys-color-on-secondary-fixed-variant, light-dark(${Palette.Secondary30}, ${Palette.Secondary30}))`,
|
|
122
|
+
OnSurface: `var(--md-sys-color-on-surface, light-dark(${Palette.Neutral10}, ${Palette.Neutral90}))`,
|
|
123
|
+
OnSurfaceVariant: `var(--md-sys-color-on-surface-variant, light-dark(${Palette.NeutralVariant30}, ${Palette.NeutralVariant80}))`,
|
|
124
|
+
OnTertiary: `var(--md-sys-color-on-tertiary, light-dark(${Palette.Tertiary100}, ${Palette.Tertiary20}))`,
|
|
125
|
+
OnTertiaryContainer: `var(--md-sys-color-on-tertiary-container, light-dark(${Palette.Tertiary10}, ${Palette.Tertiary90}))`,
|
|
126
|
+
OnTertiaryFixed: `var(--md-sys-color-on-tertiary-fixed, light-dark(${Palette.Tertiary10}, ${Palette.Tertiary10}))`,
|
|
127
|
+
OnTertiaryFixedVariant: `var(--md-sys-color-on-tertiary-fixed-variant, light-dark(${Palette.Tertiary30}, ${Palette.Tertiary30}))`,
|
|
128
|
+
Outline: `var(--md-sys-color-outline, light-dark(${Palette.Neutral50}, ${Palette.Neutral60}))`,
|
|
129
|
+
OutlineVariant: `var(--md-sys-color-outline-variant, light-dark(${Palette.NeutralVariant80}, ${Palette.NeutralVariant30}))`,
|
|
130
|
+
Primary: `var(--md-sys-color-primary, light-dark(${Palette.Primary40}, ${Palette.Primary80}))`,
|
|
131
|
+
PrimaryContainer: `var(--md-sys-color-primary-container, light-dark(${Palette.Primary90}, ${Palette.Primary30}))`,
|
|
132
|
+
PrimaryFixed: `var(--md-sys-color-primary-fixed, light-dark(${Palette.Primary90}, ${Palette.Primary90}))`,
|
|
133
|
+
PrimaryFixedDim: `var(--md-sys-color-primary-fixed-dim, light-dark(${Palette.Primary80}, ${Palette.Primary80}))`,
|
|
134
|
+
Scrim: `var(--md-sys-color-scrim, light-dark(${Palette.Neutral0}, ${Palette.Neutral0}))`,
|
|
135
|
+
Secondary: `var(--md-sys-color-secondary, light-dark(${Palette.Secondary40}, ${Palette.Secondary80}))`,
|
|
136
|
+
SecondaryContainer: `var(--md-sys-color-secondary-container, light-dark(${Palette.Secondary90}, ${Palette.Secondary30}))`,
|
|
137
|
+
SecondaryFixed: `var(--md-sys-color-secondary-fixed, light-dark(${Palette.Secondary90}, ${Palette.Secondary90}))`,
|
|
138
|
+
SecondaryFixedDim: `var(--md-sys-color-secondary-fixed-dim, light-dark(${Palette.Secondary80}, ${Palette.Secondary80}))`,
|
|
139
|
+
Shadow: `var(--md-sys-color-shadow, light-dark(${Palette.Neutral0}, ${Palette.Neutral0}))`,
|
|
140
|
+
Surface: `var(--md-sys-color-surface, light-dark(${Palette.Neutral98}, ${Palette.Neutral6}))`,
|
|
141
|
+
SurfaceBright: `var(--md-sys-color-surface-bright, light-dark(${Palette.Neutral98}, ${Palette.Neutral24}))`,
|
|
142
|
+
SurfaceContainer: `var(--md-sys-color-surface-container, light-dark(${Palette.Neutral94}, ${Palette.Neutral12}))`,
|
|
143
|
+
SurfaceContainerHigh: `var(--md-sys-color-surface-container-high, light-dark(${Palette.Neutral92}, ${Palette.Neutral17}))`,
|
|
144
|
+
SurfaceContainerHighest: `var(--md-sys-color-surface-container-highest, light-dark(${Palette.Neutral90}, ${Palette.Neutral22}))`,
|
|
145
|
+
SurfaceContainerLow: `var(--md-sys-color-surface-container-low, light-dark(${Palette.Neutral96}, ${Palette.Neutral10}))`,
|
|
146
|
+
SurfaceContainerLowest: `var(--md-sys-color-surface-container-lowest, light-dark(${Palette.Neutral100}, ${Palette.Neutral4}))`,
|
|
147
|
+
SurfaceDim: `var(--md-sys-color-surface-dim, light-dark(${Palette.Neutral87}, ${Palette.Neutral6}))`,
|
|
148
|
+
SurfaceTint: `var(--md-sys-color-surface-tint, light-dark(${Palette.Primary40}, ${Palette.Primary80}))`,
|
|
149
|
+
SurfaceVariant: `var(--md-sys-color-surface-variant, light-dark(${Palette.NeutralVariant90}, ${Palette.NeutralVariant30}))`,
|
|
150
|
+
Tertiary: `var(--md-sys-color-tertiary, light-dark(${Palette.Tertiary40}, ${Palette.Tertiary80}))`,
|
|
151
|
+
TertiaryContainer: `var(--md-sys-color-tertiary-container, light-dark(${Palette.Tertiary90}, ${Palette.Tertiary30}))`,
|
|
152
|
+
TertiaryFixed: `var(--md-sys-color-tertiary-fixed, light-dark(${Palette.Tertiary90}, ${Palette.Tertiary90}))`,
|
|
153
|
+
TertiaryFixedDim: `var(--md-sys-color-tertiary-fixed-dim, light-dark(${Palette.Tertiary80}, ${Palette.Tertiary80}))`,
|
|
154
|
+
};
|
|
@@ -27,4 +27,35 @@ export declare abstract class Duration {
|
|
|
27
27
|
static readonly StandardFastEffects = "150ms";
|
|
28
28
|
static readonly StandardDefaultEffects = "200ms";
|
|
29
29
|
static readonly StandardSlowEffects = "300ms";
|
|
30
|
+
static readonly Number: {
|
|
31
|
+
new (): {};
|
|
32
|
+
readonly Short1: 50;
|
|
33
|
+
readonly Short2: 100;
|
|
34
|
+
readonly Short3: 150;
|
|
35
|
+
readonly Short4: 200;
|
|
36
|
+
readonly Medium1: 250;
|
|
37
|
+
readonly Medium2: 300;
|
|
38
|
+
readonly Medium3: 350;
|
|
39
|
+
readonly Medium4: 400;
|
|
40
|
+
readonly Long1: 450;
|
|
41
|
+
readonly Long2: 500;
|
|
42
|
+
readonly Long3: 550;
|
|
43
|
+
readonly Long4: 600;
|
|
44
|
+
readonly ExtraLong1: 700;
|
|
45
|
+
readonly ExtraLong2: 800;
|
|
46
|
+
readonly ExtraLong3: 900;
|
|
47
|
+
readonly ExtraLong4: 1000;
|
|
48
|
+
readonly ExpressiveFastSpatial: 350;
|
|
49
|
+
readonly ExpressiveDefaultSpatial: 500;
|
|
50
|
+
readonly ExpressiveSlowSpatial: 650;
|
|
51
|
+
readonly ExpressiveFastEffects: 150;
|
|
52
|
+
readonly ExpressiveDefaultEffects: 200;
|
|
53
|
+
readonly ExpressiveSlowEffects: 300;
|
|
54
|
+
readonly StandardFastSpatial: 350;
|
|
55
|
+
readonly StandardDefaultSpatial: 500;
|
|
56
|
+
readonly StandardSlowSpatial: 750;
|
|
57
|
+
readonly StandardFastEffects: 150;
|
|
58
|
+
readonly StandardDefaultEffects: 200;
|
|
59
|
+
readonly StandardSlowEffects: 300;
|
|
60
|
+
};
|
|
30
61
|
}
|
|
@@ -27,4 +27,34 @@ export class Duration {
|
|
|
27
27
|
static StandardFastEffects = `150ms`;
|
|
28
28
|
static StandardDefaultEffects = `200ms`;
|
|
29
29
|
static StandardSlowEffects = `300ms`;
|
|
30
|
+
static Number = class {
|
|
31
|
+
static Short1 = 50;
|
|
32
|
+
static Short2 = 100;
|
|
33
|
+
static Short3 = 150;
|
|
34
|
+
static Short4 = 200;
|
|
35
|
+
static Medium1 = 250;
|
|
36
|
+
static Medium2 = 300;
|
|
37
|
+
static Medium3 = 350;
|
|
38
|
+
static Medium4 = 400;
|
|
39
|
+
static Long1 = 450;
|
|
40
|
+
static Long2 = 500;
|
|
41
|
+
static Long3 = 550;
|
|
42
|
+
static Long4 = 600;
|
|
43
|
+
static ExtraLong1 = 700;
|
|
44
|
+
static ExtraLong2 = 800;
|
|
45
|
+
static ExtraLong3 = 900;
|
|
46
|
+
static ExtraLong4 = 1000;
|
|
47
|
+
static ExpressiveFastSpatial = 350;
|
|
48
|
+
static ExpressiveDefaultSpatial = 500;
|
|
49
|
+
static ExpressiveSlowSpatial = 650;
|
|
50
|
+
static ExpressiveFastEffects = 150;
|
|
51
|
+
static ExpressiveDefaultEffects = 200;
|
|
52
|
+
static ExpressiveSlowEffects = 300;
|
|
53
|
+
static StandardFastSpatial = 350;
|
|
54
|
+
static StandardDefaultSpatial = 500;
|
|
55
|
+
static StandardSlowSpatial = 750;
|
|
56
|
+
static StandardFastEffects = 150;
|
|
57
|
+
static StandardDefaultEffects = 200;
|
|
58
|
+
static StandardSlowEffects = 300;
|
|
59
|
+
};
|
|
30
60
|
}
|
|
@@ -21,4 +21,29 @@ export declare abstract class Easing {
|
|
|
21
21
|
static readonly StandardFastEffects = "cubic-bezier(0.31, 0.94, 0.34, 1.00)";
|
|
22
22
|
static readonly StandardDefaultEffects = "cubic-bezier(0.34, 0.80, 0.34, 1.00)";
|
|
23
23
|
static readonly StandardSlowEffects = "cubic-bezier(0.34, 0.88, 0.34, 1.00)";
|
|
24
|
+
static readonly Array: {
|
|
25
|
+
new (): {};
|
|
26
|
+
readonly Standard: number[];
|
|
27
|
+
readonly StandardAccelerate: number[];
|
|
28
|
+
readonly StandardDecelerate: number[];
|
|
29
|
+
readonly Emphasized: number[];
|
|
30
|
+
readonly EmphasizedAccelerate: number[];
|
|
31
|
+
readonly EmphasizedDecelerate: number[];
|
|
32
|
+
readonly Legacy: number[];
|
|
33
|
+
readonly LegacyAccelerate: number[];
|
|
34
|
+
readonly LegacyDecelerate: number[];
|
|
35
|
+
readonly Linear: number[];
|
|
36
|
+
readonly ExpressiveFastSpatial: number[];
|
|
37
|
+
readonly ExpressiveDefaultSpatial: number[];
|
|
38
|
+
readonly ExpressiveSlowSpatial: number[];
|
|
39
|
+
readonly ExpressiveFastEffects: number[];
|
|
40
|
+
readonly ExpressiveDefaultEffects: number[];
|
|
41
|
+
readonly ExpressiveSlowEffects: number[];
|
|
42
|
+
readonly StandardFastSpatial: number[];
|
|
43
|
+
readonly StandardDefaultSpatial: number[];
|
|
44
|
+
readonly StandardSlowSpatial: number[];
|
|
45
|
+
readonly StandardFastEffects: number[];
|
|
46
|
+
readonly StandardDefaultEffects: number[];
|
|
47
|
+
readonly StandardSlowEffects: number[];
|
|
48
|
+
};
|
|
24
49
|
}
|
package/build/modules/easing.js
CHANGED
|
@@ -21,4 +21,28 @@ export class Easing {
|
|
|
21
21
|
static StandardFastEffects = 'cubic-bezier(0.31, 0.94, 0.34, 1.00)';
|
|
22
22
|
static StandardDefaultEffects = 'cubic-bezier(0.34, 0.80, 0.34, 1.00)';
|
|
23
23
|
static StandardSlowEffects = 'cubic-bezier(0.34, 0.88, 0.34, 1.00)';
|
|
24
|
+
static Array = class {
|
|
25
|
+
static Standard = [0.20, 0.00, 0.0, 1.00];
|
|
26
|
+
static StandardAccelerate = [0.30, 0.00, 1.0, 1.00];
|
|
27
|
+
static StandardDecelerate = [0.00, 0.00, 0.0, 1.00];
|
|
28
|
+
static Emphasized = [0.20, 0.00, 0.0, 1.00];
|
|
29
|
+
static EmphasizedAccelerate = [0.30, 0.00, 0.8, 0.15];
|
|
30
|
+
static EmphasizedDecelerate = [0.05, 0.70, 0.1, 1.00];
|
|
31
|
+
static Legacy = [0.40, 0.00, 0.2, 1.00];
|
|
32
|
+
static LegacyAccelerate = [0.40, 0.00, 1.0, 1.00];
|
|
33
|
+
static LegacyDecelerate = [0.00, 0.00, 0.2, 1.00];
|
|
34
|
+
static Linear = [0.00, 0.00, 1.0, 1.00];
|
|
35
|
+
static ExpressiveFastSpatial = [0.42, 1.67, 0.21, 0.90];
|
|
36
|
+
static ExpressiveDefaultSpatial = [0.38, 1.21, 0.22, 1.00];
|
|
37
|
+
static ExpressiveSlowSpatial = [0.39, 1.29, 0.35, 0.98];
|
|
38
|
+
static ExpressiveFastEffects = [0.31, 0.94, 0.34, 1.00];
|
|
39
|
+
static ExpressiveDefaultEffects = [0.34, 0.80, 0.34, 1.00];
|
|
40
|
+
static ExpressiveSlowEffects = [0.34, 0.88, 0.34, 1.00];
|
|
41
|
+
static StandardFastSpatial = [0.27, 1.06, 0.18, 1.00];
|
|
42
|
+
static StandardDefaultSpatial = [0.27, 1.06, 0.18, 1.00];
|
|
43
|
+
static StandardSlowSpatial = [0.27, 1.06, 0.18, 1.00];
|
|
44
|
+
static StandardFastEffects = [0.31, 0.94, 0.34, 1.00];
|
|
45
|
+
static StandardDefaultEffects = [0.34, 0.80, 0.34, 1.00];
|
|
46
|
+
static StandardSlowEffects = [0.34, 0.88, 0.34, 1.00];
|
|
47
|
+
};
|
|
24
48
|
}
|
|
@@ -5,6 +5,15 @@ export declare abstract class ElevationLevel {
|
|
|
5
5
|
static readonly Level3 = "var(--md-sys-elevation-level-3, 6)";
|
|
6
6
|
static readonly Level4 = "var(--md-sys-elevation-level-4, 8)";
|
|
7
7
|
static readonly Level5 = "var(--md-sys-elevation-level-5, 12)";
|
|
8
|
+
static readonly Number: {
|
|
9
|
+
new (): {};
|
|
10
|
+
readonly Level0: 0;
|
|
11
|
+
readonly Level1: 1;
|
|
12
|
+
readonly Level2: 2;
|
|
13
|
+
readonly Level3: 3;
|
|
14
|
+
readonly Level4: 4;
|
|
15
|
+
readonly Level5: 5;
|
|
16
|
+
};
|
|
8
17
|
}
|
|
9
18
|
export declare abstract class ElevationBoxShaodw {
|
|
10
19
|
static readonly Level0 = "box-shadow: none";
|
|
@@ -5,6 +5,14 @@ export class ElevationLevel {
|
|
|
5
5
|
static Level3 = `var(--md-sys-elevation-level-3, 6)`;
|
|
6
6
|
static Level4 = `var(--md-sys-elevation-level-4, 8)`;
|
|
7
7
|
static Level5 = `var(--md-sys-elevation-level-5, 12)`;
|
|
8
|
+
static Number = class {
|
|
9
|
+
static Level0 = 0;
|
|
10
|
+
static Level1 = 1;
|
|
11
|
+
static Level2 = 2;
|
|
12
|
+
static Level3 = 3;
|
|
13
|
+
static Level4 = 4;
|
|
14
|
+
static Level5 = 5;
|
|
15
|
+
};
|
|
8
16
|
}
|
|
9
17
|
export class ElevationBoxShaodw {
|
|
10
18
|
static Level0 = `box-shadow: none`;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export declare const Palette: {
|
|
2
|
+
readonly Black: "var(--md-sys-palette-black, #000)";
|
|
3
|
+
readonly Error0: "var(--md-sys-palette-error-0, #000)";
|
|
4
|
+
readonly Error10: "var(--md-sys-palette-error-10, #410e0b)";
|
|
5
|
+
readonly Error20: "var(--md-sys-palette-error-20, #601410)";
|
|
6
|
+
readonly Error30: "var(--md-sys-palette-error-30, #8c1d18)";
|
|
7
|
+
readonly Error40: "var(--md-sys-palette-error-40, #b3261e)";
|
|
8
|
+
readonly Error50: "var(--md-sys-palette-error-50, #dc362e)";
|
|
9
|
+
readonly Error60: "var(--md-sys-palette-error-60, #e46962)";
|
|
10
|
+
readonly Error70: "var(--md-sys-palette-error-70, #ec928e)";
|
|
11
|
+
readonly Error80: "var(--md-sys-palette-error-80, #f2b8b5)";
|
|
12
|
+
readonly Error90: "var(--md-sys-palette-error-90, #f9dedc)";
|
|
13
|
+
readonly Error95: "var(--md-sys-palette-error-95, #fceeee)";
|
|
14
|
+
readonly Error99: "var(--md-sys-palette-error-99, #fffbf9)";
|
|
15
|
+
readonly Error100: "var(--md-sys-palette-error-100, #fff)";
|
|
16
|
+
readonly NeutralVariant0: "var(--md-sys-palette-neutral-variant-0, #000)";
|
|
17
|
+
readonly NeutralVariant10: "var(--md-sys-palette-neutral-variant-10, #1d1a22)";
|
|
18
|
+
readonly NeutralVariant20: "var(--md-sys-palette-neutral-variant-20, #322f37)";
|
|
19
|
+
readonly NeutralVariant30: "var(--md-sys-palette-neutral-variant-30, #49454f)";
|
|
20
|
+
readonly NeutralVariant40: "var(--md-sys-palette-neutral-variant-40, #605d66)";
|
|
21
|
+
readonly NeutralVariant50: "var(--md-sys-palette-neutral-variant-50, #79747e)";
|
|
22
|
+
readonly NeutralVariant60: "var(--md-sys-palette-neutral-variant-60, #938f99)";
|
|
23
|
+
readonly NeutralVariant70: "var(--md-sys-palette-neutral-variant-70, #aea9b4)";
|
|
24
|
+
readonly NeutralVariant80: "var(--md-sys-palette-neutral-variant-80, #cac4d0)";
|
|
25
|
+
readonly NeutralVariant90: "var(--md-sys-palette-neutral-variant-90, #e7e0ec)";
|
|
26
|
+
readonly NeutralVariant95: "var(--md-sys-palette-neutral-variant-95, #f5eefa)";
|
|
27
|
+
readonly NeutralVariant99: "var(--md-sys-palette-neutral-variant-99, #fffbfe)";
|
|
28
|
+
readonly NeutralVariant100: "var(--md-sys-palette-neutral-variant-100, #fff)";
|
|
29
|
+
readonly Neutral0: "var(--md-sys-palette-neutral-0, #000)";
|
|
30
|
+
readonly Neutral4: "var(--md-sys-palette-neutral-4, #0f0d13)";
|
|
31
|
+
readonly Neutral6: "var(--md-sys-palette-neutral-6, #141218)";
|
|
32
|
+
readonly Neutral10: "var(--md-sys-palette-neutral-10, #1d1b20)";
|
|
33
|
+
readonly Neutral12: "var(--md-sys-palette-neutral-12, #211f26)";
|
|
34
|
+
readonly Neutral17: "var(--md-sys-palette-neutral-17, #2b2930)";
|
|
35
|
+
readonly Neutral20: "var(--md-sys-palette-neutral-20, #322f35)";
|
|
36
|
+
readonly Neutral22: "var(--md-sys-palette-neutral-22, #36343b)";
|
|
37
|
+
readonly Neutral24: "var(--md-sys-palette-neutral-24, #3b383e)";
|
|
38
|
+
readonly Neutral30: "var(--md-sys-palette-neutral-30, #48464c)";
|
|
39
|
+
readonly Neutral40: "var(--md-sys-palette-neutral-40, #605d64)";
|
|
40
|
+
readonly Neutral50: "var(--md-sys-palette-neutral-50, #79767d)";
|
|
41
|
+
readonly Neutral60: "var(--md-sys-palette-neutral-60, #938f96)";
|
|
42
|
+
readonly Neutral70: "var(--md-sys-palette-neutral-70, #aea9b1)";
|
|
43
|
+
readonly Neutral80: "var(--md-sys-palette-neutral-80, #cac5cd)";
|
|
44
|
+
readonly Neutral87: "var(--md-sys-palette-neutral-87, #ded8e1)";
|
|
45
|
+
readonly Neutral90: "var(--md-sys-palette-neutral-90, #e6e0e9)";
|
|
46
|
+
readonly Neutral92: "var(--md-sys-palette-neutral-92, #ece6f0)";
|
|
47
|
+
readonly Neutral94: "var(--md-sys-palette-neutral-94, #f3edf7)";
|
|
48
|
+
readonly Neutral95: "var(--md-sys-palette-neutral-95, #f5eff7)";
|
|
49
|
+
readonly Neutral96: "var(--md-sys-palette-neutral-96, #f7f2fa)";
|
|
50
|
+
readonly Neutral98: "var(--md-sys-palette-neutral-98, #fef7ff)";
|
|
51
|
+
readonly Neutral99: "var(--md-sys-palette-neutral-99, #fffbff)";
|
|
52
|
+
readonly Neutral100: "var(--md-sys-palette-neutral-100, #fff)";
|
|
53
|
+
readonly Primary0: "var(--md-sys-palette-primary-0, #000)";
|
|
54
|
+
readonly Primary10: "var(--md-sys-palette-primary-10, #21005d)";
|
|
55
|
+
readonly Primary20: "var(--md-sys-palette-primary-20, #381e72)";
|
|
56
|
+
readonly Primary30: "var(--md-sys-palette-primary-30, #4f378b)";
|
|
57
|
+
readonly Primary40: "var(--md-sys-palette-primary-40, #6750a4)";
|
|
58
|
+
readonly Primary50: "var(--md-sys-palette-primary-50, #7f67be)";
|
|
59
|
+
readonly Primary60: "var(--md-sys-palette-primary-60, #9a82db)";
|
|
60
|
+
readonly Primary70: "var(--md-sys-palette-primary-70, #b69df8)";
|
|
61
|
+
readonly Primary80: "var(--md-sys-palette-primary-80, #d0bcff)";
|
|
62
|
+
readonly Primary90: "var(--md-sys-palette-primary-90, #eaddff)";
|
|
63
|
+
readonly Primary95: "var(--md-sys-palette-primary-95, #f6edff)";
|
|
64
|
+
readonly Primary99: "var(--md-sys-palette-primary-99, #fffbfe)";
|
|
65
|
+
readonly Primary100: "var(--md-sys-palette-primary-100, #fff)";
|
|
66
|
+
readonly Secondary0: "var(--md-sys-palette-secondary-0, #000)";
|
|
67
|
+
readonly Secondary10: "var(--md-sys-palette-secondary-10, #1d192b)";
|
|
68
|
+
readonly Secondary20: "var(--md-sys-palette-secondary-20, #332d41)";
|
|
69
|
+
readonly Secondary30: "var(--md-sys-palette-secondary-30, #4a4458)";
|
|
70
|
+
readonly Secondary40: "var(--md-sys-palette-secondary-40, #625b71)";
|
|
71
|
+
readonly Secondary50: "var(--md-sys-palette-secondary-50, #7a7289)";
|
|
72
|
+
readonly Secondary60: "var(--md-sys-palette-secondary-60, #958da5)";
|
|
73
|
+
readonly Secondary70: "var(--md-sys-palette-secondary-70, #b0a7c0)";
|
|
74
|
+
readonly Secondary80: "var(--md-sys-palette-secondary-80, #ccc2dc)";
|
|
75
|
+
readonly Secondary90: "var(--md-sys-palette-secondary-90, #e8def8)";
|
|
76
|
+
readonly Secondary95: "var(--md-sys-palette-secondary-95, #f6edff)";
|
|
77
|
+
readonly Secondary99: "var(--md-sys-palette-secondary-99, #fffbfe)";
|
|
78
|
+
readonly Secondary100: "var(--md-sys-palette-secondary-100, #fff)";
|
|
79
|
+
readonly Tertiary0: "var(--md-sys-palette-tertiary-0, #000)";
|
|
80
|
+
readonly Tertiary10: "var(--md-sys-palette-tertiary-10, #31111d)";
|
|
81
|
+
readonly Tertiary20: "var(--md-sys-palette-tertiary-20, #492532)";
|
|
82
|
+
readonly Tertiary30: "var(--md-sys-palette-tertiary-30, #633b48)";
|
|
83
|
+
readonly Tertiary40: "var(--md-sys-palette-tertiary-40, #7d5260)";
|
|
84
|
+
readonly Tertiary50: "var(--md-sys-palette-tertiary-50, #986977)";
|
|
85
|
+
readonly Tertiary60: "var(--md-sys-palette-tertiary-60, #b58392)";
|
|
86
|
+
readonly Tertiary70: "var(--md-sys-palette-tertiary-70, #d29dac)";
|
|
87
|
+
readonly Tertiary80: "var(--md-sys-palette-tertiary-80, #efb8c8)";
|
|
88
|
+
readonly Tertiary90: "var(--md-sys-palette-tertiary-90, #ffd8e4)";
|
|
89
|
+
readonly Tertiary95: "var(--md-sys-palette-tertiary-95, #ffecf1)";
|
|
90
|
+
readonly Tertiary99: "var(--md-sys-palette-tertiary-99, #fffbfa)";
|
|
91
|
+
readonly Tertiary100: "var(--md-sys-palette-tertiary-100, #fff)";
|
|
92
|
+
readonly White: "var(--md-sys-palette-white, #fff)";
|
|
93
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export const Palette = {
|
|
2
|
+
Black: `var(--md-sys-palette-black, #000)`,
|
|
3
|
+
Error0: `var(--md-sys-palette-error-0, #000)`,
|
|
4
|
+
Error10: `var(--md-sys-palette-error-10, #410e0b)`,
|
|
5
|
+
Error20: `var(--md-sys-palette-error-20, #601410)`,
|
|
6
|
+
Error30: `var(--md-sys-palette-error-30, #8c1d18)`,
|
|
7
|
+
Error40: `var(--md-sys-palette-error-40, #b3261e)`,
|
|
8
|
+
Error50: `var(--md-sys-palette-error-50, #dc362e)`,
|
|
9
|
+
Error60: `var(--md-sys-palette-error-60, #e46962)`,
|
|
10
|
+
Error70: `var(--md-sys-palette-error-70, #ec928e)`,
|
|
11
|
+
Error80: `var(--md-sys-palette-error-80, #f2b8b5)`,
|
|
12
|
+
Error90: `var(--md-sys-palette-error-90, #f9dedc)`,
|
|
13
|
+
Error95: `var(--md-sys-palette-error-95, #fceeee)`,
|
|
14
|
+
Error99: `var(--md-sys-palette-error-99, #fffbf9)`,
|
|
15
|
+
Error100: `var(--md-sys-palette-error-100, #fff)`,
|
|
16
|
+
NeutralVariant0: `var(--md-sys-palette-neutral-variant-0, #000)`,
|
|
17
|
+
NeutralVariant10: `var(--md-sys-palette-neutral-variant-10, #1d1a22)`,
|
|
18
|
+
NeutralVariant20: `var(--md-sys-palette-neutral-variant-20, #322f37)`,
|
|
19
|
+
NeutralVariant30: `var(--md-sys-palette-neutral-variant-30, #49454f)`,
|
|
20
|
+
NeutralVariant40: `var(--md-sys-palette-neutral-variant-40, #605d66)`,
|
|
21
|
+
NeutralVariant50: `var(--md-sys-palette-neutral-variant-50, #79747e)`,
|
|
22
|
+
NeutralVariant60: `var(--md-sys-palette-neutral-variant-60, #938f99)`,
|
|
23
|
+
NeutralVariant70: `var(--md-sys-palette-neutral-variant-70, #aea9b4)`,
|
|
24
|
+
NeutralVariant80: `var(--md-sys-palette-neutral-variant-80, #cac4d0)`,
|
|
25
|
+
NeutralVariant90: `var(--md-sys-palette-neutral-variant-90, #e7e0ec)`,
|
|
26
|
+
NeutralVariant95: `var(--md-sys-palette-neutral-variant-95, #f5eefa)`,
|
|
27
|
+
NeutralVariant99: `var(--md-sys-palette-neutral-variant-99, #fffbfe)`,
|
|
28
|
+
NeutralVariant100: `var(--md-sys-palette-neutral-variant-100, #fff)`,
|
|
29
|
+
Neutral0: `var(--md-sys-palette-neutral-0, #000)`,
|
|
30
|
+
Neutral4: `var(--md-sys-palette-neutral-4, #0f0d13)`,
|
|
31
|
+
Neutral6: `var(--md-sys-palette-neutral-6, #141218)`,
|
|
32
|
+
Neutral10: `var(--md-sys-palette-neutral-10, #1d1b20)`,
|
|
33
|
+
Neutral12: `var(--md-sys-palette-neutral-12, #211f26)`,
|
|
34
|
+
Neutral17: `var(--md-sys-palette-neutral-17, #2b2930)`,
|
|
35
|
+
Neutral20: `var(--md-sys-palette-neutral-20, #322f35)`,
|
|
36
|
+
Neutral22: `var(--md-sys-palette-neutral-22, #36343b)`,
|
|
37
|
+
Neutral24: `var(--md-sys-palette-neutral-24, #3b383e)`,
|
|
38
|
+
Neutral30: `var(--md-sys-palette-neutral-30, #48464c)`,
|
|
39
|
+
Neutral40: `var(--md-sys-palette-neutral-40, #605d64)`,
|
|
40
|
+
Neutral50: `var(--md-sys-palette-neutral-50, #79767d)`,
|
|
41
|
+
Neutral60: `var(--md-sys-palette-neutral-60, #938f96)`,
|
|
42
|
+
Neutral70: `var(--md-sys-palette-neutral-70, #aea9b1)`,
|
|
43
|
+
Neutral80: `var(--md-sys-palette-neutral-80, #cac5cd)`,
|
|
44
|
+
Neutral87: `var(--md-sys-palette-neutral-87, #ded8e1)`,
|
|
45
|
+
Neutral90: `var(--md-sys-palette-neutral-90, #e6e0e9)`,
|
|
46
|
+
Neutral92: `var(--md-sys-palette-neutral-92, #ece6f0)`,
|
|
47
|
+
Neutral94: `var(--md-sys-palette-neutral-94, #f3edf7)`,
|
|
48
|
+
Neutral95: `var(--md-sys-palette-neutral-95, #f5eff7)`,
|
|
49
|
+
Neutral96: `var(--md-sys-palette-neutral-96, #f7f2fa)`,
|
|
50
|
+
Neutral98: `var(--md-sys-palette-neutral-98, #fef7ff)`,
|
|
51
|
+
Neutral99: `var(--md-sys-palette-neutral-99, #fffbff)`,
|
|
52
|
+
Neutral100: `var(--md-sys-palette-neutral-100, #fff)`,
|
|
53
|
+
Primary0: `var(--md-sys-palette-primary-0, #000)`,
|
|
54
|
+
Primary10: `var(--md-sys-palette-primary-10, #21005d)`,
|
|
55
|
+
Primary20: `var(--md-sys-palette-primary-20, #381e72)`,
|
|
56
|
+
Primary30: `var(--md-sys-palette-primary-30, #4f378b)`,
|
|
57
|
+
Primary40: `var(--md-sys-palette-primary-40, #6750a4)`,
|
|
58
|
+
Primary50: `var(--md-sys-palette-primary-50, #7f67be)`,
|
|
59
|
+
Primary60: `var(--md-sys-palette-primary-60, #9a82db)`,
|
|
60
|
+
Primary70: `var(--md-sys-palette-primary-70, #b69df8)`,
|
|
61
|
+
Primary80: `var(--md-sys-palette-primary-80, #d0bcff)`,
|
|
62
|
+
Primary90: `var(--md-sys-palette-primary-90, #eaddff)`,
|
|
63
|
+
Primary95: `var(--md-sys-palette-primary-95, #f6edff)`,
|
|
64
|
+
Primary99: `var(--md-sys-palette-primary-99, #fffbfe)`,
|
|
65
|
+
Primary100: `var(--md-sys-palette-primary-100, #fff)`,
|
|
66
|
+
Secondary0: `var(--md-sys-palette-secondary-0, #000)`,
|
|
67
|
+
Secondary10: `var(--md-sys-palette-secondary-10, #1d192b)`,
|
|
68
|
+
Secondary20: `var(--md-sys-palette-secondary-20, #332d41)`,
|
|
69
|
+
Secondary30: `var(--md-sys-palette-secondary-30, #4a4458)`,
|
|
70
|
+
Secondary40: `var(--md-sys-palette-secondary-40, #625b71)`,
|
|
71
|
+
Secondary50: `var(--md-sys-palette-secondary-50, #7a7289)`,
|
|
72
|
+
Secondary60: `var(--md-sys-palette-secondary-60, #958da5)`,
|
|
73
|
+
Secondary70: `var(--md-sys-palette-secondary-70, #b0a7c0)`,
|
|
74
|
+
Secondary80: `var(--md-sys-palette-secondary-80, #ccc2dc)`,
|
|
75
|
+
Secondary90: `var(--md-sys-palette-secondary-90, #e8def8)`,
|
|
76
|
+
Secondary95: `var(--md-sys-palette-secondary-95, #f6edff)`,
|
|
77
|
+
Secondary99: `var(--md-sys-palette-secondary-99, #fffbfe)`,
|
|
78
|
+
Secondary100: `var(--md-sys-palette-secondary-100, #fff)`,
|
|
79
|
+
Tertiary0: `var(--md-sys-palette-tertiary-0, #000)`,
|
|
80
|
+
Tertiary10: `var(--md-sys-palette-tertiary-10, #31111d)`,
|
|
81
|
+
Tertiary20: `var(--md-sys-palette-tertiary-20, #492532)`,
|
|
82
|
+
Tertiary30: `var(--md-sys-palette-tertiary-30, #633b48)`,
|
|
83
|
+
Tertiary40: `var(--md-sys-palette-tertiary-40, #7d5260)`,
|
|
84
|
+
Tertiary50: `var(--md-sys-palette-tertiary-50, #986977)`,
|
|
85
|
+
Tertiary60: `var(--md-sys-palette-tertiary-60, #b58392)`,
|
|
86
|
+
Tertiary70: `var(--md-sys-palette-tertiary-70, #d29dac)`,
|
|
87
|
+
Tertiary80: `var(--md-sys-palette-tertiary-80, #efb8c8)`,
|
|
88
|
+
Tertiary90: `var(--md-sys-palette-tertiary-90, #ffd8e4)`,
|
|
89
|
+
Tertiary95: `var(--md-sys-palette-tertiary-95, #ffecf1)`,
|
|
90
|
+
Tertiary99: `var(--md-sys-palette-tertiary-99, #fffbfa)`,
|
|
91
|
+
Tertiary100: `var(--md-sys-palette-tertiary-100, #fff)`,
|
|
92
|
+
White: `var(--md-sys-palette-white, #fff)`,
|
|
93
|
+
};
|
package/build/modules/shape.d.ts
CHANGED
|
@@ -9,4 +9,16 @@ export declare abstract class Shape {
|
|
|
9
9
|
static readonly ExtraLargeIncreased = "var(--md-sys-shape-corner-extra-large-increased, 32px)";
|
|
10
10
|
static readonly ExtraExtraLarge = "var(--md-sys-shape-corner-extra-extra-large, 48px)";
|
|
11
11
|
static readonly Full = "var(--md-sys-shape-corner-full, calc(infinity * 1px))";
|
|
12
|
+
static readonly Number: {
|
|
13
|
+
new (): {};
|
|
14
|
+
readonly None: 0;
|
|
15
|
+
readonly ExtraSmall: 4;
|
|
16
|
+
readonly Small: 8;
|
|
17
|
+
readonly Medium: 12;
|
|
18
|
+
readonly Large: 16;
|
|
19
|
+
readonly LargeIncreased: 20;
|
|
20
|
+
readonly ExtraLarge: 28;
|
|
21
|
+
readonly ExtraLargeIncreased: 32;
|
|
22
|
+
readonly ExtraExtraLarge: 48;
|
|
23
|
+
};
|
|
12
24
|
}
|
package/build/modules/shape.js
CHANGED
|
@@ -9,4 +9,15 @@ export class Shape {
|
|
|
9
9
|
static ExtraLargeIncreased = `var(--md-sys-shape-corner-extra-large-increased, 32px)`;
|
|
10
10
|
static ExtraExtraLarge = `var(--md-sys-shape-corner-extra-extra-large, 48px)`;
|
|
11
11
|
static Full = `var(--md-sys-shape-corner-full, calc(infinity * 1px))`;
|
|
12
|
+
static Number = class {
|
|
13
|
+
static None = 0;
|
|
14
|
+
static ExtraSmall = 4;
|
|
15
|
+
static Small = 8;
|
|
16
|
+
static Medium = 12;
|
|
17
|
+
static Large = 16;
|
|
18
|
+
static LargeIncreased = 20;
|
|
19
|
+
static ExtraLarge = 28;
|
|
20
|
+
static ExtraLargeIncreased = 32;
|
|
21
|
+
static ExtraExtraLarge = 48;
|
|
22
|
+
};
|
|
12
23
|
}
|
package/build/modules/state.d.ts
CHANGED
|
@@ -7,5 +7,17 @@ export declare abstract class State {
|
|
|
7
7
|
new (): {};
|
|
8
8
|
readonly Thickness: "3px";
|
|
9
9
|
readonly OuterOffset: "2px";
|
|
10
|
+
readonly Number: {
|
|
11
|
+
new (): {};
|
|
12
|
+
readonly Thickness: 3;
|
|
13
|
+
readonly OuterOffset: 2;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
static readonly Number: {
|
|
17
|
+
new (): {};
|
|
18
|
+
readonly DraggedStateLayerOpacity: 0.16;
|
|
19
|
+
readonly FocusedStateLayerOpacity: 0.12;
|
|
20
|
+
readonly HoveredStateLayerOpacity: 0.08;
|
|
21
|
+
readonly PressedStateLayerOpacity: 0.12;
|
|
10
22
|
};
|
|
11
23
|
}
|
package/build/modules/state.js
CHANGED
|
@@ -6,5 +6,15 @@ export class State {
|
|
|
6
6
|
static FocusIndicator = class {
|
|
7
7
|
static Thickness = `3px`;
|
|
8
8
|
static OuterOffset = `2px`;
|
|
9
|
+
static Number = class {
|
|
10
|
+
static Thickness = 3;
|
|
11
|
+
static OuterOffset = 2;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
static Number = class {
|
|
15
|
+
static DraggedStateLayerOpacity = 0.16;
|
|
16
|
+
static FocusedStateLayerOpacity = 0.12;
|
|
17
|
+
static HoveredStateLayerOpacity = 0.08;
|
|
18
|
+
static PressedStateLayerOpacity = 0.12;
|
|
9
19
|
};
|
|
10
20
|
}
|
|
@@ -4,4 +4,10 @@ export declare abstract class Typeface {
|
|
|
4
4
|
static readonly WeightBold = "700";
|
|
5
5
|
static readonly WeightMedium = "500";
|
|
6
6
|
static readonly WeightRegular = "400";
|
|
7
|
+
static readonly Number: {
|
|
8
|
+
new (): {};
|
|
9
|
+
readonly WeightBold: 700;
|
|
10
|
+
readonly WeightMedium: 500;
|
|
11
|
+
readonly WeightRegular: 400;
|
|
12
|
+
};
|
|
7
13
|
}
|