sk-clib 1.9.0 → 1.10.0

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.
@@ -43,7 +43,11 @@
43
43
  const built = build(theme.seedColor, theme.mode, theme.variant);
44
44
 
45
45
  // Create css variables object and save to body
46
- const applied = applyScheme(built);
46
+ let applied = applyScheme(built);
47
+
48
+ // Inject Seed Color
49
+ applied["--color-primary-fallback"] = applied["--color-primary"]
50
+ applied["--color-primary"] = theme.seedColor
47
51
 
48
52
  // Save the theme to the user's cookies
49
53
  saveTheme(applied);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sk-clib",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",