Commit Graph
13 Commits
Author SHA1 Message Date
danielandClaude Sonnet 5 1ea70c6d26 Make banner and button styling configurable via CSS custom properties
Sites had to copy the entire stylesheet to change colors or sizing.
Every value is now backed by a --cookie-* custom property with the
original value as fallback, so sites can override just what they need
from their own CSS. Also fixes the README's @import path, which had
gone stale since the stylesheet was renamed and moved in 5597e11.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-08 21:01:18 +02:00
danielandClaude Sonnet 5 3f511f5e6f Log a clear console error when the cookie banner is missing
Silently returning made a missing banner.html integration
indistinguishable from a working page, which cost real debugging
time. Fail loud instead, pointing at the README.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-08 19:26:04 +02:00
daniel fe2cb13aff Add missing dot. 2026-06-16 21:02:24 +02:00
daniel 7187f7bb2a Fix element ID. 2026-06-16 20:59:17 +02:00
daniel ac0e1ed8c6 Use dash rather than underscore for class attribute. 2026-06-16 20:35:52 +02:00
daniel 5597e11a69 Move stylesheet one level up and rename it. 2026-06-16 17:13:35 +02:00
daniel a607faec9a Update banner for small screens. 2026-06-15 21:18:11 +02:00
daniel 4c5a2f2225 Fix styling of button and banner. 2026-06-15 20:15:46 +02:00
daniel b38f424c84 Explicitly set colors of banner. 2026-06-15 05:48:01 +02:00
daniel ad727cd739 Fix styling. 2026-06-14 23:14:56 +02:00
daniel 4a15ba4359 Add module name. 2026-06-14 12:54:57 +02:00
daniel f8fdeb2ba2 Use subdirectories and underscores in file names. 2026-06-14 11:33:51 +02:00
daniel cb07db14dc First draft. 2026-06-14 11:14:34 +02:00