Skip to content

Commit

Permalink
Revert breaking change to --lumo-border-radius (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
jouni authored and web-padawan committed Jan 25, 2019
1 parent dab9a79 commit e348eb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demo/styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ <h5>Border radius</h5>
<dd>The most commonly used roundness. It’s recommended to keep the value between <code>0em</code> and <code>calc(var(--lumo-size-m) / 2)</code></dd>
<dt>--lumo-border-radius-l</dt>
<dd>Use for large containers, such as cards and dialogs. It’s recommended to keep the value between <code>0em</code> and <code>0.5em</code></dd>
<dt>--lumo-border-radius: <code>var(--lumo-border-radius-m)</code></dt>
<dt>--lumo-border-radius</dt>
<dd>Deprecated. Use <code>--lumo-border-radius-m</code> instead.</dd>
</dl>

Expand Down
4 changes: 2 additions & 2 deletions style.html
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e348eb0

Please sign in to comment.