astro-consent 1.0.6 → 1.0.7

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/dist/index.js +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -14,6 +14,10 @@ export default function astroConsent(options = {}) {
14
14
  name: "astro-consent",
15
15
  hooks: {
16
16
  "astro:config:setup": ({ injectScript }) => {
17
+ /* ─────────────────────────────────────
18
+ LOAD USER CSS (required)
19
+ ───────────────────────────────────── */
20
+ injectScript("head-inline", `@import "/src/cookiebanner.css";`);
17
21
  /* ─────────────────────────────────────
18
22
  Consent runtime (NO CSS)
19
23
  ───────────────────────────────────── */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-consent",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "A privacy-first, GDPR-compliant cookie consent banner for Astro with a built-in preferences modal, zero dependencies, and full theme control.",
5
5
  "type": "module",
6
6
  "author": {