theme
Sets the color scheme for an element.
Overview
Setting the theme attribute changes the font color for text. Badge colors are also affected if the color is changed using CSS. The background image is not affected by the theme attribute. Templates default to light unless otherwise specified. theme can be used with all templates. The following templates default to dark:
Values for theme
darkThe theme is set to dark.
lightThe theme is set to light.
Elements that Use theme
The theme attribute can be used with any element.