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
|
-
|
|
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);
|