Skip to content

Commit 94e938c

Browse files
alisonjosephjoshblack
authored andcommitted
feat(checkbox): Update checkboxes to match new icon set (#822)
* feat(checkbox): Update checkboxes to match new icon set * feat: Update checkbox styles
1 parent 50da4ec commit 94e938c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/components/checkbox/_checkbox.scss

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@
5252
// Checkmark
5353
.#{$prefix}--checkbox-label::after {
5454
content: '';
55-
width: 10px;
56-
height: 5px;
55+
width: 7px;
56+
height: 3px;
5757
background: none;
5858
border-left: 2px solid $inverse-01;
5959
border-bottom: 2px solid $inverse-01;
6060
transform: scale(0) rotate(-45deg);
6161
position: absolute;
62-
left: rem(3px);
62+
left: rem(5px);
6363
top: 50%;
64-
margin-top: rem(-5px);
64+
margin-top: rem(-3px);
6565
}
6666

6767
.#{$prefix}--checkbox:checked + .#{$prefix}--checkbox-label::before,
@@ -95,8 +95,9 @@
9595
border-left: 0 solid $inverse-01;
9696
border-bottom: 2px solid $inverse-01;
9797
opacity: 1;
98-
width: rem(12px);
99-
margin-top: rem(-6px);
98+
width: rem(10px);
99+
margin-top: rem(-4px);
100+
left: rem(4px);
100101
}
101102

102103
//Disabled

0 commit comments

Comments
 (0)