Skip to content

Commit

Permalink
Made focus state of toggle a bit more obvious
Browse files Browse the repository at this point in the history
  • Loading branch information
abottega committed Dec 18, 2023
1 parent 288a44b commit 23250bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/components/Toggle/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ const Group = styled.div`
input {
&:focus {
+ label {
box-shadow: ${themeGet("shadows.thinOutline")(props) +
box-shadow: ${themeGet("shadows.thickOutline")(props) +
" " +
themeGet("colors.black30")(props)};
themeGet("colors.black")(props)};
}
}
}
Expand Down Expand Up @@ -45,9 +45,9 @@ const Input = styled.input.attrs({
&:focus {
+ label {
box-shadow: ${(props) =>
themeGet("shadows.thinOutline")(props) +
themeGet("shadows.thickOutline")(props) +
" " +
themeGet("colors.black30")(props)};
themeGet("colors.black20")(props)};
}
}
Expand Down

0 comments on commit 23250bc

Please sign in to comment.