Skip to content

Commit c8132e6

Browse files
authored
Merge pull request #1156 from esdraspavon/fix-rounded
Add missing rounded-3 utility
2 parents 8562bda + 921fd57 commit c8132e6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/support/variables/misc.scss

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ $border: $border-width $border-color $border-style !default;
99
// Border Radius
1010
$border-radius-1: 4px !default;
1111
$border-radius-2: 6px !default;
12+
$border-radius-3: 8px !default;
1213
$border-radius: $border-radius-2 !default;
1314

1415
// Box shadow

src/utilities/borders.scss

+4-3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
.rounded#{$variant}-0 { border-radius: 0 !important; }
4545
.rounded#{$variant}-1 { border-radius: $border-radius-1 !important; }
4646
.rounded#{$variant}-2 { border-radius: $border-radius-2 !important; }
47+
.rounded#{$variant}-3 { border-radius: $border-radius-3 !important; }
4748

4849
@each $edge, $corners in $edges {
4950
.rounded#{$variant}-#{$edge}-0 {
@@ -54,19 +55,19 @@
5455

5556
.rounded#{$variant}-#{$edge}-1 {
5657
@each $corner in $corners {
57-
border-#{$corner}-radius: $border-radius / 2 !important;
58+
border-#{$corner}-radius: $border-radius-1 !important;
5859
}
5960
}
6061

6162
.rounded#{$variant}-#{$edge}-2 {
6263
@each $corner in $corners {
63-
border-#{$corner}-radius: $border-radius !important;
64+
border-#{$corner}-radius: $border-radius-2 !important;
6465
}
6566
}
6667

6768
.rounded#{$variant}-#{$edge}-3 {
6869
@each $corner in $corners {
69-
border-#{$corner}-radius: $border-radius * 2 !important;
70+
border-#{$corner}-radius: $border-radius-3 !important;
7071
}
7172
}
7273
}

0 commit comments

Comments
 (0)