Skip to content

Commit

Permalink
feat: new variables for card radius
Browse files Browse the repository at this point in the history
  • Loading branch information
Arucard89 committed Jun 28, 2024
1 parent 6517e92 commit a50b460
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: var(--g-border-radius-l);
--_--border-radius: var(--g-border-radius-card-m);
}

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

--g-border-radius-card-m: 8px;
--g-border-radius-card-l: 16px;

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

Expand Down

0 comments on commit a50b460

Please sign in to comment.