Skip to content

[Docs] Cookie consent banner and preference center don't adapt to site theme #3917

Description

@brionmario

Document issue type

Type/Bug (Report inaccuracies, outdated information, or missing details in the existing content)

Description

On the documentation site, the cookie consent banner and the "Cookie Preference Center" modal don't adapt to the site's light/dark theme toggle. They render with fixed, unthemed styling regardless of which mode the site is in, which causes several visible problems:

  • Poor contrast in dark mode — some panels (e.g. individual cookie category sections) render with a light/white background against the otherwise dark modal.
  • The brand logo shown in the preference center is hard to read against a dark background.
  • Fonts, colors, button styles, and toggle switches in the consent UI don't match the site's overall look, so the whole widget feels visually disconnected from the rest of the page.

Expected: the cookie consent banner and preference center should respect the site's active theme and follow the same visual design language (colors, typography, spacing, controls) as the rest of the docs site.

Image

Version

0.48.0

Metadata

Metadata

Assignees

Type

Fields

No fields configured for Bug.

Projects

Status
Done
Status
Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions