Skip to content

Commit

Permalink
style: adjust switch check size
Browse files Browse the repository at this point in the history
  • Loading branch information
welingtonms committed Mar 26, 2021
1 parent afaa224 commit 48cb681
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/atoms/switch/switch.js
Expand Up @@ -34,7 +34,7 @@ const Switch = ({
className="selector"
data-testid="selector"
/>
<Icon name="circle" className="check" size={14} />
<Icon name="circle" className="check" size={16} />
</React.Fragment>
}
>
Expand Down
10 changes: 5 additions & 5 deletions src/atoms/switch/switch.scss
Expand Up @@ -15,7 +15,7 @@

fill: currentColor;
position: absolute;
left: 2px;
left: 0;
}

.selector:first-of-type {
Expand All @@ -38,8 +38,8 @@
@include var(width, spacing-8);

&:checked {
@include var(border-color, color-primary-500);
@include var(background-color, color-primary-500);
@include var(border-color, color-secondary-400);
@include var(background-color, color-secondary-400);
}

&:checked + .check {
Expand All @@ -53,8 +53,8 @@
@include var(background-color, color-gray-400);

&:checked {
@include var(border-color, color-primary-700);
@include var(background-color, color-primary-700);
@include var(border-color, color-secondary-500);
@include var(background-color, color-secondary-500);
}
}
}
Expand Down

0 comments on commit 48cb681

Please sign in to comment.