Skip to content

Commit

Permalink
feat: use common constants for card's radiuses
Browse files Browse the repository at this point in the history
  • Loading branch information
Arucard89 committed Jun 28, 2024
1 parent 69c6af7 commit 6517e92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Card/Card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ $block: '.#{variables.$ns}card';

&_size {
&_m {
--_--border-radius: 8px;
--_--border-radius: var(--g-border-radius-l);
}

&_l {
--_--border-radius: 16px;
--_--border-radius: var(--g-border-radius-xxl);
}
}
}
1 change: 1 addition & 0 deletions styles/themes/common/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
--g-border-radius-m: 6px;
--g-border-radius-l: 8px;
--g-border-radius-xl: 10px;
--g-border-radius-xxl: 16px;

--g-focus-border-radius: 2px;

Expand Down

0 comments on commit 6517e92

Please sign in to comment.