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

Theme

  1. theme_scheme_direction

    - For direction of theme there are 2 choices given below:

    "theme_scheme_direction": {
    "value": "ltr"
    },
    choices: 'ltr', 'rtl'
  2. theme_scheme

    - For theme there are 3 choices given below:

    "theme_scheme": {
    "value": "light"
    },
    choices: 'light', 'dark', 'auto'
  3. To get the current value of the following you can use:

    theme_scheme

    const themeScheme = computed(() => store.getters['setting/theme_scheme'])

    theme_scheme_direction

    const direction = computed(() => store.getters['setting/theme_scheme_direction'])
  4. To use action you can use store.dispatch to update state.js.

    theme_scheme

    store.dispatch('setting/theme_scheme', value)

    theme_scheme_direction

    store.dispatch('setting/theme_scheme_direction', value)