You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
@@ -244,7 +218,7 @@ these mixins within CSS selectors like `.foo-select` to apply styling.
244
218
245
219
Mixin | Description
246
220
--- | ---
247
-
`mdc-select-ink-color($color)` | Customizes the color of the selected item displayed in the select. On the css version, this also customizes the color of the label.
221
+
`mdc-select-ink-color($color)` | Customizes the color of the selected item displayed in the select.
248
222
`mdc-select-container-fill-color($color)` | Customizes the background color of the select.
249
223
`mdc-select-label-color($color)` | Customizes the label color of the select in the unfocused state. This mixin is only used for the JS version of the select.
250
224
`mdc-select-focused-label-color($color, $opacity: 0.87)` | Customizes the label color of the select when focused. Changing opacity for the label when floating is optional.
@@ -393,96 +367,3 @@ Enables/disables the select.
393
367
## Theming
394
368
395
369
The select's bottom border is set to the current theme's primary color when focused.
396
-
397
-
## Tips / Tricks
398
-
399
-
### Switching between selects for better cross-device UX
400
-
401
-
Selects are a tricky beast on the web. Many times, a custom select component will work well on large
402
-
devices with mouse/keyboard capability, but fail miserably on smaller-scale devices without
403
-
fine-grained pointer capability, such as a phone. Because `mdc-select` works on native selects, you
404
-
can easily switch between a custom select on larger devices and a native element on smaller ones.
405
-
406
-
First, wrap both a custom select and a native select within a wrapper element, let's call it the
0 commit comments