ph-utils 0.9.1 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/lib/theme.js +1 -1
  2. package/package.json +1 -1
package/lib/theme.js CHANGED
@@ -133,7 +133,7 @@ export async function toggleColorTheme(color) {
133
133
  */
134
134
  export function applyColorTheme(color, cache = true) {
135
135
  if (cache === true) {
136
- localStorage.setItem("web-theme-color", color.substring(1));
136
+ localStorage.setItem("web-theme-color", color);
137
137
  }
138
138
  return toggleColorTheme(color);
139
139
  }
package/package.json CHANGED
@@ -64,7 +64,7 @@
64
64
  },
65
65
  "./*": "./lib/*"
66
66
  },
67
- "version": "0.9.1",
67
+ "version": "0.9.3",
68
68
  "type": "module",
69
69
  "repository": {
70
70
  "type": "git",