Disable cookie banner dark mode #2416
Unanswered
freewheeling-franklyn
asked this question in
Help
Replies: 2 comments 2 replies
-
|
Hi, I always overwrite the cookie banner color constants based on the site’s color style. :root {
--pcb-font-base-size: 15px;
--pcb-bg: #fff;
--pcb-text-color: #343435;
--pcb-headings-color: #283149;
--pcb-border-color: #e1e1e1;
--pcb-bg-light: #f6f6f9;
--pcb-btn-primary-bg: #e7e8ea;
--pcb-btn-primary-bg-hover: #cbcdd2;
--pcb-btn-primary-text: #283149;
--pcb-btn-primary-text-hover: #283149;
--pcb-btn-secondary-bg: #000;
--pcb-btn-secondary-bg-hover: #6a7278;
--pcb-btn-secondary-text: #fff;
--pcb-btn-secondary-text-hover: #fff;
--pcb-btn-link: #283149;
--pcb-btn-link-hover: #6a7278;
--pcb-badge-bg: #000;
--pcb-badge-bg-hover: #6a7278;
--pcb-badge-color: #fff;
--pcb-badge-color-hover: #fff;
} |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Hi, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear community,
I use the Mellisa theme and disabled the automatic dark mode for a website (Theme settings > Colors > Light), but the cookie banner still switches to dark mode if it is turned on in the browser settings. How can I get the cookie banner to adopt the theme settings?
Thank you in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions