InitColorSchemeScriptProps
Properties
Link copied to clipboard
The node (provided as string) used to attach the color-scheme attribute.
Link copied to clipboard
localStorage key used to store colorScheme.
Link copied to clipboard
The default color scheme to be used on the dark mode.
Link copied to clipboard
The default color scheme to be used on the light mode.
Link copied to clipboard
The default mode when the storage is empty (user's first visit).
Link copied to clipboard
localStorage key used to store mode.