@craftzing/cookiebot-style-override
v1.0.8
Published
override default style cookiebot modal
Downloads
3
Keywords
Readme
cookiebot-style-override
Override the color/fonts used in the cookiebot cookie consent modal.
🧙 Installation
Using npm:
npm install @craftzing/cookiebot-style-override
Using yarn:
yarn add @craftzing/cookiebot-style-override
⚙️ Configuration
Setup cookiebot
- https://www.cookiebot.com/en/help/
Import package
In Nuxt you can add the package to the css property inside the config file
css: [
{ src: '@craftzing/cookiebot-style-override', lang: 'css' }
],
Custom style options
Add the following css vars in your project
--accent-color: ;
--background-color: ;
--text-color: ;
--font-family: ;
--hover-animation-duration: ;
--toggle-false-bgc: ;