We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently there is no easy way to change the background of the "Refuse cookies" button.
In the cookieconsent.min.css is the background color set to transparent.
.cc-highlight .cc-btn:first-child { background-color: transparent; border-color: transparent; }
In the NgcCookieConsentConfig should be an option denyButton :
denyButton
const cookieConfig: NgcCookieConsentConfig = { palette: { popup: { background: 'rgba(0,0,0,0.96)', text: '#ffffff', link: '#ffffff', }, button: { background: '#4BFF31FF', text: '#FFFFFF', border: 'transparent', }, denyButton: { background: '#BB2727FF', text: '#D7D7D7FF', border: 'transparent', },
Using the deprecated ng-deep override does also not work.
:host ::ng-deep .cc-deny { background-color: rgb(86, 172, 62) !important; }
I use Angular 16.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is your feature request related to a problem? Please describe
Currently there is no easy way to change the background of the "Refuse cookies" button.
In the cookieconsent.min.css is the background color set to transparent.
Describe the idea you'd like
In the NgcCookieConsentConfig should be an option
denyButton
:Describe alternatives you've considered
Using the deprecated ng-deep override does also not work.
Additional context
I use Angular 16.
The text was updated successfully, but these errors were encountered: