ph-utils 0.9.1 → 0.9.3

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/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",