diff --git a/demo/styles.html b/demo/styles.html index 39e37ff..d12da7e 100644 --- a/demo/styles.html +++ b/demo/styles.html @@ -206,7 +206,7 @@
Border radius
The most commonly used roundness. It’s recommended to keep the value between 0em and calc(var(--lumo-size-m) / 2)
--lumo-border-radius-l
Use for large containers, such as cards and dialogs. It’s recommended to keep the value between 0em and 0.5em
-
--lumo-border-radius: var(--lumo-border-radius-m)
+
--lumo-border-radius
Deprecated. Use --lumo-border-radius-m instead.
diff --git a/style.html b/style.html index 019c1d0..49a432e 100644 --- a/style.html +++ b/style.html @@ -6,9 +6,9 @@ html { /* Border radius */ --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */ - --lumo-border-radius-m: 0.25em; /* Button, text field, menu overlay, etc */ + --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */ --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */ - --lumo-border-radius: var(--lumo-border-radius-m); /* Backwards compatibility */ + --lumo-border-radius: 0.25em; /* Deprecated */ /* Shadow */ --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);