Add CSS custom properties for font size and button radius
Expose --probo-font-size and --probo-btn-radius so customers can scale typography and button shape without overriding internals. The type scale now uses calc() offsets from the base variable. The settings button defaults now follow --probo-accent so a single accent change updates both the banner and the floating button. Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -66,6 +66,8 @@ probo-cookie-banner {
|
||||
--probo-accent-text: #ffffff;
|
||||
--probo-overlay: rgba(0, 0, 0, 0.4);
|
||||
--probo-z-index: 2147483646;
|
||||
--probo-btn-radius: 8px;
|
||||
--probo-font-size: 14px;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user