color-mode
color-mode copied to clipboard
Support set html attribute
Is your feature request related to a problem? Please describe.
Some UI Library use specific attribute on element to switch color mode. Like <html color-mode="dark">
Describe the solution you'd like
Add a option allow user set the specific attribute on element.
Describe alternatives you've considered
I don't know there is any alternatives available
Additional context
https://tdesign.tencent.com/vue-next/dark-mode-en#usage
#215