@sofidevo/astro-dynamic-header 5.0.3 → 5.0.4
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.
- package/package.json +1 -1
- package/src/Header.astro +3 -0
package/package.json
CHANGED
package/src/Header.astro
CHANGED
|
@@ -233,6 +233,7 @@ const forcedClass = preset !== "auto" ? `header--force-${preset}` : "";
|
|
|
233
233
|
--text-color: var(--d-text, #ffffff);
|
|
234
234
|
--accent-color: var(--d-accent, #00ffff);
|
|
235
235
|
--backdrop-blur: var(--d-blur, blur(20px));
|
|
236
|
+
background-color: var(--bg-color);
|
|
236
237
|
}
|
|
237
238
|
|
|
238
239
|
/* Forced themes: higher specificity than .header, no !important needed */
|
|
@@ -242,6 +243,7 @@ const forcedClass = preset !== "auto" ? `header--force-${preset}` : "";
|
|
|
242
243
|
--text-color: var(--d-text, #ffffff);
|
|
243
244
|
--accent-color: var(--d-accent, #00ffff);
|
|
244
245
|
--backdrop-blur: var(--d-blur, blur(30px));
|
|
246
|
+
background-color: var(--bg-color);
|
|
245
247
|
}
|
|
246
248
|
|
|
247
249
|
.header.header--force-light {
|
|
@@ -250,6 +252,7 @@ const forcedClass = preset !== "auto" ? `header--force-${preset}` : "";
|
|
|
250
252
|
--text-color: var(--l-text, #1a1a1a);
|
|
251
253
|
--accent-color: var(--l-accent, #3e1c71);
|
|
252
254
|
--backdrop-blur: var(--l-blur, blur(30px));
|
|
255
|
+
background-color: var(--bg-color);
|
|
253
256
|
}
|
|
254
257
|
|
|
255
258
|
.header__container {
|