Theme
-
theme_scheme_direction
- For direction of theme there are 2 choices given below:
"theme_scheme_direction": { "value": "ltr" }, choices: 'ltr', 'rtl'
-
theme_scheme
- For theme there are 3 choices given below:
"theme_scheme": { "value": "light" }, choices: 'light', 'dark', 'auto'
- To get the current value of the following you can use:
theme_scheme
const themeScheme = useSelector(SettingSelector.theme_scheme)
theme_scheme_direction
const themeSchemeDirection = useSelector(SettingSelector.theme_scheme_direction)
- To use action you can use dispatch to update state.js.
theme_scheme
dispatch(theme_scheme(value))
theme_scheme_direction
dispatch(theme_scheme_direction(value))