Skip to content

Commit

Permalink
update focus style of switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Haberkamp committed Oct 15, 2024
1 parent d9bde83 commit 3b50452
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/six-readers-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-ag/meteor-component-library": patch
---

Update focus style of switch
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,10 @@ export default defineComponent({
}
}
&:focus-within {
&:has(:focus-visible) {
.mt-field__switch-state {
border-color: $color-shopware-brand-500;
box-shadow: 0 0 4px $color-shopware-brand-500;
outline: 2px solid var(--color-border-brand-selected);
outline-offset: 2px;
}
}
}
Expand Down

0 comments on commit 3b50452

Please sign in to comment.