Looking for Vue, React, Angular, Laravel Version? Click here to Get 5 in 1 JS Bundle.

Theme colors

  1. "theme_color": {
            "colors": {
                "--primary": "#3a57e8",
                "--info": "#08B1BA"
            },
            "value": "theme-color-default"
        }
  2. To get the current value of the following you can use:

    theme_color

    const themeColor = useSelector(SettingSelector.theme_color)
  3. To use action you can use dispatch to update state.js.

    theme_color

    dispatch(theme_color({value: colorClassName, colors: colorObj}))