Theme colors
-
"theme_color": { "colors": { "--primary": "#3a57e8", "--info": "#08B1BA" }, "value": "theme-color-default" }
- To get the current value of the following you can use:
theme_color
const themeColor = useSelector(SettingSelector.theme_color)
- To use action you can use dispatch to update state.js.
theme_color
dispatch(theme_color({value: colorClassName, colors: colorObj}))