@coreui/vue-pro 4.9.0-beta.0 → 4.9.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -46,7 +46,7 @@
46
46
 
47
47
  Several quick start options are available:
48
48
 
49
- - [Download the latest release](https://github.com/coreui/coreui-vue-pro/archive/v4.9.0-beta.0.zip)
49
+ - [Download the latest release](https://github.com/coreui/coreui-vue-pro/archive/v4.9.0-beta.1.zip)
50
50
  - Clone the repo: `git clone https://github.com/coreui/coreui-vue-pro.git`
51
51
  - Install with [npm](https://www.npmjs.com/): `npm install @coreui/vue-pro`
52
52
  - Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/vue-pro`
@@ -1,4 +1,5 @@
1
1
  export declare const useColorModes: (localStorageItemName?: string) => {
2
2
  getColorMode: () => string;
3
+ isColorModeSet: () => boolean;
3
4
  setColorMode: (mode: string) => void;
4
5
  };
package/dist/index.es.js CHANGED
@@ -16440,6 +16440,7 @@ const useColorModes = (localStorageItemName = 'coreui-vue-color-scheme') => {
16440
16440
  });
16441
16441
  return {
16442
16442
  getColorMode: () => colorMode.value,
16443
+ isColorModeSet: () => Boolean(getStoredTheme(localStorageItemName)),
16443
16444
  setColorMode: (mode) => {
16444
16445
  colorMode.value = mode;
16445
16446
  },