mtrl 0.10.4 → 0.10.6
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/README.md +15 -5
- package/dist/README.md +15 -5
- package/dist/components/bottom-app-bar/bottom-app-bar.js +2 -1
- package/dist/components/bottom-app-bar/index.d.ts +3 -1
- package/dist/components/button/api.js +3 -0
- package/dist/components/button/constants.d.ts +2 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/types.d.ts +7 -1
- package/dist/components/button-group/button-group.js +25 -6
- package/dist/components/button-group/config.js +2 -2
- package/dist/components/button-group/constants.d.ts +8 -2
- package/dist/components/button-group/index.d.ts +1 -0
- package/dist/components/button-group/types.d.ts +5 -1
- package/dist/components/card/index.d.ts +21 -3
- package/dist/components/card/index.js +1 -1
- package/dist/components/card/types.d.ts +20 -4
- package/dist/components/carousel/api.d.ts +1 -0
- package/dist/components/carousel/api.js +4 -0
- package/dist/components/carousel/features/scroll.d.ts +1 -0
- package/dist/components/carousel/features/scroll.js +117 -2
- package/dist/components/carousel/types.d.ts +11 -0
- package/dist/components/checkbox/api.js +3 -0
- package/dist/components/checkbox/config.js +1 -0
- package/dist/components/checkbox/types.d.ts +8 -2
- package/dist/components/chips/types.d.ts +10 -2
- package/dist/components/datepicker/index.d.ts +3 -1
- package/dist/components/datepicker/index.js +1 -1
- package/dist/components/extended-fab/api.d.ts +2 -0
- package/dist/components/extended-fab/api.js +3 -0
- package/dist/components/extended-fab/config.d.ts +1 -0
- package/dist/components/extended-fab/config.js +1 -0
- package/dist/components/extended-fab/types.d.ts +2 -0
- package/dist/components/fab/api.d.ts +2 -0
- package/dist/components/fab/api.js +3 -0
- package/dist/components/fab/config.d.ts +1 -0
- package/dist/components/fab/config.js +1 -0
- package/dist/components/fab/constants.d.ts +2 -1
- package/dist/components/fab/types.d.ts +2 -0
- package/dist/components/fab-menu/fab-menu.js +2 -1
- package/dist/components/icon-button/api.js +3 -0
- package/dist/components/icon-button/constants.d.ts +2 -0
- package/dist/components/icon-button/types.d.ts +5 -0
- package/dist/components/index.d.ts +18 -5
- package/dist/components/index.js +2 -1
- package/dist/components/list/types.d.ts +5 -3
- package/dist/components/menu/features/keyboard.js +8 -5
- package/dist/components/menu/features/opener.js +1 -1
- package/dist/components/menu/index.d.ts +1 -0
- package/dist/components/navigation-rail/types.d.ts +2 -0
- package/dist/components/progress/features/canvas.js +1 -1
- package/dist/components/progress/features/colors.d.ts +2 -1
- package/dist/components/progress/features/colors.js +20 -10
- package/dist/components/radios/api.d.ts +1 -0
- package/dist/components/radios/api.js +3 -0
- package/dist/components/radios/constants.d.ts +9 -9
- package/dist/components/radios/radio.d.ts +1 -0
- package/dist/components/radios/radio.js +1 -0
- package/dist/components/radios/types.d.ts +10 -3
- package/dist/components/search/features/states.d.ts +2 -0
- package/dist/components/search/features/states.js +12 -1
- package/dist/components/search/features/structure.js +2 -0
- package/dist/components/search/types.d.ts +6 -6
- package/dist/components/segmented-button/config.js +2 -2
- package/dist/components/select/api.js +3 -0
- package/dist/components/select/constants.d.ts +1 -1
- package/dist/components/select/features.js +2 -0
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/select/types.d.ts +6 -0
- package/dist/components/split-button/types.d.ts +5 -1
- package/dist/components/switch/api.js +3 -0
- package/dist/components/switch/config.js +1 -0
- package/dist/components/switch/index.d.ts +6 -2
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/types.d.ts +6 -2
- package/dist/components/tabs/config.js +2 -2
- package/dist/components/tabs/index.d.ts +36 -3
- package/dist/components/tabs/index.js +2 -1
- package/dist/components/tabs/tab.js +8 -1
- package/dist/components/tabs/types.d.ts +3 -1
- package/dist/components/tabs/utils.js +2 -1
- package/dist/components/textfield/api.d.ts +5 -0
- package/dist/components/textfield/api.js +209 -188
- package/dist/components/textfield/config.js +4 -3
- package/dist/components/textfield/constants.d.ts +24 -7
- package/dist/components/textfield/constants.js +9 -7
- package/dist/components/textfield/features/index.d.ts +3 -1
- package/dist/components/textfield/features/index.js +1 -0
- package/dist/components/textfield/features/leading-icon.js +1 -0
- package/dist/components/textfield/features/placement.js +15 -2
- package/dist/components/textfield/features/required.d.ts +33 -0
- package/dist/components/textfield/features/required.js +50 -0
- package/dist/components/textfield/features/supporting-text.js +43 -21
- package/dist/components/textfield/features/trailing-icon.d.ts +23 -1
- package/dist/components/textfield/features/trailing-icon.js +39 -5
- package/dist/components/textfield/index.d.ts +16 -1
- package/dist/components/textfield/index.js +1 -0
- package/dist/components/textfield/textfield.js +2 -2
- package/dist/components/textfield/types.d.ts +33 -3
- package/dist/components/timepicker/types.d.ts +2 -1
- package/dist/components/toolbar/toolbar.js +2 -1
- package/dist/components/tooltip/api.js +20 -18
- package/dist/components/tooltip/constants.d.ts +4 -1
- package/dist/components/top-app-bar/index.d.ts +3 -1
- package/dist/components/top-app-bar/top-app-bar.d.ts +2 -57
- package/dist/components/top-app-bar/top-app-bar.js +2 -1
- package/dist/core/compose/features/input.d.ts +9 -2
- package/dist/core/utils/theme.d.ts +6 -2
- package/dist/core/utils/theme.js +12 -19
- package/dist/elements/carousel.d.ts +5 -0
- package/dist/elements/carousel.js +1 -0
- package/dist/elements/css/textfield.js +1 -1
- package/dist/elements/define.d.ts +8 -0
- package/dist/elements/define.js +2 -1
- package/dist/elements/dialog.js +1 -1
- package/dist/elements/icon-button.d.ts +3 -2
- package/dist/elements/index.d.ts +15 -4
- package/dist/elements/index.js +2 -1
- package/dist/elements/preupgrade.css +1 -1
- package/dist/elements/textfield.d.ts +1 -1
- package/dist/elements/textfield.js +1 -1
- package/dist/index.cjs +0 -0
- package/dist/package.json +1 -1
- package/dist/react/dialog.d.ts +3 -0
- package/dist/react/dialog.js +3 -0
- package/dist/react/index.d.ts +4 -1
- package/dist/react/index.js +2 -1
- package/dist/solid/dialog.d.ts +3 -0
- package/dist/solid/dialog.js +3 -0
- package/dist/solid/index.d.ts +4 -1
- package/dist/solid/index.js +2 -1
- package/dist/styles/badge.css +1 -1
- package/dist/styles/base.css +2 -2
- package/dist/styles/bottom-app-bar.css +1 -1
- package/dist/styles/bottom-sheet.css +1 -1
- package/dist/styles/button-group.css +1 -1
- package/dist/styles/button.css +1 -1
- package/dist/styles/card.css +1 -1
- package/dist/styles/carousel.css +1 -1
- package/dist/styles/checkbox.css +1 -1
- package/dist/styles/chips.css +1 -1
- package/dist/styles/datepicker.css +1 -1
- package/dist/styles/dialog.css +1 -1
- package/dist/styles/divider.css +1 -1
- package/dist/styles/drawer.css +1 -1
- package/dist/styles/extended-fab.css +1 -1
- package/dist/styles/fab-menu.css +1 -1
- package/dist/styles/fab.css +1 -1
- package/dist/styles/icon-button.css +1 -1
- package/dist/styles/list.css +1 -1
- package/dist/styles/loading-indicator.css +1 -1
- package/dist/styles/menu.css +1 -1
- package/dist/styles/navigation-rail.css +1 -1
- package/dist/styles/progress.css +1 -1
- package/dist/styles/radios.css +1 -1
- package/dist/styles/search.css +1 -1
- package/dist/styles/segmented-button.css +1 -1
- package/dist/styles/select.css +1 -1
- package/dist/styles/side-sheet.css +1 -1
- package/dist/styles/slider.css +1 -1
- package/dist/styles/snackbar.css +1 -1
- package/dist/styles/split-button.css +1 -1
- package/dist/styles/switch.css +1 -1
- package/dist/styles/tabs.css +1 -1
- package/dist/styles/textfield.css +2 -2
- package/dist/styles/timepicker.css +1 -1
- package/dist/styles/toolbar.css +1 -1
- package/dist/styles/tooltip.css +1 -1
- package/dist/styles/top-app-bar.css +1 -1
- package/dist/styles/utilities.css +1 -1
- package/dist/styles.css +2 -2
- package/dist/svelte/Dialog.svelte +3 -0
- package/dist/svelte/index.d.ts +5 -1
- package/dist/svelte/index.js +5 -1
- package/dist/themes/autumn.css +2 -2
- package/dist/themes/baseline.css +2 -2
- package/dist/themes/brownbeige.css +2 -2
- package/dist/themes/browngreen.css +2 -2
- package/dist/themes/content.css +2 -2
- package/dist/themes/desert.css +2 -2
- package/dist/themes/expressive.css +2 -2
- package/dist/themes/fidelity.css +2 -2
- package/dist/themes/forest.css +2 -2
- package/dist/themes/fruit-salad.css +2 -2
- package/dist/themes/highcontrast.css +2 -2
- package/dist/themes/legacy.css +2 -2
- package/dist/themes/material.css +2 -2
- package/dist/themes/monochrome.css +2 -2
- package/dist/themes/neutral.css +2 -2
- package/dist/themes/ocean.css +2 -2
- package/dist/themes/rainbow.css +2 -2
- package/dist/themes/sageivory.css +2 -2
- package/dist/themes/spring.css +2 -2
- package/dist/themes/summer.css +2 -2
- package/dist/themes/sunset.css +2 -2
- package/dist/themes/tealcaramel.css +2 -2
- package/dist/themes/vibrant.css +2 -2
- package/dist/themes/winter.css +2 -2
- package/dist/vue/dialog.d.ts +3 -0
- package/dist/vue/dialog.js +3 -0
- package/dist/vue/index.d.ts +4 -1
- package/dist/vue/index.js +2 -1
- package/package.json +1 -1
- package/src/styles/abstract/_theme.scss +6 -6
- package/src/styles/abstract/_variables.scss +14 -4
- package/src/styles/components/_textfield.scss +61 -8
- package/src/styles/themes/_autumn.scss +173 -0
- package/src/styles/themes/_base-theme.scss +100 -12
- package/src/styles/themes/_baseline.scss +172 -0
- package/src/styles/themes/_brownbeige.scss +150 -0
- package/src/styles/themes/_browngreen.scss +183 -0
- package/src/styles/themes/_content.scss +148 -0
- package/src/styles/themes/_desert.scss +150 -0
- package/src/styles/themes/_expressive.scss +150 -0
- package/src/styles/themes/_fidelity.scss +148 -0
- package/src/styles/themes/_forest.scss +175 -0
- package/src/styles/themes/_fruit-salad.scss +150 -0
- package/src/styles/themes/_highcontrast.scss +74 -0
- package/src/styles/themes/_legacy.scss +181 -0
- package/src/styles/themes/_material.scss +181 -0
- package/src/styles/themes/_monochrome.scss +134 -0
- package/src/styles/themes/_neutral.scss +150 -0
- package/src/styles/themes/_ocean.scss +175 -0
- package/src/styles/themes/_rainbow.scss +150 -0
- package/src/styles/themes/_sageivory.scss +150 -0
- package/src/styles/themes/_spring.scss +171 -0
- package/src/styles/themes/_summer.scss +150 -0
- package/src/styles/themes/_sunset.scss +175 -0
- package/src/styles/themes/_tealcaramel.scss +150 -0
- package/src/styles/themes/_vibrant.scss +150 -0
- package/src/styles/themes/_winter.scss +181 -0
|
@@ -106,3 +106,153 @@
|
|
|
106
106
|
--#{$prefix}-sys-color-inverse-primary: #00639c;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
+
|
|
110
|
+
// contrast roles: generated, do not edit
|
|
111
|
+
@include create-theme-contrast("fruit-salad", (
|
|
112
|
+
medium: (
|
|
113
|
+
light: (
|
|
114
|
+
error: #740006,
|
|
115
|
+
error-container: #cf2c27,
|
|
116
|
+
on-error-container: #ffffff,
|
|
117
|
+
primary: #00395d,
|
|
118
|
+
primary-container: #1072b1,
|
|
119
|
+
on-primary-container: #ffffff,
|
|
120
|
+
secondary: #00395d,
|
|
121
|
+
secondary-container: #40719c,
|
|
122
|
+
on-secondary-container: #ffffff,
|
|
123
|
+
tertiary: #3c2d63,
|
|
124
|
+
tertiary-container: #74649f,
|
|
125
|
+
on-tertiary-container: #ffffff,
|
|
126
|
+
primary-fixed: #1072b1,
|
|
127
|
+
primary-fixed-dim: #00598d,
|
|
128
|
+
on-primary-fixed: #ffffff,
|
|
129
|
+
on-primary-fixed-variant: #ffffff,
|
|
130
|
+
secondary-fixed: #40719c,
|
|
131
|
+
secondary-fixed-dim: #245882,
|
|
132
|
+
on-secondary-fixed: #ffffff,
|
|
133
|
+
on-secondary-fixed-variant: #ffffff,
|
|
134
|
+
tertiary-fixed: #74649f,
|
|
135
|
+
tertiary-fixed-dim: #5b4c84,
|
|
136
|
+
on-tertiary-fixed: #ffffff,
|
|
137
|
+
on-tertiary-fixed-variant: #ffffff,
|
|
138
|
+
surface-dim: #cbc4d2,
|
|
139
|
+
surface-container: #ede5f4,
|
|
140
|
+
surface-container-high: #e1dae9,
|
|
141
|
+
surface-container-highest: #d6cfdd,
|
|
142
|
+
on-surface: #12101a,
|
|
143
|
+
on-surface-variant: #393347,
|
|
144
|
+
outline: #564f64,
|
|
145
|
+
outline-variant: #716a80,
|
|
146
|
+
),
|
|
147
|
+
dark: (
|
|
148
|
+
error: #ffd2cc,
|
|
149
|
+
on-error: #540003,
|
|
150
|
+
error-container: #ff5449,
|
|
151
|
+
on-error-container: #000000,
|
|
152
|
+
primary: #c3dfff,
|
|
153
|
+
on-primary: #002843,
|
|
154
|
+
primary-container: #4796d7,
|
|
155
|
+
on-primary-container: #000000,
|
|
156
|
+
secondary: #c3dfff,
|
|
157
|
+
on-secondary: #002843,
|
|
158
|
+
secondary-container: #6695c2,
|
|
159
|
+
on-secondary-container: #000000,
|
|
160
|
+
tertiary: #e3d6ff,
|
|
161
|
+
on-tertiary: #2b1b52,
|
|
162
|
+
tertiary-container: #9887c5,
|
|
163
|
+
on-tertiary-container: #000000,
|
|
164
|
+
on-primary-fixed: #001223,
|
|
165
|
+
on-primary-fixed-variant: #00395d,
|
|
166
|
+
on-secondary-fixed: #001223,
|
|
167
|
+
on-secondary-fixed-variant: #00395d,
|
|
168
|
+
on-tertiary-fixed: #16033d,
|
|
169
|
+
on-tertiary-fixed-variant: #3c2d63,
|
|
170
|
+
surface-bright: #47434e,
|
|
171
|
+
surface-container-lowest: #08060f,
|
|
172
|
+
surface-container-low: #1f1c26,
|
|
173
|
+
surface-container: #292631,
|
|
174
|
+
surface-container-high: #34313c,
|
|
175
|
+
surface-container-highest: #403c47,
|
|
176
|
+
on-surface: #ffffff,
|
|
177
|
+
on-surface-variant: #e2d8f2,
|
|
178
|
+
outline: #b7aec6,
|
|
179
|
+
outline-variant: #948da4,
|
|
180
|
+
inverse-on-surface: #2c2833,
|
|
181
|
+
inverse-primary: #004b79,
|
|
182
|
+
),
|
|
183
|
+
),
|
|
184
|
+
high: (
|
|
185
|
+
light: (
|
|
186
|
+
error: #600004,
|
|
187
|
+
error-container: #98000a,
|
|
188
|
+
on-error-container: #ffffff,
|
|
189
|
+
primary: #002e4d,
|
|
190
|
+
primary-container: #004d7a,
|
|
191
|
+
on-primary-container: #ffffff,
|
|
192
|
+
secondary: #002e4d,
|
|
193
|
+
secondary-container: #144c76,
|
|
194
|
+
on-secondary-container: #ffffff,
|
|
195
|
+
tertiary: #312259,
|
|
196
|
+
tertiary-container: #4f4078,
|
|
197
|
+
on-tertiary-container: #ffffff,
|
|
198
|
+
primary-fixed: #004d7a,
|
|
199
|
+
primary-fixed-dim: #003557,
|
|
200
|
+
on-primary-fixed: #ffffff,
|
|
201
|
+
on-primary-fixed-variant: #ffffff,
|
|
202
|
+
secondary-fixed: #144c76,
|
|
203
|
+
secondary-fixed-dim: #003557,
|
|
204
|
+
on-secondary-fixed: #ffffff,
|
|
205
|
+
on-secondary-fixed-variant: #ffffff,
|
|
206
|
+
tertiary-fixed: #4f4078,
|
|
207
|
+
tertiary-fixed-dim: #382960,
|
|
208
|
+
on-tertiary-fixed: #ffffff,
|
|
209
|
+
on-tertiary-fixed-variant: #ffffff,
|
|
210
|
+
surface-dim: #bdb6c4,
|
|
211
|
+
surface-container-low: #f5eefd,
|
|
212
|
+
surface-container: #e7e0ef,
|
|
213
|
+
surface-container-high: #d9d2e0,
|
|
214
|
+
surface-container-highest: #cbc4d2,
|
|
215
|
+
on-surface: #000000,
|
|
216
|
+
on-surface-variant: #000000,
|
|
217
|
+
outline: #2f293c,
|
|
218
|
+
outline-variant: #4c465b,
|
|
219
|
+
inverse-on-surface: #ffffff,
|
|
220
|
+
),
|
|
221
|
+
dark: (
|
|
222
|
+
error: #ffece9,
|
|
223
|
+
on-error: #000000,
|
|
224
|
+
error-container: #ffaea4,
|
|
225
|
+
on-error-container: #220001,
|
|
226
|
+
primary: #e7f1ff,
|
|
227
|
+
on-primary: #000000,
|
|
228
|
+
primary-container: #8fc8ff,
|
|
229
|
+
on-primary-container: #000c19,
|
|
230
|
+
secondary: #e7f1ff,
|
|
231
|
+
on-secondary: #000000,
|
|
232
|
+
secondary-container: #98c7f7,
|
|
233
|
+
on-secondary-container: #000c19,
|
|
234
|
+
tertiary: #f5edff,
|
|
235
|
+
on-tertiary: #000000,
|
|
236
|
+
tertiary-container: #cbb9fa,
|
|
237
|
+
on-tertiary-container: #0f0033,
|
|
238
|
+
on-primary-fixed: #000000,
|
|
239
|
+
on-primary-fixed-variant: #001223,
|
|
240
|
+
on-secondary-fixed: #000000,
|
|
241
|
+
on-secondary-fixed-variant: #001223,
|
|
242
|
+
on-tertiary-fixed: #000000,
|
|
243
|
+
on-tertiary-fixed-variant: #16033d,
|
|
244
|
+
surface-bright: #524e5a,
|
|
245
|
+
surface-container-lowest: #000000,
|
|
246
|
+
surface-container-low: #211e28,
|
|
247
|
+
surface-container: #322f3a,
|
|
248
|
+
surface-container-high: #3d3a45,
|
|
249
|
+
surface-container-highest: #494551,
|
|
250
|
+
on-surface: #ffffff,
|
|
251
|
+
on-surface-variant: #ffffff,
|
|
252
|
+
outline: #f5edff,
|
|
253
|
+
outline-variant: #c8bfd8,
|
|
254
|
+
inverse-on-surface: #000000,
|
|
255
|
+
inverse-primary: #004b79,
|
|
256
|
+
),
|
|
257
|
+
),
|
|
258
|
+
));
|
|
@@ -106,3 +106,77 @@
|
|
|
106
106
|
--#{$prefix}-sys-color-inverse-primary: #4e3f77;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
+
|
|
110
|
+
// contrast roles: generated, do not edit
|
|
111
|
+
@include create-theme-contrast("highcontrast", (
|
|
112
|
+
medium: (
|
|
113
|
+
light: (
|
|
114
|
+
error: #740006,
|
|
115
|
+
error-container: #cf2c27,
|
|
116
|
+
primary: #3c2d63,
|
|
117
|
+
primary-container: #74649f,
|
|
118
|
+
secondary: #393347,
|
|
119
|
+
secondary-container: #716a80,
|
|
120
|
+
tertiary: #502b38,
|
|
121
|
+
tertiary-container: #8e606f,
|
|
122
|
+
primary-fixed: #74649f,
|
|
123
|
+
primary-fixed-dim: #5b4c84,
|
|
124
|
+
secondary-fixed: #716a80,
|
|
125
|
+
secondary-fixed-dim: #585267,
|
|
126
|
+
tertiary-fixed: #8e606f,
|
|
127
|
+
tertiary-fixed-dim: #734856,
|
|
128
|
+
surface-dim: #cac5cc,
|
|
129
|
+
surface-container-low: #f8f2fa,
|
|
130
|
+
surface-container: #ece6ee,
|
|
131
|
+
surface-container-high: #e1dbe3,
|
|
132
|
+
surface-container-highest: #d5d0d8,
|
|
133
|
+
on-surface: #121016,
|
|
134
|
+
on-surface-variant: #38353d,
|
|
135
|
+
outline: #54515a,
|
|
136
|
+
outline-variant: #6f6b75,
|
|
137
|
+
inverse-on-surface: #f5eff7,
|
|
138
|
+
),
|
|
139
|
+
dark: (
|
|
140
|
+
error: #ffd2cc,
|
|
141
|
+
on-error: #540003,
|
|
142
|
+
error-container: #ff5449,
|
|
143
|
+
on-error-container: #000000,
|
|
144
|
+
primary: #e3d6ff,
|
|
145
|
+
on-primary: #2b1b52,
|
|
146
|
+
primary-container: #9887c5,
|
|
147
|
+
on-primary-container: #000000,
|
|
148
|
+
secondary: #e2d8f2,
|
|
149
|
+
on-secondary: #282336,
|
|
150
|
+
secondary-container: #958da4,
|
|
151
|
+
on-secondary-container: #000000,
|
|
152
|
+
tertiary: #ffd0dd,
|
|
153
|
+
on-tertiary: #3d1a27,
|
|
154
|
+
tertiary-container: #b58392,
|
|
155
|
+
on-tertiary-container: #000000,
|
|
156
|
+
on-primary-fixed: #16033d,
|
|
157
|
+
on-primary-fixed-variant: #3c2d63,
|
|
158
|
+
on-secondary-fixed: #130e20,
|
|
159
|
+
on-secondary-fixed-variant: #393347,
|
|
160
|
+
on-tertiary-fixed: #240613,
|
|
161
|
+
on-tertiary-fixed-variant: #502b38,
|
|
162
|
+
surface-bright: #46434a,
|
|
163
|
+
surface-container-lowest: #08070b,
|
|
164
|
+
surface-container-low: #1f1d22,
|
|
165
|
+
surface-container: #29272d,
|
|
166
|
+
surface-container-high: #343138,
|
|
167
|
+
surface-container-highest: #3f3c43,
|
|
168
|
+
on-surface-variant: #e0dae5,
|
|
169
|
+
outline: #b5b0bb,
|
|
170
|
+
outline-variant: #938e99,
|
|
171
|
+
inverse-on-surface: #2b292f,
|
|
172
|
+
),
|
|
173
|
+
),
|
|
174
|
+
high: (
|
|
175
|
+
light: (
|
|
176
|
+
|
|
177
|
+
),
|
|
178
|
+
dark: (
|
|
179
|
+
|
|
180
|
+
),
|
|
181
|
+
),
|
|
182
|
+
));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// src/styles/themes/_legacy.scss
|
|
2
|
+
// Medium/high contrast: Tonal Spot from seed #00489a, secondary from #ea9d97, tertiary from #ff3400.
|
|
2
3
|
// Deprecated in 0.10, removed in 1.0 (FLO-308): no replacement in mtrl: Radiooooo v4 ships its own palette.
|
|
3
4
|
// Legacy: the Radiooooo v3 palette. Values are the v3 ones, set by hand:
|
|
4
5
|
// bar blue on primary, selection orange on tertiary, the salmon selected-mode
|
|
@@ -80,3 +81,183 @@
|
|
|
80
81
|
@include status-colors-dark();
|
|
81
82
|
}
|
|
82
83
|
}
|
|
84
|
+
|
|
85
|
+
// contrast roles: generated, do not edit
|
|
86
|
+
@include create-theme-contrast("legacy", (
|
|
87
|
+
medium: (
|
|
88
|
+
light: (
|
|
89
|
+
error: #740006,
|
|
90
|
+
error-container: #cf2c27,
|
|
91
|
+
on-error-container: #ffffff,
|
|
92
|
+
primary: #173566,
|
|
93
|
+
primary-container: #526da1,
|
|
94
|
+
on-primary-container: #ffffff,
|
|
95
|
+
secondary: #5a2623,
|
|
96
|
+
secondary-container: #9c5b57,
|
|
97
|
+
on-secondary-container: #ffffff,
|
|
98
|
+
tertiary: #6e1100,
|
|
99
|
+
tertiary-container: #d22900,
|
|
100
|
+
on-tertiary-container: #ffffff,
|
|
101
|
+
primary-fixed: #526da1,
|
|
102
|
+
primary-fixed-dim: #395487,
|
|
103
|
+
on-primary-fixed: #ffffff,
|
|
104
|
+
on-primary-fixed-variant: #ffffff,
|
|
105
|
+
secondary-fixed: #9c5b57,
|
|
106
|
+
secondary-fixed-dim: #7f4440,
|
|
107
|
+
on-secondary-fixed: #ffffff,
|
|
108
|
+
on-secondary-fixed-variant: #ffffff,
|
|
109
|
+
tertiary-fixed: #d22900,
|
|
110
|
+
tertiary-fixed-dim: #a61e00,
|
|
111
|
+
on-tertiary-fixed: #ffffff,
|
|
112
|
+
on-tertiary-fixed-variant: #ffffff,
|
|
113
|
+
surface: #f9f9ff,
|
|
114
|
+
surface-dim: #c6c6cd,
|
|
115
|
+
surface-bright: #f9f9ff,
|
|
116
|
+
surface-variant: #e1e2ec,
|
|
117
|
+
surface-container-low: #f3f3fa,
|
|
118
|
+
surface-container: #e8e7ee,
|
|
119
|
+
surface-container-high: #dcdce3,
|
|
120
|
+
surface-container-highest: #d1d1d8,
|
|
121
|
+
on-surface: #0f1116,
|
|
122
|
+
on-surface-variant: #33363e,
|
|
123
|
+
outline: #50525a,
|
|
124
|
+
outline-variant: #6a6d75,
|
|
125
|
+
inverse-surface: #2f3036,
|
|
126
|
+
inverse-on-surface: #f0f0f7,
|
|
127
|
+
),
|
|
128
|
+
dark: (
|
|
129
|
+
error: #ffd2cc,
|
|
130
|
+
on-error: #540003,
|
|
131
|
+
error-container: #ff5449,
|
|
132
|
+
on-error-container: #000000,
|
|
133
|
+
primary: #cedcff,
|
|
134
|
+
on-primary: #002454,
|
|
135
|
+
primary-container: #7691c7,
|
|
136
|
+
on-primary-container: #000000,
|
|
137
|
+
secondary: #ffd2ce,
|
|
138
|
+
on-secondary: #451614,
|
|
139
|
+
secondary-container: #c57e78,
|
|
140
|
+
on-secondary-container: #000000,
|
|
141
|
+
tertiary: #ffd2c9,
|
|
142
|
+
on-tertiary: #500900,
|
|
143
|
+
tertiary-container: #ff5632,
|
|
144
|
+
on-tertiary-container: #000000,
|
|
145
|
+
primary-fixed: #d8e2ff,
|
|
146
|
+
primary-fixed-dim: #acc7ff,
|
|
147
|
+
on-primary-fixed: #00102d,
|
|
148
|
+
on-primary-fixed-variant: #173566,
|
|
149
|
+
secondary-fixed: #ffdad7,
|
|
150
|
+
secondary-fixed-dim: #ffb3ad,
|
|
151
|
+
on-secondary-fixed: #2a0304,
|
|
152
|
+
on-secondary-fixed-variant: #5a2623,
|
|
153
|
+
tertiary-fixed: #ffdad3,
|
|
154
|
+
tertiary-fixed-dim: #ffb4a4,
|
|
155
|
+
on-tertiary-fixed: #2a0300,
|
|
156
|
+
on-tertiary-fixed-variant: #6e1100,
|
|
157
|
+
surface: #111318,
|
|
158
|
+
surface-dim: #111318,
|
|
159
|
+
surface-bright: #43444a,
|
|
160
|
+
surface-variant: #44474f,
|
|
161
|
+
surface-container-lowest: #06070c,
|
|
162
|
+
surface-container-low: #1c1d22,
|
|
163
|
+
surface-container: #26282d,
|
|
164
|
+
surface-container-high: #313238,
|
|
165
|
+
surface-container-highest: #3c3d43,
|
|
166
|
+
on-surface: #ffffff,
|
|
167
|
+
on-surface-variant: #dadce6,
|
|
168
|
+
outline: #b0b1bb,
|
|
169
|
+
outline-variant: #8e9099,
|
|
170
|
+
inverse-surface: #e2e2e9,
|
|
171
|
+
inverse-on-surface: #282a2f,
|
|
172
|
+
inverse-primary: #2c4779,
|
|
173
|
+
),
|
|
174
|
+
),
|
|
175
|
+
high: (
|
|
176
|
+
light: (
|
|
177
|
+
error: #600004,
|
|
178
|
+
error-container: #98000a,
|
|
179
|
+
on-error-container: #ffffff,
|
|
180
|
+
primary: #082b5b,
|
|
181
|
+
primary-container: #2d497a,
|
|
182
|
+
on-primary-container: #ffffff,
|
|
183
|
+
secondary: #4e1c1a,
|
|
184
|
+
secondary-container: #713835,
|
|
185
|
+
on-secondary-container: #ffffff,
|
|
186
|
+
tertiary: #5c0c00,
|
|
187
|
+
tertiary-container: #901900,
|
|
188
|
+
on-tertiary-container: #ffffff,
|
|
189
|
+
primary-fixed: #2d497a,
|
|
190
|
+
primary-fixed-dim: #123262,
|
|
191
|
+
on-primary-fixed: #ffffff,
|
|
192
|
+
on-primary-fixed-variant: #ffffff,
|
|
193
|
+
secondary-fixed: #713835,
|
|
194
|
+
secondary-fixed-dim: #562320,
|
|
195
|
+
on-secondary-fixed: #ffffff,
|
|
196
|
+
on-secondary-fixed-variant: #ffffff,
|
|
197
|
+
tertiary-fixed: #901900,
|
|
198
|
+
tertiary-fixed-dim: #670f00,
|
|
199
|
+
on-tertiary-fixed: #ffffff,
|
|
200
|
+
on-tertiary-fixed-variant: #ffffff,
|
|
201
|
+
surface: #f9f9ff,
|
|
202
|
+
surface-dim: #b8b8bf,
|
|
203
|
+
surface-bright: #f9f9ff,
|
|
204
|
+
surface-variant: #e1e2ec,
|
|
205
|
+
surface-container-low: #f0f0f7,
|
|
206
|
+
surface-container: #e2e2e9,
|
|
207
|
+
surface-container-high: #d4d4db,
|
|
208
|
+
surface-container-highest: #c6c6cd,
|
|
209
|
+
on-surface: #000000,
|
|
210
|
+
on-surface-variant: #000000,
|
|
211
|
+
outline: #292c33,
|
|
212
|
+
outline-variant: #464951,
|
|
213
|
+
inverse-surface: #2f3036,
|
|
214
|
+
inverse-on-surface: #ffffff,
|
|
215
|
+
),
|
|
216
|
+
dark: (
|
|
217
|
+
error: #ffece9,
|
|
218
|
+
on-error: #000000,
|
|
219
|
+
error-container: #ffaea4,
|
|
220
|
+
on-error-container: #220001,
|
|
221
|
+
primary: #ecefff,
|
|
222
|
+
on-primary: #000000,
|
|
223
|
+
primary-container: #a8c3fc,
|
|
224
|
+
on-primary-container: #000a22,
|
|
225
|
+
secondary: #ffecea,
|
|
226
|
+
on-secondary: #000000,
|
|
227
|
+
secondary-container: #feaea8,
|
|
228
|
+
on-secondary-container: #210001,
|
|
229
|
+
tertiary: #ffece8,
|
|
230
|
+
on-tertiary: #000000,
|
|
231
|
+
tertiary-container: #ffaf9d,
|
|
232
|
+
on-tertiary-container: #200200,
|
|
233
|
+
primary-fixed: #d8e2ff,
|
|
234
|
+
primary-fixed-dim: #acc7ff,
|
|
235
|
+
on-primary-fixed: #000000,
|
|
236
|
+
on-primary-fixed-variant: #00102d,
|
|
237
|
+
secondary-fixed: #ffdad7,
|
|
238
|
+
secondary-fixed-dim: #ffb3ad,
|
|
239
|
+
on-secondary-fixed: #000000,
|
|
240
|
+
on-secondary-fixed-variant: #2a0304,
|
|
241
|
+
tertiary-fixed: #ffdad3,
|
|
242
|
+
tertiary-fixed-dim: #ffb4a4,
|
|
243
|
+
on-tertiary-fixed: #000000,
|
|
244
|
+
on-tertiary-fixed-variant: #2a0300,
|
|
245
|
+
surface: #111318,
|
|
246
|
+
surface-dim: #111318,
|
|
247
|
+
surface-bright: #4e5056,
|
|
248
|
+
surface-variant: #44474f,
|
|
249
|
+
surface-container-lowest: #000000,
|
|
250
|
+
surface-container-low: #1e2025,
|
|
251
|
+
surface-container: #2f3036,
|
|
252
|
+
surface-container-high: #3a3b41,
|
|
253
|
+
surface-container-highest: #45474c,
|
|
254
|
+
on-surface: #ffffff,
|
|
255
|
+
on-surface-variant: #ffffff,
|
|
256
|
+
outline: #eeeff9,
|
|
257
|
+
outline-variant: #c0c2cc,
|
|
258
|
+
inverse-surface: #e2e2e9,
|
|
259
|
+
inverse-on-surface: #000000,
|
|
260
|
+
inverse-primary: #2c4779,
|
|
261
|
+
),
|
|
262
|
+
),
|
|
263
|
+
));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// src/styles/themes/_material.scss
|
|
2
|
+
// Medium/high contrast: Tonal Spot from seed #6750a4, secondary from #5d5d74, tertiary from #7d5260.
|
|
2
3
|
// Deprecated in 0.10, removed in 1.0 (FLO-308): use `baseline`, M3's own baseline (this one doesn't match it).
|
|
3
4
|
@use "../abstract/base" as *;
|
|
4
5
|
@use "base-theme" as *;
|
|
@@ -88,3 +89,183 @@
|
|
|
88
89
|
@include status-colors-dark();
|
|
89
90
|
}
|
|
90
91
|
}
|
|
92
|
+
|
|
93
|
+
// contrast roles: generated, do not edit
|
|
94
|
+
@include create-theme-contrast("material", (
|
|
95
|
+
medium: (
|
|
96
|
+
light: (
|
|
97
|
+
error: #740006,
|
|
98
|
+
error-container: #cf2c27,
|
|
99
|
+
on-error-container: #ffffff,
|
|
100
|
+
primary: #3c2d63,
|
|
101
|
+
primary-container: #74649f,
|
|
102
|
+
on-primary-container: #ffffff,
|
|
103
|
+
secondary: #343449,
|
|
104
|
+
secondary-container: #6b6b83,
|
|
105
|
+
on-secondary-container: #ffffff,
|
|
106
|
+
tertiary: #502b38,
|
|
107
|
+
tertiary-container: #8d606f,
|
|
108
|
+
on-tertiary-container: #ffffff,
|
|
109
|
+
primary-fixed: #74649f,
|
|
110
|
+
primary-fixed-dim: #5b4c84,
|
|
111
|
+
on-primary-fixed: #ffffff,
|
|
112
|
+
on-primary-fixed-variant: #ffffff,
|
|
113
|
+
secondary-fixed: #6b6b83,
|
|
114
|
+
secondary-fixed-dim: #535369,
|
|
115
|
+
on-secondary-fixed: #ffffff,
|
|
116
|
+
on-secondary-fixed-variant: #ffffff,
|
|
117
|
+
tertiary-fixed: #8d606f,
|
|
118
|
+
tertiary-fixed-dim: #724956,
|
|
119
|
+
on-tertiary-fixed: #ffffff,
|
|
120
|
+
on-tertiary-fixed-variant: #ffffff,
|
|
121
|
+
surface: #fdf7ff,
|
|
122
|
+
surface-dim: #cac5cc,
|
|
123
|
+
surface-bright: #fdf7ff,
|
|
124
|
+
surface-variant: #e7e0eb,
|
|
125
|
+
surface-container-low: #f8f2fa,
|
|
126
|
+
surface-container: #ece6ee,
|
|
127
|
+
surface-container-high: #e1dbe3,
|
|
128
|
+
surface-container-highest: #d5d0d8,
|
|
129
|
+
on-surface: #121016,
|
|
130
|
+
on-surface-variant: #38353d,
|
|
131
|
+
outline: #54515a,
|
|
132
|
+
outline-variant: #6f6b75,
|
|
133
|
+
inverse-surface: #322f35,
|
|
134
|
+
inverse-on-surface: #f5eff7,
|
|
135
|
+
inverse-primary: #cfbdfe,
|
|
136
|
+
),
|
|
137
|
+
dark: (
|
|
138
|
+
error: #ffd2cc,
|
|
139
|
+
on-error: #540003,
|
|
140
|
+
error-container: #ff5449,
|
|
141
|
+
on-error-container: #000000,
|
|
142
|
+
primary: #e3d6ff,
|
|
143
|
+
on-primary: #2b1b52,
|
|
144
|
+
primary-container: #9887c5,
|
|
145
|
+
on-primary-container: #000000,
|
|
146
|
+
secondary: #dbdaf5,
|
|
147
|
+
on-secondary: #232438,
|
|
148
|
+
secondary-container: #8f8ea7,
|
|
149
|
+
on-secondary-container: #000000,
|
|
150
|
+
tertiary: #ffd0dd,
|
|
151
|
+
on-tertiary: #3d1b27,
|
|
152
|
+
tertiary-container: #b48392,
|
|
153
|
+
on-tertiary-container: #000000,
|
|
154
|
+
primary-fixed: #e9ddff,
|
|
155
|
+
primary-fixed-dim: #cfbdfe,
|
|
156
|
+
on-primary-fixed: #16033d,
|
|
157
|
+
on-primary-fixed-variant: #3c2d63,
|
|
158
|
+
secondary-fixed: #e2e0fb,
|
|
159
|
+
secondary-fixed-dim: #c5c4df,
|
|
160
|
+
on-secondary-fixed: #0f0f22,
|
|
161
|
+
on-secondary-fixed-variant: #343449,
|
|
162
|
+
tertiary-fixed: #ffd9e3,
|
|
163
|
+
tertiary-fixed-dim: #eeb8c8,
|
|
164
|
+
on-tertiary-fixed: #240713,
|
|
165
|
+
on-tertiary-fixed-variant: #502b38,
|
|
166
|
+
surface: #141218,
|
|
167
|
+
surface-bright: #46434a,
|
|
168
|
+
surface-variant: #49454e,
|
|
169
|
+
surface-container-lowest: #08070b,
|
|
170
|
+
surface-container-low: #1f1d22,
|
|
171
|
+
surface-container: #29272d,
|
|
172
|
+
surface-container-high: #343138,
|
|
173
|
+
surface-container-highest: #3f3c43,
|
|
174
|
+
on-surface: #ffffff,
|
|
175
|
+
on-surface-variant: #e0dae5,
|
|
176
|
+
outline: #b5b0bb,
|
|
177
|
+
outline-variant: #938e99,
|
|
178
|
+
inverse-surface: #e6e0e9,
|
|
179
|
+
inverse-on-surface: #2b292f,
|
|
180
|
+
inverse-primary: #4e3f77,
|
|
181
|
+
),
|
|
182
|
+
),
|
|
183
|
+
high: (
|
|
184
|
+
light: (
|
|
185
|
+
error: #600004,
|
|
186
|
+
error-container: #98000a,
|
|
187
|
+
on-error-container: #ffffff,
|
|
188
|
+
primary: #312259,
|
|
189
|
+
primary-container: #4f4078,
|
|
190
|
+
on-primary-container: #ffffff,
|
|
191
|
+
secondary: #2a2a3f,
|
|
192
|
+
secondary-container: #47475d,
|
|
193
|
+
on-secondary-container: #ffffff,
|
|
194
|
+
tertiary: #44212e,
|
|
195
|
+
tertiary-container: #653d4b,
|
|
196
|
+
on-tertiary-container: #ffffff,
|
|
197
|
+
primary-fixed: #4f4078,
|
|
198
|
+
primary-fixed-dim: #382960,
|
|
199
|
+
on-primary-fixed: #ffffff,
|
|
200
|
+
on-primary-fixed-variant: #ffffff,
|
|
201
|
+
secondary-fixed: #47475d,
|
|
202
|
+
secondary-fixed-dim: #303146,
|
|
203
|
+
on-secondary-fixed: #ffffff,
|
|
204
|
+
on-secondary-fixed-variant: #ffffff,
|
|
205
|
+
tertiary-fixed: #653d4b,
|
|
206
|
+
tertiary-fixed-dim: #4c2734,
|
|
207
|
+
on-tertiary-fixed: #ffffff,
|
|
208
|
+
on-tertiary-fixed-variant: #ffffff,
|
|
209
|
+
surface: #fdf7ff,
|
|
210
|
+
surface-dim: #bcb7bf,
|
|
211
|
+
surface-bright: #fdf7ff,
|
|
212
|
+
surface-variant: #e7e0eb,
|
|
213
|
+
surface-container-low: #f5eff7,
|
|
214
|
+
surface-container: #e6e0e9,
|
|
215
|
+
surface-container-high: #d8d2da,
|
|
216
|
+
surface-container-highest: #cac5cc,
|
|
217
|
+
on-surface: #000000,
|
|
218
|
+
on-surface-variant: #000000,
|
|
219
|
+
outline: #2e2b33,
|
|
220
|
+
outline-variant: #4b4851,
|
|
221
|
+
inverse-surface: #322f35,
|
|
222
|
+
inverse-on-surface: #ffffff,
|
|
223
|
+
inverse-primary: #cfbdfe,
|
|
224
|
+
),
|
|
225
|
+
dark: (
|
|
226
|
+
error: #ffece9,
|
|
227
|
+
on-error: #000000,
|
|
228
|
+
error-container: #ffaea4,
|
|
229
|
+
on-error-container: #220001,
|
|
230
|
+
primary: #f5edff,
|
|
231
|
+
on-primary: #000000,
|
|
232
|
+
primary-container: #cbb9fa,
|
|
233
|
+
on-primary-container: #0f0033,
|
|
234
|
+
secondary: #f1eeff,
|
|
235
|
+
on-secondary: #000000,
|
|
236
|
+
secondary-container: #c1c0db,
|
|
237
|
+
on-secondary-container: #09091c,
|
|
238
|
+
tertiary: #ffebef,
|
|
239
|
+
on-tertiary: #000000,
|
|
240
|
+
tertiary-container: #eab4c4,
|
|
241
|
+
on-tertiary-container: #1d030d,
|
|
242
|
+
primary-fixed: #e9ddff,
|
|
243
|
+
primary-fixed-dim: #cfbdfe,
|
|
244
|
+
on-primary-fixed: #000000,
|
|
245
|
+
on-primary-fixed-variant: #16033d,
|
|
246
|
+
secondary-fixed: #e2e0fb,
|
|
247
|
+
secondary-fixed-dim: #c5c4df,
|
|
248
|
+
on-secondary-fixed: #000000,
|
|
249
|
+
on-secondary-fixed-variant: #0f0f22,
|
|
250
|
+
tertiary-fixed: #ffd9e3,
|
|
251
|
+
tertiary-fixed-dim: #eeb8c8,
|
|
252
|
+
on-tertiary-fixed: #000000,
|
|
253
|
+
on-tertiary-fixed-variant: #240713,
|
|
254
|
+
surface: #141218,
|
|
255
|
+
surface-bright: #524f55,
|
|
256
|
+
surface-variant: #49454e,
|
|
257
|
+
surface-container-lowest: #000000,
|
|
258
|
+
surface-container-low: #211f24,
|
|
259
|
+
surface-container: #322f35,
|
|
260
|
+
surface-container-high: #3d3a41,
|
|
261
|
+
surface-container-highest: #48464c,
|
|
262
|
+
on-surface: #ffffff,
|
|
263
|
+
on-surface-variant: #ffffff,
|
|
264
|
+
outline: #f4eef9,
|
|
265
|
+
outline-variant: #c6c0cb,
|
|
266
|
+
inverse-surface: #e6e0e9,
|
|
267
|
+
inverse-on-surface: #000000,
|
|
268
|
+
inverse-primary: #4e3f77,
|
|
269
|
+
),
|
|
270
|
+
),
|
|
271
|
+
));
|