Skip to content

Commit

Permalink
fix: utilize border radius variables in classic theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Juveniel authored and joneff committed Feb 17, 2022
1 parent 54a6aa9 commit 69968ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions packages/classic/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ $padding-y-lg: $padding-y * 1.5 !default;
/// Border radius for all components.
$border-radius: map-get( $spacing, 1 ) !default;
$border-radius-sm: $border-radius / 2 !default;
$border-radius-md: $border-radius !default;
$border-radius-lg: $border-radius * 2 !default;

$panel-padding-x: $padding-x !default;
Expand Down
8 changes: 4 additions & 4 deletions packages/classic/scss/utils/_border.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
$utils-border-radius: (
default: map-get( $spacing, 1 ),
default: $border-radius-md,
0: 0,
sm: map-get( $spacing, 1) / 2,
md: map-get( $spacing, 1),
lg: map-get( $spacing, 1) * 1.5,
sm: $border-radius-sm,
md: $border-radius-md,
lg: $border-radius-lg,
full: 9999px
) !default;

Expand Down

0 comments on commit 69968ac

Please sign in to comment.