feat(slide-toggle): Customized slide toggle for theming featuring light / dark mode icon #28977
Labels
area: material/slide-toggle
feature
This issue represents a new feature or feature request rather than a bug or bug fix
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Feature Description
The feature I am suggesting is to add and additional slide-toggle button option
that is already customized for theme switching control.
mdc-switch__icons
SVG
s that are currently withinI implemented it in one of my projects using vanilla JS and thought that it might be nice to have it as and option available
here is a screenshot from my app:
Light Mode
Dark Mode
I have now implemented it on a second app too
Use Case
The
slide-toggle
component is often used as theme switcher,so I think that it would be very nice to have it ready and available.
The new design makes it easy to implement.
The text was updated successfully, but these errors were encountered: