app/components/coco/buttons/button/button.css in coveragebook_components-0.19.0 vs app/components/coco/buttons/button/button.css in coveragebook_components-0.19.1
- old
+ new
@@ -1,6 +1,10 @@
@layer components {
+ :root {
+ --button-border-radius: 44px;
+ }
+
.coco-button-wrapper {
@apply !contents;
}
[data-coco].coco-button {
@@ -81,10 +85,10 @@
/* Themes */
&[data-theme] {
@apply transition-all overflow-hidden;
- border-radius: 44px;
+ border-radius: var(--button-border-radius);
.button-content {
@apply font-semibold;
}
}