@sandlada/mdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Kai-Orion & Sandlada
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,60 @@
1
+ # @sandlada/mdk
2
+
3
+ `@sandlada/mdk`, Material Design Kit, a JavaScript library based on Material Design 3, providing data such as color, shape, shadow level, etc:
4
+
5
+ + Palette
6
+ + DefaultDarkColor
7
+ + DefaultLightColor
8
+ + Variants
9
+ + ElevationBoxShaodw
10
+ + ElevationLevel
11
+ + ContrastLevel
12
+ + Durations
13
+ + Easings
14
+ + Shapes
15
+
16
+ ## Installation
17
+
18
+ ```shell
19
+ npm i @sandlada/mdk
20
+ ```
21
+
22
+ ## Usage
23
+
24
+ ### Use Color
25
+
26
+ ```typescript
27
+ import { Color } from '@sandlada/mdk'
28
+
29
+ const surface = Color.Surface
30
+
31
+ /**
32
+ * @output
33
+ * ```
34
+ * var(--md-sys-palette-neutral-6, #141218)
35
+ * ```
36
+ */
37
+ console.log(surface)
38
+
39
+ const yourDiv = document.querySelector('body')
40
+ yourDiv.style.setProperty('background-color', surface)
41
+ ```
42
+
43
+ ### Use Shape
44
+
45
+ ```typescript
46
+ import { Shape } from '@sandlada/mdk'
47
+
48
+ const shapeLarge = Shape.Large
49
+
50
+ /**
51
+ * @output
52
+ * ```
53
+ * var(--md-sys-shape-corner-large, 16px)
54
+ * ```
55
+ */
56
+ console.log(shapeLarge)
57
+
58
+ const myBox = document.querySelector('#my-box')
59
+ myBox.style.setProperty('border-radius', shapeLarge)
60
+ ```
@@ -0,0 +1,10 @@
1
+ export * from './modules/color';
2
+ export * from './modules/contrast-level';
3
+ export * from './modules/duration';
4
+ export * from './modules/easing';
5
+ export * from './modules/elevation';
6
+ export * from './modules/shape';
7
+ export * from './modules/state';
8
+ export * from './modules/typeface';
9
+ export * from './modules/typescale';
10
+ export * from './modules/variant';
package/build/index.js ADDED
@@ -0,0 +1,10 @@
1
+ export * from './modules/color';
2
+ export * from './modules/contrast-level';
3
+ export * from './modules/duration';
4
+ export * from './modules/easing';
5
+ export * from './modules/elevation';
6
+ export * from './modules/shape';
7
+ export * from './modules/state';
8
+ export * from './modules/typeface';
9
+ export * from './modules/typescale';
10
+ export * from './modules/variant';
@@ -0,0 +1,246 @@
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
+ };
94
+ export declare const DefaultLightColor: {
95
+ readonly Background: "var(--md-sys-color-background, var(--md-sys-palette-neutral-98, #fef7ff))";
96
+ readonly Error: "var(--md-sys-color-error, var(--md-sys-palette-error-40, #b3261e))";
97
+ readonly ErrorContainer: "var(--md-sys-color-error-container, var(--md-sys-palette-error-90, #f9dedc))";
98
+ readonly InverseOnSurface: "var(--md-sys-color-inverse-on-surface, var(--md-sys-palette-neutral-95, #f5eff7))";
99
+ readonly InversePrimary: "var(--md-sys-color-inverse-primary, var(--md-sys-palette-primary-80, #d0bcff))";
100
+ readonly InverseSurface: "var(--md-sys-color-inverse-surface, var(--md-sys-palette-neutral-20, #322f35))";
101
+ readonly OnBackground: "var(--md-sys-color-on-background, var(--md-sys-palette-neutral-10, #1d1b20))";
102
+ readonly OnError: "var(--md-sys-color-on-error, var(--md-sys-palette-error-100, #fff))";
103
+ readonly OnErrorContainer: "var(--md-sys-color-on-error-container, var(--md-sys-palette-error-10, #410e0b))";
104
+ readonly OnPrimary: "var(--md-sys-color-on-primary, var(--md-sys-palette-primary-100, #fff))";
105
+ readonly OnPrimaryContainer: "var(--md-sys-color-on-primary-container, var(--md-sys-palette-primary-10, #21005d))";
106
+ readonly OnPrimaryFixed: "var(--md-sys-color-on-primary-fixed, var(--md-sys-palette-primary-10, #21005d))";
107
+ readonly OnPrimaryFixedVariant: "var(--md-sys-color-on-primary-fixed-variant, var(--md-sys-palette-primary-30, #4f378b))";
108
+ readonly OnSecondary: "var(--md-sys-color-on-secondary, var(--md-sys-palette-secondary-100, #fff))";
109
+ readonly OnSecondaryContainer: "var(--md-sys-color-on-secondary-container, var(--md-sys-palette-secondary-10, #1d192b))";
110
+ readonly OnSecondaryFixed: "var(--md-sys-color-on-secondary-fixed, var(--md-sys-palette-secondary-10, #1d192b))";
111
+ readonly OnSecondaryFixedVariant: "var(--md-sys-color-on-secondary-fixed-variant, var(--md-sys-palette-secondary-30, #4a4458))";
112
+ readonly OnSurface: "var(--md-sys-color-on-surface, var(--md-sys-palette-neutral-10, #1d1b20))";
113
+ readonly OnSurfaceVariant: "var(--md-sys-color-on-surface-variant, var(--md-sys-palette-neutral-variant-30, #49454f))";
114
+ readonly OnTertiary: "var(--md-sys-color-on-tertiary, var(--md-sys-palette-tertiary-100, #fff))";
115
+ readonly OnTertiaryContainer: "var(--md-sys-color-on-tertiary-container, var(--md-sys-palette-tertiary-10, #31111d))";
116
+ readonly OnTertiaryFixed: "var(--md-sys-color-on-tertiary-fixed, var(--md-sys-palette-tertiary-10, #31111d))";
117
+ readonly OnTertiaryFixedVariant: "var(--md-sys-color-on-tertiary-fixed-variant, var(--md-sys-palette-tertiary-30, #633b48))";
118
+ readonly Outline: "var(--md-sys-color-outline, var(--md-sys-palette-neutral-50, #79767d))";
119
+ readonly OutlineVariant: "var(--md-sys-color-outline-variant, var(--md-sys-palette-neutral-variant-80, #cac4d0))";
120
+ readonly Primary: "var(--md-sys-color-primary, var(--md-sys-palette-primary-40, #6750a4))";
121
+ readonly PrimaryContainer: "var(--md-sys-color-primary-container, var(--md-sys-palette-primary-90, #eaddff))";
122
+ readonly PrimaryFixed: "var(--md-sys-color-primary-fixed, var(--md-sys-palette-primary-90, #eaddff))";
123
+ readonly PrimaryFixedDim: "var(--md-sys-color-primary-fixed-dim, var(--md-sys-palette-primary-80, #d0bcff))";
124
+ readonly Scrim: "var(--md-sys-color-scrim, var(--md-sys-palette-neutral-0, #000))";
125
+ readonly Secondary: "var(--md-sys-color-secondary, var(--md-sys-palette-secondary-40, #625b71))";
126
+ readonly SecondaryContainer: "var(--md-sys-color-secondary-container, var(--md-sys-palette-secondary-90, #e8def8))";
127
+ readonly SecondaryFixed: "var(--md-sys-color-secondary-fixed, var(--md-sys-palette-secondary-90, #e8def8))";
128
+ readonly SecondaryFixedDim: "var(--md-sys-color-secondary-fixed-dim, var(--md-sys-palette-secondary-80, #ccc2dc))";
129
+ readonly Shadow: "var(--md-sys-color-shadow, var(--md-sys-palette-neutral-0, #000))";
130
+ readonly Surface: "var(--md-sys-color-surface, var(--md-sys-palette-neutral-98, #fef7ff))";
131
+ readonly SurfaceBright: "var(--md-sys-color-surface-bright, var(--md-sys-palette-neutral-98, #fef7ff))";
132
+ readonly SurfaceContainer: "var(--md-sys-color-surface-container, var(--md-sys-palette-neutral-94, #f3edf7))";
133
+ readonly SurfaceContainerHigh: "var(--md-sys-color-surface-container-high, var(--md-sys-palette-neutral-92, #ece6f0))";
134
+ readonly SurfaceContainerHighest: "var(--md-sys-color-surface-container-highest, var(--md-sys-palette-neutral-90, #e6e0e9))";
135
+ readonly SurfaceContainerLow: "var(--md-sys-color-surface-container-low, var(--md-sys-palette-neutral-96, #f7f2fa))";
136
+ readonly SurfaceContainerLowest: "var(--md-sys-color-surface-container-lowest, var(--md-sys-palette-neutral-100, #fff))";
137
+ readonly SurfaceDim: "var(--md-sys-color-surface-dim, var(--md-sys-palette-neutral-87, #ded8e1))";
138
+ readonly SurfaceTint: "var(--md-sys-color-surface-tint, var(--md-sys-palette-primary-40, #6750a4))";
139
+ readonly SurfaceVariant: "var(--md-sys-color-surface-variant, var(--md-sys-palette-neutral-variant-90, #e7e0ec)";
140
+ readonly Tertiary: "var(--md-sys-color-tertiary, var(--md-sys-palette-tertiary-40, #7d5260))";
141
+ readonly TertiaryContainer: "var(--md-sys-color-tertiary-container, var(--md-sys-palette-tertiary-90, #ffd8e4))";
142
+ readonly TertiaryFixed: "var(--md-sys-color-tertiary-fixed, var(--md-sys-palette-tertiary-90, #ffd8e4))";
143
+ readonly TertiaryFixedDim: "var(--md-sys-color-tertiary-fixed-dim, var(--md-sys-palette-tertiary-80, #efb8c8))";
144
+ };
145
+ export declare const DefaultDarkColor: {
146
+ readonly Background: "var(--md-sys-color-background, var(--md-sys-palette-neutral-6, #141218))";
147
+ readonly Error: "var(--md-sys-color-error, var(--md-sys-palette-error-80, #f2b8b5))";
148
+ readonly ErrorContainer: "var(--md-sys-color-error-container, var(--md-sys-palette-error-30, #8c1d18))";
149
+ readonly InverseOnSurface: "var(--md-sys-color-inverse-on-surface, var(--md-sys-palette-neutral-20, #322f35))";
150
+ readonly InversePrimary: "var(--md-sys-color-inverse-primary, var(--md-sys-palette-primary-40, #6750a4))";
151
+ readonly InverseSurface: "var(--md-sys-color-inverse-surface, var(--md-sys-palette-neutral-90, #e6e0e9))";
152
+ readonly OnBackground: "var(--md-sys-color-on-background, var(--md-sys-palette-neutral-90, #e6e0e9))";
153
+ readonly OnError: "var(--md-sys-color-on-error, var(--md-sys-palette-error-20, #601410))";
154
+ readonly OnErrorContainer: "var(--md-sys-color-on-error-container, var(--md-sys-palette-error-90, #f9dedc))";
155
+ readonly OnPrimary: "var(--md-sys-color-on-primary, var(--md-sys-palette-primary-20, #381e72))";
156
+ readonly OnPrimaryContainer: "var(--md-sys-color-on-primary-container, var(--md-sys-palette-primary-90, #eaddff))";
157
+ readonly OnPrimaryFixed: "var(--md-sys-color-on-primary-fixed, var(--md-sys-palette-primary-10, #21005d))";
158
+ readonly OnPrimaryFixedVariant: "var(--md-sys-color-on-primary-fixed-variant, var(--md-sys-palette-primary-30, #4f378b))";
159
+ readonly OnSecondary: "var(--md-sys-color-on-secondary, var(--md-sys-palette-secondary-20, #332d41))";
160
+ readonly OnSecondaryContainer: "var(--md-sys-color-on-secondary-container, var(--md-sys-palette-secondary-90, #e8def8))";
161
+ readonly OnSecondaryFixed: "var(--md-sys-color-on-secondary-fixed, var(--md-sys-palette-secondary-10, #1d192b))";
162
+ readonly OnSecondaryFixedVariant: "var(--md-sys-color-on-secondary-fixed-variant, var(--md-sys-palette-secondary-30, #4a4458))";
163
+ readonly OnSurface: "var(--md-sys-color-on-surface, var(--md-sys-palette-neutral-90, #e6e0e9))";
164
+ readonly OnSurfaceVariant: "var(--md-sys-color-on-surface-variant, var(--md-sys-palette-neutral-variant-80, #cac4d0))";
165
+ readonly OnTertiary: "var(--md-sys-color-on-tertiary, var(--md-sys-palette-tertiary-20, #492532))";
166
+ readonly OnTertiaryContainer: "var(--md-sys-color-on-tertiary-container, var(--md-sys-palette-tertiary-90, #ffd8e4))";
167
+ readonly OnTertiaryFixed: "var(--md-sys-color-on-tertiary-fixed, var(--md-sys-palette-tertiary-10, #31111d))";
168
+ readonly OnTertiaryFixedVariant: "var(--md-sys-color-on-tertiary-fixed-variant, var(--md-sys-palette-tertiary-30, #633b48))";
169
+ readonly Outline: "var(--md-sys-color-outline, var(--md-sys-palette-neutral-60, #938f96))";
170
+ readonly OutlineVariant: "var(--md-sys-color-outline-variant, var(--md-sys-palette-neutral-variant-30, #49454f))";
171
+ readonly Primary: "var(--md-sys-color-primary, var(--md-sys-palette-primary-80, #d0bcff))";
172
+ readonly PrimaryContainer: "var(--md-sys-color-primary-container, var(--md-sys-palette-primary-30, #4f378b))";
173
+ readonly PrimaryFixed: "var(--md-sys-color-primary-fixed, var(--md-sys-palette-primary-90, #eaddff))";
174
+ readonly PrimaryFixedDim: "var(--md-sys-color-primary-fixed-dim, var(--md-sys-palette-primary-80, #d0bcff))";
175
+ readonly Scrim: "var(--md-sys-color-scrim, var(--md-sys-palette-neutral-0, #000))";
176
+ readonly Secondary: "var(--md-sys-color-secondary, var(--md-sys-palette-secondary-80, #ccc2dc))";
177
+ readonly SecondaryContainer: "var(--md-sys-color-secondary-container, var(--md-sys-palette-secondary-30, #4a4458))";
178
+ readonly SecondaryFixed: "var(--md-sys-color-secondary-fixed, var(--md-sys-palette-secondary-90, #e8def8))";
179
+ readonly SecondaryFixedDim: "var(--md-sys-color-secondary-fixed-dim, var(--md-sys-palette-secondary-80, #ccc2dc))";
180
+ readonly Shadow: "var(--md-sys-color-shadow, var(--md-sys-palette-neutral-0, #000))";
181
+ readonly Surface: "var(--md-sys-color-surface, var(--md-sys-palette-neutral-6, #141218))";
182
+ readonly SurfaceBright: "var(--md-sys-color-surface-bright, var(--md-sys-palette-neutral-24, #3b383e))";
183
+ readonly SurfaceContainer: "var(--md-sys-color-surface-container, var(--md-sys-palette-neutral-12, #211f26))";
184
+ readonly SurfaceContainerHigh: "var(--md-sys-color-surface-container-high, var(--md-sys-palette-neutral-17, #2b2930))";
185
+ readonly SurfaceContainerHighest: "var(--md-sys-color-surface-container-highest, var(--md-sys-palette-neutral-22, #36343b))";
186
+ readonly SurfaceContainerLow: "var(--md-sys-color-surface-container-low, var(--md-sys-palette-neutral-10, #1d1b20))";
187
+ readonly SurfaceContainerLowest: "var(--md-sys-color-surface-container-lowest, var(--md-sys-palette-neutral-4, #0f0d13))";
188
+ readonly SurfaceDim: "var(--md-sys-color-surface-dim, var(--md-sys-palette-neutral-6, #141218))";
189
+ readonly SurfaceTint: "var(--md-sys-color-surface-tint, var(--md-sys-palette-primary-80, #d0bcff))";
190
+ readonly SurfaceVariant: "var(--md-sys-color-surface-variant, var(--md-sys-palette-neutral-variant-30, #49454f)";
191
+ readonly Tertiary: "var(--md-sys-color-tertiary, var(--md-sys-palette-tertiary-80, #efb8c8))";
192
+ readonly TertiaryContainer: "var(--md-sys-color-tertiary-container, var(--md-sys-palette-tertiary-30, #633b48))";
193
+ readonly TertiaryFixed: "var(--md-sys-color-tertiary-fixed, var(--md-sys-palette-tertiary-90, #ffd8e4))";
194
+ readonly TertiaryFixedDim: "var(--md-sys-color-tertiary-fixed-dim, var(--md-sys-palette-tertiary-80, #efb8c8))";
195
+ };
196
+ 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))";
246
+ };
@@ -0,0 +1,196 @@
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
+ };
94
+ export const DefaultLightColor = {
95
+ Background: `var(--md-sys-color-background, ${Palette.Neutral98})`,
96
+ Error: `var(--md-sys-color-error, ${Palette.Error40})`,
97
+ ErrorContainer: `var(--md-sys-color-error-container, ${Palette.Error90})`,
98
+ InverseOnSurface: `var(--md-sys-color-inverse-on-surface, ${Palette.Neutral95})`,
99
+ InversePrimary: `var(--md-sys-color-inverse-primary, ${Palette.Primary80})`,
100
+ InverseSurface: `var(--md-sys-color-inverse-surface, ${Palette.Neutral20})`,
101
+ OnBackground: `var(--md-sys-color-on-background, ${Palette.Neutral10})`,
102
+ OnError: `var(--md-sys-color-on-error, ${Palette.Error100})`,
103
+ OnErrorContainer: `var(--md-sys-color-on-error-container, ${Palette.Error10})`,
104
+ OnPrimary: `var(--md-sys-color-on-primary, ${Palette.Primary100})`,
105
+ OnPrimaryContainer: `var(--md-sys-color-on-primary-container, ${Palette.Primary10})`,
106
+ OnPrimaryFixed: `var(--md-sys-color-on-primary-fixed, ${Palette.Primary10})`,
107
+ OnPrimaryFixedVariant: `var(--md-sys-color-on-primary-fixed-variant, ${Palette.Primary30})`,
108
+ OnSecondary: `var(--md-sys-color-on-secondary, ${Palette.Secondary100})`,
109
+ OnSecondaryContainer: `var(--md-sys-color-on-secondary-container, ${Palette.Secondary10})`,
110
+ OnSecondaryFixed: `var(--md-sys-color-on-secondary-fixed, ${Palette.Secondary10})`,
111
+ OnSecondaryFixedVariant: `var(--md-sys-color-on-secondary-fixed-variant, ${Palette.Secondary30})`,
112
+ OnSurface: `var(--md-sys-color-on-surface, ${Palette.Neutral10})`,
113
+ OnSurfaceVariant: `var(--md-sys-color-on-surface-variant, ${Palette.NeutralVariant30})`,
114
+ OnTertiary: `var(--md-sys-color-on-tertiary, ${Palette.Tertiary100})`,
115
+ OnTertiaryContainer: `var(--md-sys-color-on-tertiary-container, ${Palette.Tertiary10})`,
116
+ OnTertiaryFixed: `var(--md-sys-color-on-tertiary-fixed, ${Palette.Tertiary10})`,
117
+ OnTertiaryFixedVariant: `var(--md-sys-color-on-tertiary-fixed-variant, ${Palette.Tertiary30})`,
118
+ Outline: `var(--md-sys-color-outline, ${Palette.Neutral50})`,
119
+ OutlineVariant: `var(--md-sys-color-outline-variant, ${Palette.NeutralVariant80})`,
120
+ Primary: `var(--md-sys-color-primary, ${Palette.Primary40})`,
121
+ PrimaryContainer: `var(--md-sys-color-primary-container, ${Palette.Primary90})`,
122
+ PrimaryFixed: `var(--md-sys-color-primary-fixed, ${Palette.Primary90})`,
123
+ PrimaryFixedDim: `var(--md-sys-color-primary-fixed-dim, ${Palette.Primary80})`,
124
+ Scrim: `var(--md-sys-color-scrim, ${Palette.Neutral0})`,
125
+ Secondary: `var(--md-sys-color-secondary, ${Palette.Secondary40})`,
126
+ SecondaryContainer: `var(--md-sys-color-secondary-container, ${Palette.Secondary90})`,
127
+ SecondaryFixed: `var(--md-sys-color-secondary-fixed, ${Palette.Secondary90})`,
128
+ SecondaryFixedDim: `var(--md-sys-color-secondary-fixed-dim, ${Palette.Secondary80})`,
129
+ Shadow: `var(--md-sys-color-shadow, ${Palette.Neutral0})`,
130
+ Surface: `var(--md-sys-color-surface, ${Palette.Neutral98})`,
131
+ SurfaceBright: `var(--md-sys-color-surface-bright, ${Palette.Neutral98})`,
132
+ SurfaceContainer: `var(--md-sys-color-surface-container, ${Palette.Neutral94})`,
133
+ SurfaceContainerHigh: `var(--md-sys-color-surface-container-high, ${Palette.Neutral92})`,
134
+ SurfaceContainerHighest: `var(--md-sys-color-surface-container-highest, ${Palette.Neutral90})`,
135
+ SurfaceContainerLow: `var(--md-sys-color-surface-container-low, ${Palette.Neutral96})`,
136
+ SurfaceContainerLowest: `var(--md-sys-color-surface-container-lowest, ${Palette.Neutral100})`,
137
+ SurfaceDim: `var(--md-sys-color-surface-dim, ${Palette.Neutral87})`,
138
+ SurfaceTint: `var(--md-sys-color-surface-tint, ${Palette.Primary40})`,
139
+ SurfaceVariant: `var(--md-sys-color-surface-variant, ${Palette.NeutralVariant90}`,
140
+ Tertiary: `var(--md-sys-color-tertiary, ${Palette.Tertiary40})`,
141
+ TertiaryContainer: `var(--md-sys-color-tertiary-container, ${Palette.Tertiary90})`,
142
+ TertiaryFixed: `var(--md-sys-color-tertiary-fixed, ${Palette.Tertiary90})`,
143
+ TertiaryFixedDim: `var(--md-sys-color-tertiary-fixed-dim, ${Palette.Tertiary80})`,
144
+ };
145
+ export const DefaultDarkColor = {
146
+ Background: `var(--md-sys-color-background, ${Palette.Neutral6})`,
147
+ Error: `var(--md-sys-color-error, ${Palette.Error80})`,
148
+ ErrorContainer: `var(--md-sys-color-error-container, ${Palette.Error30})`,
149
+ InverseOnSurface: `var(--md-sys-color-inverse-on-surface, ${Palette.Neutral20})`,
150
+ InversePrimary: `var(--md-sys-color-inverse-primary, ${Palette.Primary40})`,
151
+ InverseSurface: `var(--md-sys-color-inverse-surface, ${Palette.Neutral90})`,
152
+ OnBackground: `var(--md-sys-color-on-background, ${Palette.Neutral90})`,
153
+ OnError: `var(--md-sys-color-on-error, ${Palette.Error20})`,
154
+ OnErrorContainer: `var(--md-sys-color-on-error-container, ${Palette.Error90})`,
155
+ OnPrimary: `var(--md-sys-color-on-primary, ${Palette.Primary20})`,
156
+ OnPrimaryContainer: `var(--md-sys-color-on-primary-container, ${Palette.Primary90})`,
157
+ OnPrimaryFixed: `var(--md-sys-color-on-primary-fixed, ${Palette.Primary10})`,
158
+ OnPrimaryFixedVariant: `var(--md-sys-color-on-primary-fixed-variant, ${Palette.Primary30})`,
159
+ OnSecondary: `var(--md-sys-color-on-secondary, ${Palette.Secondary20})`,
160
+ OnSecondaryContainer: `var(--md-sys-color-on-secondary-container, ${Palette.Secondary90})`,
161
+ OnSecondaryFixed: `var(--md-sys-color-on-secondary-fixed, ${Palette.Secondary10})`,
162
+ OnSecondaryFixedVariant: `var(--md-sys-color-on-secondary-fixed-variant, ${Palette.Secondary30})`,
163
+ OnSurface: `var(--md-sys-color-on-surface, ${Palette.Neutral90})`,
164
+ OnSurfaceVariant: `var(--md-sys-color-on-surface-variant, ${Palette.NeutralVariant80})`,
165
+ OnTertiary: `var(--md-sys-color-on-tertiary, ${Palette.Tertiary20})`,
166
+ OnTertiaryContainer: `var(--md-sys-color-on-tertiary-container, ${Palette.Tertiary90})`,
167
+ OnTertiaryFixed: `var(--md-sys-color-on-tertiary-fixed, ${Palette.Tertiary10})`,
168
+ OnTertiaryFixedVariant: `var(--md-sys-color-on-tertiary-fixed-variant, ${Palette.Tertiary30})`,
169
+ Outline: `var(--md-sys-color-outline, ${Palette.Neutral60})`,
170
+ OutlineVariant: `var(--md-sys-color-outline-variant, ${Palette.NeutralVariant30})`,
171
+ Primary: `var(--md-sys-color-primary, ${Palette.Primary80})`,
172
+ PrimaryContainer: `var(--md-sys-color-primary-container, ${Palette.Primary30})`,
173
+ PrimaryFixed: `var(--md-sys-color-primary-fixed, ${Palette.Primary90})`,
174
+ PrimaryFixedDim: `var(--md-sys-color-primary-fixed-dim, ${Palette.Primary80})`,
175
+ Scrim: `var(--md-sys-color-scrim, ${Palette.Neutral0})`,
176
+ Secondary: `var(--md-sys-color-secondary, ${Palette.Secondary80})`,
177
+ SecondaryContainer: `var(--md-sys-color-secondary-container, ${Palette.Secondary30})`,
178
+ SecondaryFixed: `var(--md-sys-color-secondary-fixed, ${Palette.Secondary90})`,
179
+ SecondaryFixedDim: `var(--md-sys-color-secondary-fixed-dim, ${Palette.Secondary80})`,
180
+ Shadow: `var(--md-sys-color-shadow, ${Palette.Neutral0})`,
181
+ Surface: `var(--md-sys-color-surface, ${Palette.Neutral6})`,
182
+ SurfaceBright: `var(--md-sys-color-surface-bright, ${Palette.Neutral24})`,
183
+ SurfaceContainer: `var(--md-sys-color-surface-container, ${Palette.Neutral12})`,
184
+ SurfaceContainerHigh: `var(--md-sys-color-surface-container-high, ${Palette.Neutral17})`,
185
+ SurfaceContainerHighest: `var(--md-sys-color-surface-container-highest, ${Palette.Neutral22})`,
186
+ SurfaceContainerLow: `var(--md-sys-color-surface-container-low, ${Palette.Neutral10})`,
187
+ SurfaceContainerLowest: `var(--md-sys-color-surface-container-lowest, ${Palette.Neutral4})`,
188
+ SurfaceDim: `var(--md-sys-color-surface-dim, ${Palette.Neutral6})`,
189
+ SurfaceTint: `var(--md-sys-color-surface-tint, ${Palette.Primary80})`,
190
+ SurfaceVariant: `var(--md-sys-color-surface-variant, ${Palette.NeutralVariant30}`,
191
+ Tertiary: `var(--md-sys-color-tertiary, ${Palette.Tertiary80})`,
192
+ TertiaryContainer: `var(--md-sys-color-tertiary-container, ${Palette.Tertiary30})`,
193
+ TertiaryFixed: `var(--md-sys-color-tertiary-fixed, ${Palette.Tertiary90})`,
194
+ TertiaryFixedDim: `var(--md-sys-color-tertiary-fixed-dim, ${Palette.Tertiary80})`,
195
+ };
196
+ export const Color = DefaultLightColor;
@@ -0,0 +1,6 @@
1
+ export declare abstract class ContrastLevel {
2
+ static readonly Reduced = -1;
3
+ static readonly Default = 0;
4
+ static readonly Medium = 0.5;
5
+ static readonly High = 1;
6
+ }
@@ -0,0 +1,6 @@
1
+ export class ContrastLevel {
2
+ static Reduced = -1;
3
+ static Default = 0;
4
+ static Medium = 0.5;
5
+ static High = 1;
6
+ }
@@ -0,0 +1,30 @@
1
+ export declare abstract class MotionDuration {
2
+ static readonly Short1 = "50ms";
3
+ static readonly Short2 = "100ms";
4
+ static readonly Short3 = "150ms";
5
+ static readonly Short4 = "200ms";
6
+ static readonly Medium1 = "250ms";
7
+ static readonly Medium2 = "300ms";
8
+ static readonly Medium3 = "350ms";
9
+ static readonly Medium4 = "400ms";
10
+ static readonly Long1 = "450ms";
11
+ static readonly Long2 = "500ms";
12
+ static readonly Long3 = "550ms";
13
+ static readonly Long4 = "600ms";
14
+ static readonly ExtraLong1 = "700ms";
15
+ static readonly ExtraLong2 = "800ms";
16
+ static readonly ExtraLong3 = "900ms";
17
+ static readonly ExtraLong4 = "1000ms";
18
+ static readonly ExpressiveFastSpatial = "350ms";
19
+ static readonly ExpressiveDefaultSpatial = "500ms";
20
+ static readonly ExpressiveSlowSpatial = "650ms";
21
+ static readonly ExpressiveFastEffects = "150ms";
22
+ static readonly ExpressiveDefaultEffects = "200ms";
23
+ static readonly ExpressiveSlowEffects = "300ms";
24
+ static readonly StandardFastSpatial = "350ms";
25
+ static readonly StandardDefaultSpatial = "500ms";
26
+ static readonly StandardSlowSpatial = "750ms";
27
+ static readonly StandardFastEffects = "150ms";
28
+ static readonly StandardDefaultEffects = "200ms";
29
+ static readonly StandardSlowEffects = "300ms";
30
+ }
@@ -0,0 +1,30 @@
1
+ export class MotionDuration {
2
+ static Short1 = '50ms';
3
+ static Short2 = '100ms';
4
+ static Short3 = '150ms';
5
+ static Short4 = '200ms';
6
+ static Medium1 = '250ms';
7
+ static Medium2 = '300ms';
8
+ static Medium3 = '350ms';
9
+ static Medium4 = '400ms';
10
+ static Long1 = '450ms';
11
+ static Long2 = '500ms';
12
+ static Long3 = '550ms';
13
+ static Long4 = '600ms';
14
+ static ExtraLong1 = '700ms';
15
+ static ExtraLong2 = '800ms';
16
+ static ExtraLong3 = '900ms';
17
+ static ExtraLong4 = '1000ms';
18
+ static ExpressiveFastSpatial = `350ms`;
19
+ static ExpressiveDefaultSpatial = `500ms`;
20
+ static ExpressiveSlowSpatial = `650ms`;
21
+ static ExpressiveFastEffects = `150ms`;
22
+ static ExpressiveDefaultEffects = `200ms`;
23
+ static ExpressiveSlowEffects = `300ms`;
24
+ static StandardFastSpatial = `350ms`;
25
+ static StandardDefaultSpatial = `500ms`;
26
+ static StandardSlowSpatial = `750ms`;
27
+ static StandardFastEffects = `150ms`;
28
+ static StandardDefaultEffects = `200ms`;
29
+ static StandardSlowEffects = `300ms`;
30
+ }
@@ -0,0 +1,24 @@
1
+ export declare abstract class MotionEasing {
2
+ static readonly Standard = "cubic-bezier(0.20, 0.00, 0.0, 1.00)";
3
+ static readonly StandardAccelerate = "cubic-bezier(0.30, 0.00, 1.0, 1.00)";
4
+ static readonly StandardDecelerate = "cubic-bezier(0.00, 0.00, 0.0, 1.00)";
5
+ static readonly Emphasized = "cubic-bezier(0.20, 0.00, 0.0, 1.00)";
6
+ static readonly EmphasizedAccelerate = "cubic-bezier(0.30, 0.00, 0.8, 0.15)";
7
+ static readonly EmphasizedDecelerate = "cubic-bezier(0.05, 0.70, 0.1, 1.00)";
8
+ static readonly Legacy = "cubic-bezier(0.40, 0.00, 0.2, 1.00)";
9
+ static readonly LegacyAccelerate = "cubic-bezier(0.40, 0.00, 1.0, 1.00)";
10
+ static readonly LegacyDecelerate = "cubic-bezier(0.00, 0.00, 0.2, 1.00)";
11
+ static readonly Linear = "cubic-bezier(0.00, 0.00, 1.0, 1.00)";
12
+ static readonly ExpressiveFastSpatial: `cubic-bezier(0.42, 1.67, 0.21, 0.90)`;
13
+ static readonly ExpressiveDefaultSpatial: `cubic-bezier(0.38, 1.21, 0.22, 1.00)`;
14
+ static readonly ExpressiveSlowSpatial: `cubic-bezier(0.39, 1.29, 0.35, 0.98)`;
15
+ static readonly ExpressiveFastEffects: `cubic-bezier(0.31, 0.94, 0.34, 1.00)`;
16
+ static readonly ExpressiveDefaultEffects: `cubic-bezier(0.34, 0.80, 0.34, 1.00)`;
17
+ static readonly ExpressiveSlowEffects: `cubic-bezier(0.34, 0.88, 0.34, 1.00)`;
18
+ static readonly StandardFastSpatial: `cubic-bezier(0.27, 1.06, 0.18, 1.00)`;
19
+ static readonly StandardDefaultSpatial: `cubic-bezier(0.27, 1.06, 0.18, 1.00)`;
20
+ static readonly StandardSlowSpatial: `cubic-bezier(0.27, 1.06, 0.18, 1.00)`;
21
+ static readonly StandardFastEffects: `cubic-bezier(0.31, 0.94, 0.34, 1.00)`;
22
+ static readonly StandardDefaultEffects: `cubic-bezier(0.34, 0.80, 0.34, 1.00)`;
23
+ static readonly StandardSlowEffects: `cubic-bezier(0.34, 0.88, 0.34, 1.00)`;
24
+ }
@@ -0,0 +1,24 @@
1
+ export class MotionEasing {
2
+ static Standard = 'cubic-bezier(0.20, 0.00, 0.0, 1.00)';
3
+ static StandardAccelerate = 'cubic-bezier(0.30, 0.00, 1.0, 1.00)';
4
+ static StandardDecelerate = 'cubic-bezier(0.00, 0.00, 0.0, 1.00)';
5
+ static Emphasized = 'cubic-bezier(0.20, 0.00, 0.0, 1.00)';
6
+ static EmphasizedAccelerate = 'cubic-bezier(0.30, 0.00, 0.8, 0.15)';
7
+ static EmphasizedDecelerate = 'cubic-bezier(0.05, 0.70, 0.1, 1.00)';
8
+ static Legacy = 'cubic-bezier(0.40, 0.00, 0.2, 1.00)';
9
+ static LegacyAccelerate = 'cubic-bezier(0.40, 0.00, 1.0, 1.00)';
10
+ static LegacyDecelerate = 'cubic-bezier(0.00, 0.00, 0.2, 1.00)';
11
+ static Linear = 'cubic-bezier(0.00, 0.00, 1.0, 1.00)';
12
+ static ExpressiveFastSpatial;
13
+ static ExpressiveDefaultSpatial;
14
+ static ExpressiveSlowSpatial;
15
+ static ExpressiveFastEffects;
16
+ static ExpressiveDefaultEffects;
17
+ static ExpressiveSlowEffects;
18
+ static StandardFastSpatial;
19
+ static StandardDefaultSpatial;
20
+ static StandardSlowSpatial;
21
+ static StandardFastEffects;
22
+ static StandardDefaultEffects;
23
+ static StandardSlowEffects;
24
+ }
@@ -0,0 +1,16 @@
1
+ export declare abstract class ElevationLevel {
2
+ static readonly Level0 = "var(md-sys-shape-corner-level-0, 0)";
3
+ static readonly Level1 = "var(md-sys-shape-corner-level-1, 1)";
4
+ static readonly Level2 = "var(md-sys-shape-corner-level-2, 3)";
5
+ static readonly Level3 = "var(md-sys-shape-corner-level-3, 6)";
6
+ static readonly Level4 = "var(md-sys-shape-corner-level-4, 8)";
7
+ static readonly Level5 = "var(md-sys-shape-corner-level-5, 12)";
8
+ }
9
+ export declare abstract class ElevationBoxShaodw {
10
+ static readonly Level0 = "box-shadow: none";
11
+ static readonly Level1 = "box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px";
12
+ static readonly Level2 = "box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px";
13
+ static readonly Level3 = "box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px";
14
+ static readonly Level4 = "box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px";
15
+ static readonly Level5 = "box-shadow: rgba(0, 0, 0, 0.2) 0px 7px 8px -4px, rgba(0, 0, 0, 0.14) 0px 12px 17px 2px, rgba(0, 0, 0, 0.12) 0px 5px 22px 4px";
16
+ }
@@ -0,0 +1,16 @@
1
+ export class ElevationLevel {
2
+ static Level0 = `var(md-sys-shape-corner-level-0, 0)`;
3
+ static Level1 = `var(md-sys-shape-corner-level-1, 1)`;
4
+ static Level2 = `var(md-sys-shape-corner-level-2, 3)`;
5
+ static Level3 = `var(md-sys-shape-corner-level-3, 6)`;
6
+ static Level4 = `var(md-sys-shape-corner-level-4, 8)`;
7
+ static Level5 = `var(md-sys-shape-corner-level-5, 12)`;
8
+ }
9
+ export class ElevationBoxShaodw {
10
+ static Level0 = `box-shadow: none`;
11
+ static Level1 = `box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px`;
12
+ static Level2 = `box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px`;
13
+ static Level3 = `box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px`;
14
+ static Level4 = `box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px`;
15
+ static Level5 = `box-shadow: rgba(0, 0, 0, 0.2) 0px 7px 8px -4px, rgba(0, 0, 0, 0.14) 0px 12px 17px 2px, rgba(0, 0, 0, 0.12) 0px 5px 22px 4px`;
16
+ }
@@ -0,0 +1,12 @@
1
+ export declare abstract class Shapes {
2
+ static readonly None = "var(--md-sys-shape-corner-none, 0px)";
3
+ static readonly ExtraSmall = "var(--md-sys-shape-corner-extra-small, 4px)";
4
+ static readonly Small = "var(--md-sys-shape-corner-small, 8px)";
5
+ static readonly Medium = "var(--md-sys-shape-corner-medium, 12px)";
6
+ static readonly Large = "var(--md-sys-shape-corner-large, 16px)";
7
+ static readonly LargeIncreased = "var(--md-sys-shape-corner-large-increased, 20px)";
8
+ static readonly ExtraLarge = "var(--md-sys-shape-corner-extra-large, 28px)";
9
+ static readonly ExtraLargeIncreased = "var(--md-sys-shape-corner-extra-large-increased, 32px)";
10
+ static readonly ExtraExtraLarge = "var(--md-sys-shape-corner-extra-extra-large, 48px)";
11
+ static readonly Full = "var(--md-sys-shape-corner-full, calc(infinity * 1px))";
12
+ }
@@ -0,0 +1,12 @@
1
+ export class Shapes {
2
+ static None = `var(--md-sys-shape-corner-none, 0px)`;
3
+ static ExtraSmall = `var(--md-sys-shape-corner-extra-small, 4px)`;
4
+ static Small = `var(--md-sys-shape-corner-small, 8px)`;
5
+ static Medium = `var(--md-sys-shape-corner-medium, 12px)`;
6
+ static Large = `var(--md-sys-shape-corner-large, 16px)`;
7
+ static LargeIncreased = `var(--md-sys-shape-corner-large-increased, 20px)`;
8
+ static ExtraLarge = `var(--md-sys-shape-corner-extra-large, 28px)`;
9
+ static ExtraLargeIncreased = `var(--md-sys-shape-corner-extra-large-increased, 32px)`;
10
+ static ExtraExtraLarge = `var(--md-sys-shape-corner-extra-extra-large, 48px)`;
11
+ static Full = `var(--md-sys-shape-corner-full, calc(infinity * 1px))`;
12
+ }
@@ -0,0 +1,11 @@
1
+ export declare abstract class State {
2
+ static readonly DraggedStateLayerOpacity = "0.16";
3
+ static readonly FocusedStateLayerOpacity = "0.12";
4
+ static readonly HoveredStateLayerOpacity = "0.08";
5
+ static readonly PressedStateLayerOpacity = "0.12";
6
+ static readonly FocusIndicator: {
7
+ new (): {};
8
+ readonly Thickness: "3px";
9
+ readonly OuterOffset: "2px";
10
+ };
11
+ }
@@ -0,0 +1,10 @@
1
+ export class State {
2
+ static DraggedStateLayerOpacity = `0.16`;
3
+ static FocusedStateLayerOpacity = `0.12`;
4
+ static HoveredStateLayerOpacity = `0.08`;
5
+ static PressedStateLayerOpacity = `0.12`;
6
+ static FocusIndicator = class {
7
+ static Thickness = `3px`;
8
+ static OuterOffset = `2px`;
9
+ };
10
+ }
@@ -0,0 +1,7 @@
1
+ export declare abstract class Typeface {
2
+ static readonly Brand = "Roboto";
3
+ static readonly Plain = "Roboto";
4
+ static readonly WeightBold = "700";
5
+ static readonly WeightMedium = "500";
6
+ static readonly WeightRegular = "400";
7
+ }
@@ -0,0 +1,7 @@
1
+ export class Typeface {
2
+ static Brand = `Roboto`;
3
+ static Plain = `Roboto`;
4
+ static WeightBold = `700`;
5
+ static WeightMedium = `500`;
6
+ static WeightRegular = `400`;
7
+ }
@@ -0,0 +1,152 @@
1
+ export declare abstract class Typescale {
2
+ static readonly DisplayLargeFont = "Roboto";
3
+ static readonly DisplayLargeSize = "57px";
4
+ static readonly DisplayLargeTracking = "-0.25px";
5
+ static readonly DisplayLargeLineHeight = "64px";
6
+ static readonly DisplayLargeWeight = "400";
7
+ static readonly DisplayMediumFont = "Roboto";
8
+ static readonly DisplayMediumSize = "45px";
9
+ static readonly DisplayMediumTracking = "0px";
10
+ static readonly DisplayMediumLineHeight = "52px";
11
+ static readonly DisplayMediumWeight = "400";
12
+ static readonly DisplaySmallFont = "Roboto";
13
+ static readonly DisplaySmallSize = "36px";
14
+ static readonly DisplaySmallTracking = "0px";
15
+ static readonly DisplaySmallLineHeight = "44px";
16
+ static readonly DisplaySmallWeight = "400";
17
+ static readonly HeadlineLargeFont = "Roboto";
18
+ static readonly HeadlineLargeSize = "32px";
19
+ static readonly HeadlineLargeTracking = "0px";
20
+ static readonly HeadlineLargeLineHeight = "40px";
21
+ static readonly HeadlineLargeWeight = "400";
22
+ static readonly HeadlineMediumFont = "Roboto";
23
+ static readonly HeadlineMediumSize = "28px";
24
+ static readonly HeadlineMediumTracking = "0px";
25
+ static readonly HeadlineMediumLineHeight = "36px";
26
+ static readonly HeadlineMediumWeight = "400";
27
+ static readonly HeadlineSmallFont = "Roboto";
28
+ static readonly HeadlineSmallSize = "24px";
29
+ static readonly HeadlineSmallTracking = "0px";
30
+ static readonly HeadlineSmallLineHeight = "32px";
31
+ static readonly HeadlineSmallWeight = "400";
32
+ static readonly TitleLargeFont = "Roboto";
33
+ static readonly TitleLargeSize = "22px";
34
+ static readonly TitleLargeTracking = "0px";
35
+ static readonly TitleLargeLineHeight = "28px";
36
+ static readonly TitleLargeWeight = "400";
37
+ static readonly TitleMediumFont = "Roboto";
38
+ static readonly TitleMediumSize = "16px";
39
+ static readonly TitleMediumTracking = "0.15px";
40
+ static readonly TitleMediumLineHeight = "24px";
41
+ static readonly TitleMediumWeight = "500";
42
+ static readonly TitleSmallFont = "Roboto";
43
+ static readonly TitleSmallSize = "14px";
44
+ static readonly TitleSmallTracking = "0.1px";
45
+ static readonly TitleSmallLineHeight = "20px";
46
+ static readonly TitleSmallWeight = "500";
47
+ static readonly BodyLargeFont = "Roboto";
48
+ static readonly BodyLargeSize = "16px";
49
+ static readonly BodyLargeTracking = "0.5px";
50
+ static readonly BodyLargeLineHeight = "24px";
51
+ static readonly BodyLargeWeight = "400";
52
+ static readonly BodyMediumFont = "Roboto";
53
+ static readonly BodyMediumSize = "14px";
54
+ static readonly BodyMediumTracking = "0.25px";
55
+ static readonly BodyMediumLineHeight = "20px";
56
+ static readonly BodyMediumWeight = "400";
57
+ static readonly BodySmallFont = "Roboto";
58
+ static readonly BodySmallSize = "12px";
59
+ static readonly BodySmallTracking = "0.4px";
60
+ static readonly BodySmallLineHeight = "16px";
61
+ static readonly BodySmallWeight = "400";
62
+ static readonly LabelLargeFont = "Roboto";
63
+ static readonly LabelLargeSize = "14px";
64
+ static readonly LabelLargeTracking = "0.1px";
65
+ static readonly LabelLargeLineHeight = "20px";
66
+ static readonly LabelLargeWeight = "500";
67
+ static readonly LabelMediumFont = "Roboto";
68
+ static readonly LabelMediumSize = "12px";
69
+ static readonly LabelMediumTracking = "0.5px";
70
+ static readonly LabelMediumLineHeight = "16px";
71
+ static readonly LabelMediumWeight = "500";
72
+ static readonly LabelSmallFont = "Roboto";
73
+ static readonly LabelSmallSize = "11px";
74
+ static readonly LabelSmallTracking = "0.5px";
75
+ static readonly LabelSmallLineHeight = "16px";
76
+ static readonly LabelSmallWeight = "500";
77
+ static readonly EmphasizedDisplayLargeFont = "Roboto";
78
+ static readonly EmphasizedDisplayLargeSize = "57px";
79
+ static readonly EmphasizedDisplayLargeTracking = "-0.25px";
80
+ static readonly EmphasizedDisplayLargeLineHeight = "64px";
81
+ static readonly EmphasizedDisplayLargeWeight = "500";
82
+ static readonly EmphasizedDisplayMediumFont = "Roboto";
83
+ static readonly EmphasizedDisplayMediumSize = "45px";
84
+ static readonly EmphasizedDisplayMediumTracking = "0px";
85
+ static readonly EmphasizedDisplayMediumLineHeight = "52px";
86
+ static readonly EmphasizedDisplayMediumWeight = "500";
87
+ static readonly EmphasizedDisplaySmallFont = "Roboto";
88
+ static readonly EmphasizedDisplaySmallSize = "36px";
89
+ static readonly EmphasizedDisplaySmallTracking = "0px";
90
+ static readonly EmphasizedDisplaySmallLineHeight = "44px";
91
+ static readonly EmphasizedDisplaySmallWeight = "500";
92
+ static readonly EmphasizedHeadlineLargeFont = "Roboto";
93
+ static readonly EmphasizedHeadlineLargeSize = "32px";
94
+ static readonly EmphasizedHeadlineLargeTracking = "0px";
95
+ static readonly EmphasizedHeadlineLargeLineHeight = "40px";
96
+ static readonly EmphasizedHeadlineLargeWeight = "500";
97
+ static readonly EmphasizedHeadlineMediumFont = "Roboto";
98
+ static readonly EmphasizedHeadlineMediumSize = "28px";
99
+ static readonly EmphasizedHeadlineMediumTracking = "0px";
100
+ static readonly EmphasizedHeadlineMediumLineHeight = "36px";
101
+ static readonly EmphasizedHeadlineMediumWeight = "500";
102
+ static readonly EmphasizedHeadlineSmallFont = "Roboto";
103
+ static readonly EmphasizedHeadlineSmallSize = "24px";
104
+ static readonly EmphasizedHeadlineSmallTracking = "0px";
105
+ static readonly EmphasizedHeadlineSmallLineHeight = "32px";
106
+ static readonly EmphasizedHeadlineSmallWeight = "500";
107
+ static readonly EmphasizedTitleLargeFont = "Roboto";
108
+ static readonly EmphasizedTitleLargeSize = "22px";
109
+ static readonly EmphasizedTitleLargeTracking = "0px";
110
+ static readonly EmphasizedTitleLargeLineHeight = "28px";
111
+ static readonly EmphasizedTitleLargeWeight = "500";
112
+ static readonly EmphasizedTitleMediumFont = "Roboto";
113
+ static readonly EmphasizedTitleMediumSize = "16px";
114
+ static readonly EmphasizedTitleMediumTracking = "0.15px";
115
+ static readonly EmphasizedTitleMediumLineHeight = "24px";
116
+ static readonly EmphasizedTitleMediumWeight = "700";
117
+ static readonly EmphasizedTitleSmallFont = "Roboto";
118
+ static readonly EmphasizedTitleSmallSize = "14px";
119
+ static readonly EmphasizedTitleSmallTracking = "0.1px";
120
+ static readonly EmphasizedTitleSmallLineHeight = "20px";
121
+ static readonly EmphasizedTitleSmallWeight = "700";
122
+ static readonly EmphasizedBodyLargeFont = "Roboto";
123
+ static readonly EmphasizedBodyLargeSize = "16px";
124
+ static readonly EmphasizedBodyLargeTracking = "0.5px";
125
+ static readonly EmphasizedBodyLargeLineHeight = "24px";
126
+ static readonly EmphasizedBodyLargeWeight = "500";
127
+ static readonly EmphasizedBodyMediumFont = "Roboto";
128
+ static readonly EmphasizedBodyMediumSize = "14px";
129
+ static readonly EmphasizedBodyMediumTracking = "0.25px";
130
+ static readonly EmphasizedBodyMediumLineHeight = "20px";
131
+ static readonly EmphasizedBodyMediumWeight = "500";
132
+ static readonly EmphasizedBodySmallFont = "Roboto";
133
+ static readonly EmphasizedBodySmallSize = "12px";
134
+ static readonly EmphasizedBodySmallTracking = "0.4px";
135
+ static readonly EmphasizedBodySmallLineHeight = "16px";
136
+ static readonly EmphasizedBodySmallWeight = "500";
137
+ static readonly EmphasizedLabelLargeFont = "Roboto";
138
+ static readonly EmphasizedLabelLargeSize = "14px";
139
+ static readonly EmphasizedLabelLargeTracking = "0.1px";
140
+ static readonly EmphasizedLabelLargeLineHeight = "20px";
141
+ static readonly EmphasizedLabelLargeWeight = "700";
142
+ static readonly EmphasizedLabelMediumFont = "Roboto";
143
+ static readonly EmphasizedLabelMediumSize = "12px";
144
+ static readonly EmphasizedLabelMediumTracking = "0.5px";
145
+ static readonly EmphasizedLabelMediumLineHeight = "16px";
146
+ static readonly EmphasizedLabelMediumWeight = "700";
147
+ static readonly EmphasizedLabelSmallFont = "Roboto";
148
+ static readonly EmphasizedLabelSmallSize = "11px";
149
+ static readonly EmphasizedLabelSmallTracking = "0.5px";
150
+ static readonly EmphasizedLabelSmallLineHeight = "16px";
151
+ static readonly EmphasizedLabelSmallWeight = "700";
152
+ }
@@ -0,0 +1,153 @@
1
+ import { Typeface } from './typeface';
2
+ export class Typescale {
3
+ static DisplayLargeFont = Typeface.Plain;
4
+ static DisplayLargeSize = `57px`;
5
+ static DisplayLargeTracking = `-0.25px`;
6
+ static DisplayLargeLineHeight = `64px`;
7
+ static DisplayLargeWeight = Typeface.WeightRegular;
8
+ static DisplayMediumFont = Typeface.Plain;
9
+ static DisplayMediumSize = `45px`;
10
+ static DisplayMediumTracking = `0px`;
11
+ static DisplayMediumLineHeight = `52px`;
12
+ static DisplayMediumWeight = Typeface.WeightRegular;
13
+ static DisplaySmallFont = Typeface.Plain;
14
+ static DisplaySmallSize = `36px`;
15
+ static DisplaySmallTracking = `0px`;
16
+ static DisplaySmallLineHeight = `44px`;
17
+ static DisplaySmallWeight = Typeface.WeightRegular;
18
+ static HeadlineLargeFont = Typeface.Plain;
19
+ static HeadlineLargeSize = `32px`;
20
+ static HeadlineLargeTracking = `0px`;
21
+ static HeadlineLargeLineHeight = `40px`;
22
+ static HeadlineLargeWeight = Typeface.WeightRegular;
23
+ static HeadlineMediumFont = Typeface.Plain;
24
+ static HeadlineMediumSize = `28px`;
25
+ static HeadlineMediumTracking = `0px`;
26
+ static HeadlineMediumLineHeight = `36px`;
27
+ static HeadlineMediumWeight = Typeface.WeightRegular;
28
+ static HeadlineSmallFont = Typeface.Plain;
29
+ static HeadlineSmallSize = `24px`;
30
+ static HeadlineSmallTracking = `0px`;
31
+ static HeadlineSmallLineHeight = `32px`;
32
+ static HeadlineSmallWeight = Typeface.WeightRegular;
33
+ static TitleLargeFont = Typeface.Plain;
34
+ static TitleLargeSize = `22px`;
35
+ static TitleLargeTracking = `0px`;
36
+ static TitleLargeLineHeight = `28px`;
37
+ static TitleLargeWeight = Typeface.WeightRegular;
38
+ static TitleMediumFont = Typeface.Plain;
39
+ static TitleMediumSize = `16px`;
40
+ static TitleMediumTracking = `0.15px`;
41
+ static TitleMediumLineHeight = `24px`;
42
+ static TitleMediumWeight = Typeface.WeightMedium;
43
+ static TitleSmallFont = Typeface.Plain;
44
+ static TitleSmallSize = `14px`;
45
+ static TitleSmallTracking = `0.1px`;
46
+ static TitleSmallLineHeight = `20px`;
47
+ static TitleSmallWeight = Typeface.WeightMedium;
48
+ static BodyLargeFont = Typeface.Plain;
49
+ static BodyLargeSize = `16px`;
50
+ static BodyLargeTracking = `0.5px`;
51
+ static BodyLargeLineHeight = `24px`;
52
+ static BodyLargeWeight = Typeface.WeightRegular;
53
+ static BodyMediumFont = Typeface.Plain;
54
+ static BodyMediumSize = `14px`;
55
+ static BodyMediumTracking = `0.25px`;
56
+ static BodyMediumLineHeight = `20px`;
57
+ static BodyMediumWeight = Typeface.WeightRegular;
58
+ static BodySmallFont = Typeface.Plain;
59
+ static BodySmallSize = `12px`;
60
+ static BodySmallTracking = `0.4px`;
61
+ static BodySmallLineHeight = `16px`;
62
+ static BodySmallWeight = Typeface.WeightRegular;
63
+ static LabelLargeFont = Typeface.Plain;
64
+ static LabelLargeSize = `14px`;
65
+ static LabelLargeTracking = `0.1px`;
66
+ static LabelLargeLineHeight = `20px`;
67
+ static LabelLargeWeight = Typeface.WeightMedium;
68
+ static LabelMediumFont = Typeface.Plain;
69
+ static LabelMediumSize = `12px`;
70
+ static LabelMediumTracking = `0.5px`;
71
+ static LabelMediumLineHeight = `16px`;
72
+ static LabelMediumWeight = Typeface.WeightMedium;
73
+ static LabelSmallFont = Typeface.Plain;
74
+ static LabelSmallSize = `11px`;
75
+ static LabelSmallTracking = `0.5px`;
76
+ static LabelSmallLineHeight = `16px`;
77
+ static LabelSmallWeight = Typeface.WeightMedium;
78
+ static EmphasizedDisplayLargeFont = Typeface.Plain;
79
+ static EmphasizedDisplayLargeSize = `57px`;
80
+ static EmphasizedDisplayLargeTracking = `-0.25px`;
81
+ static EmphasizedDisplayLargeLineHeight = `64px`;
82
+ static EmphasizedDisplayLargeWeight = Typeface.WeightMedium;
83
+ static EmphasizedDisplayMediumFont = Typeface.Plain;
84
+ static EmphasizedDisplayMediumSize = `45px`;
85
+ static EmphasizedDisplayMediumTracking = `0px`;
86
+ static EmphasizedDisplayMediumLineHeight = `52px`;
87
+ static EmphasizedDisplayMediumWeight = Typeface.WeightMedium;
88
+ static EmphasizedDisplaySmallFont = Typeface.Plain;
89
+ static EmphasizedDisplaySmallSize = `36px`;
90
+ static EmphasizedDisplaySmallTracking = `0px`;
91
+ static EmphasizedDisplaySmallLineHeight = `44px`;
92
+ static EmphasizedDisplaySmallWeight = Typeface.WeightMedium;
93
+ static EmphasizedHeadlineLargeFont = Typeface.Plain;
94
+ static EmphasizedHeadlineLargeSize = `32px`;
95
+ static EmphasizedHeadlineLargeTracking = `0px`;
96
+ static EmphasizedHeadlineLargeLineHeight = `40px`;
97
+ static EmphasizedHeadlineLargeWeight = Typeface.WeightMedium;
98
+ static EmphasizedHeadlineMediumFont = Typeface.Plain;
99
+ static EmphasizedHeadlineMediumSize = `28px`;
100
+ static EmphasizedHeadlineMediumTracking = `0px`;
101
+ static EmphasizedHeadlineMediumLineHeight = `36px`;
102
+ static EmphasizedHeadlineMediumWeight = Typeface.WeightMedium;
103
+ static EmphasizedHeadlineSmallFont = Typeface.Plain;
104
+ static EmphasizedHeadlineSmallSize = `24px`;
105
+ static EmphasizedHeadlineSmallTracking = `0px`;
106
+ static EmphasizedHeadlineSmallLineHeight = `32px`;
107
+ static EmphasizedHeadlineSmallWeight = Typeface.WeightMedium;
108
+ static EmphasizedTitleLargeFont = Typeface.Plain;
109
+ static EmphasizedTitleLargeSize = `22px`;
110
+ static EmphasizedTitleLargeTracking = `0px`;
111
+ static EmphasizedTitleLargeLineHeight = `28px`;
112
+ static EmphasizedTitleLargeWeight = Typeface.WeightMedium;
113
+ static EmphasizedTitleMediumFont = Typeface.Plain;
114
+ static EmphasizedTitleMediumSize = `16px`;
115
+ static EmphasizedTitleMediumTracking = `0.15px`;
116
+ static EmphasizedTitleMediumLineHeight = `24px`;
117
+ static EmphasizedTitleMediumWeight = Typeface.WeightBold;
118
+ static EmphasizedTitleSmallFont = Typeface.Plain;
119
+ static EmphasizedTitleSmallSize = `14px`;
120
+ static EmphasizedTitleSmallTracking = `0.1px`;
121
+ static EmphasizedTitleSmallLineHeight = `20px`;
122
+ static EmphasizedTitleSmallWeight = Typeface.WeightBold;
123
+ static EmphasizedBodyLargeFont = Typeface.Plain;
124
+ static EmphasizedBodyLargeSize = `16px`;
125
+ static EmphasizedBodyLargeTracking = `0.5px`;
126
+ static EmphasizedBodyLargeLineHeight = `24px`;
127
+ static EmphasizedBodyLargeWeight = Typeface.WeightMedium;
128
+ static EmphasizedBodyMediumFont = Typeface.Plain;
129
+ static EmphasizedBodyMediumSize = `14px`;
130
+ static EmphasizedBodyMediumTracking = `0.25px`;
131
+ static EmphasizedBodyMediumLineHeight = `20px`;
132
+ static EmphasizedBodyMediumWeight = Typeface.WeightMedium;
133
+ static EmphasizedBodySmallFont = Typeface.Plain;
134
+ static EmphasizedBodySmallSize = `12px`;
135
+ static EmphasizedBodySmallTracking = `0.4px`;
136
+ static EmphasizedBodySmallLineHeight = `16px`;
137
+ static EmphasizedBodySmallWeight = Typeface.WeightMedium;
138
+ static EmphasizedLabelLargeFont = Typeface.Plain;
139
+ static EmphasizedLabelLargeSize = `14px`;
140
+ static EmphasizedLabelLargeTracking = `0.1px`;
141
+ static EmphasizedLabelLargeLineHeight = `20px`;
142
+ static EmphasizedLabelLargeWeight = Typeface.WeightBold;
143
+ static EmphasizedLabelMediumFont = Typeface.Plain;
144
+ static EmphasizedLabelMediumSize = `12px`;
145
+ static EmphasizedLabelMediumTracking = `0.5px`;
146
+ static EmphasizedLabelMediumLineHeight = `16px`;
147
+ static EmphasizedLabelMediumWeight = Typeface.WeightBold;
148
+ static EmphasizedLabelSmallFont = Typeface.Plain;
149
+ static EmphasizedLabelSmallSize = `11px`;
150
+ static EmphasizedLabelSmallTracking = `0.5px`;
151
+ static EmphasizedLabelSmallLineHeight = `16px`;
152
+ static EmphasizedLabelSmallWeight = Typeface.WeightBold;
153
+ }
@@ -0,0 +1,11 @@
1
+ export declare abstract class MaterialVariant {
2
+ static readonly Monochrome = 0;
3
+ static readonly Neutral = 1;
4
+ static readonly TonalSpot = 2;
5
+ static readonly Vibrant = 3;
6
+ static readonly Expressive = 4;
7
+ static readonly Fidelity = 5;
8
+ static readonly Content = 6;
9
+ static readonly Rainbow = 7;
10
+ static readonly FruitSalad = 8;
11
+ }
@@ -0,0 +1,11 @@
1
+ export class MaterialVariant {
2
+ static Monochrome = 0;
3
+ static Neutral = 1;
4
+ static TonalSpot = 2;
5
+ static Vibrant = 3;
6
+ static Expressive = 4;
7
+ static Fidelity = 5;
8
+ static Content = 6;
9
+ static Rainbow = 7;
10
+ static FruitSalad = 8;
11
+ }
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@sandlada/mdk",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "keywords": [
6
+ "material-design",
7
+ "material",
8
+ "design-kit",
9
+ "styles"
10
+ ],
11
+ "author": "Kai-Orion & Sandlada",
12
+ "license": "MIT",
13
+ "description": "A JavaScript library based on Material Design 3, providing data such as color, shape, shadow level, etc.",
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "main": "./build/index.js",
18
+ "module": "./build/index.js",
19
+ "types": "./build/index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "default": "./build/index.js",
23
+ "import": "./build/index.js",
24
+ "require": "./build/index.js",
25
+ "types": "./build/index.d.ts"
26
+ }
27
+ },
28
+ "files": [
29
+ "./build/**/*"
30
+ ],
31
+ "devDependencies": {
32
+ "tslib": "^2.8.1",
33
+ "typescript": "^5.8.3"
34
+ }
35
+ }