Skip to content

Commit

Permalink
fix: change default border radius in material 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 f1db475 commit 54a6aa9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions packages/material/scss/_variables.scss
Expand Up @@ -125,9 +125,10 @@ $padding-x-lg: $padding-x * 1.5 !default;
$padding-y-lg: $padding-y * 1.5 !default;

/// Border radius for all components.
$border-radius: 2px !default;
$border-radius: map-get( $spacing, 1 ) !default;
$border-radius-sm: $border-radius / 2 !default;
$border-radius-lg: $border-radius * 2 !default;
$border-radius-md: $border-radius !default;
$border-radius-lg: $border-radius * 1.5 !default;

$panel-padding-x: $padding-x !default;
$panel-padding-y: $padding-y !default;
Expand Down
8 changes: 4 additions & 4 deletions packages/material/scss/utils/_border.scss
@@ -1,9 +1,9 @@
$utils-border-radius: (
default: map-get( $spacing, 1 ),
default: $border-radius-md,
0: 0,
sm: .125rem,
md: .25rem,
lg: .375rem,
sm: $border-radius-sm,
md: $border-radius-md,
lg: $border-radius-lg,
full: 9999px
) !default;

Expand Down

0 comments on commit 54a6aa9

Please sign in to comment.