Skip to content

Commit

Permalink
fix(ld-button): ocean theme focus state on touch device
Browse files Browse the repository at this point in the history
  • Loading branch information
borisdiakur committed May 28, 2021
1 parent 35138df commit b891b5b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/liquid/components/ld-button/ld-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,11 @@
background-color: var(--ld-col-rb-focus);
color: var(--ld-thm-ocean-bg-secondary);
}
&:where(:hover) {
background-color: var(--ld-col-rb-hover);
color: var(--ld-col-wht);
@media (hover: hover) {
&:where(:hover) {
background-color: var(--ld-col-rb-hover);
color: var(--ld-col-wht);
}
}
&:where(:active),
&:where(:active:focus-visible) {
Expand Down

0 comments on commit b891b5b

Please sign in to comment.