Skip to content

v1.6.1 — light-theme banner fix

Choose a tag to compare

@vadikcoma vadikcoma released this 12 Aug 18:42
· 1 commit to main since this release

Fixed

  • Outline button (Reject) was invisible on the default light theme. .ccc-btn--outline had a hard-coded border: 2px solid rgba(255,255,255,0.35), written for a dark banner. Since the plugin's default palette is light (--ccc-bg: #f4f4f4), the border rendered white-on-near-white on every default install — contrast ratio ~1.0, no visible affordance. The border now derives from the button's own text colour (color-mix(in srgb, currentColor 40%, transparent), with an rgba fallback for older browsers), so it works on light and dark palettes alike. Same fix applied to the hover state and to #ccc-modal.

No settings, markup, or JS behaviour changed — CSS only.

Deployment note

Sites still running a versioned plugin folder (coma-cookie-consent-X.Y.Z/, from a manual zip install rather than the deploy pipeline) are skipped by the automated rollout and won't receive this release until renamed to the unversioned coma-cookie-consent/. Versioned folders also mean every upgrade changes every asset URL, and browsers cache old-path 404s for up to 30 days — if a site's banner is unstyled after an update, check for this first.

Full Changelog: v1.6.0...v1.6.1