ColorSchemeProvider
ColorSchemeProvider is an optional React context provider to enable dark mode
Props
Variants
Color scheme
Specify a light or dark color scheme for components
Related
Link / Button / IconButton / TapArea / DropDown / Callout / Upsell / ActivationCard
If these components are under a ColorSchemeProvider, their link behavior defaults to the logic defined in ColorSchemeProvider. In order to disable the onNavigation logic, we can return "dangerouslyDisableOnNavigation" in the onClick
callback. See each component page for more information.