vueless 1.2.5-beta.6 → 1.2.5-beta.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/theme.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "1.2.5-beta.6",
3
+ "version": "1.2.5-beta.7",
4
4
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
5
5
  "author": "Johnny Grid <hello@vueless.com> (https://vueless.com)",
6
6
  "homepage": "https://vueless.com",
package/utils/theme.ts CHANGED
@@ -124,7 +124,7 @@ function setCSRColorMode(mode: `${ColorMode}`): SetColorMode {
124
124
  }
125
125
 
126
126
  /* Define color mode cookies to be used in both CSR and SSR */
127
- if (mode || getCookie(AUTO_MODE_KEY) === null) {
127
+ if (mode || getCookie(AUTO_MODE_KEY) === undefined) {
128
128
  setCookie(COLOR_MODE_KEY, currentColorMode);
129
129
  setCookie(AUTO_MODE_KEY, String(Number(isAutoMode)));
130
130