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:
Émile Ré
2026-04-17 12:46:47 +04:00
parent 0ab448691d
commit 80a4d44e6d
3 changed files with 13 additions and 12 deletions

View File

@@ -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;
}
```