Skip to content

Commit

Permalink
style: Mudanças no RadioButton
Browse files Browse the repository at this point in the history
  • Loading branch information
klebsonmateus committed May 13, 2024
1 parent abc8b47 commit 120af2a
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/components/RadioButton/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,14 @@

cursor: pointer;

&:focus-within {
color: colors.$primary200;

border-color: colors.$primary200;
}

&__input {
width: 1.6rem;
height: 1.6rem;

margin: 0.8rem;
// border: 1.5px solid colors.$gray200;
border: 1.5px solid colors.$gray200;

// border-radius: 50%;
border-radius: 50%;

cursor: pointer;
appearance: none;
Expand All @@ -52,7 +46,15 @@

&__dot {
font-family: fonts.$primaryFont;
color: colors.$gray600;
font-size: fonts.$xs;

.radio-container__input:checked + & {
color: colors.$primary200;
}

.radio-container__input:not(checked) + & {
color: colors.$gray600;
}
}

}

0 comments on commit 120af2a

Please sign in to comment.