Skip to content

Commit

Permalink
feat(radio-button): add dirty class for invalid state
Browse files Browse the repository at this point in the history
  • Loading branch information
maximedasilva committed Oct 19, 2022
1 parent 2dbf480 commit 15872e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/theme/lib/RadioField.sass
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
.description
font-size: 12px

&.invalid
&.invalid.dirty
label
.inner
background-color: var(--junipero-alabaster)
Expand Down Expand Up @@ -71,6 +71,6 @@
&.checked
border-color: var(--junipero-velvet)

&.invalid
&.invalid.dirty
label
border: 2px solid var(--junipero-grapefruit)

0 comments on commit 15872e3

Please sign in to comment.