Skip to content

Commit

Permalink
fix: add focus style to checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Haberkamp committed Oct 15, 2024
1 parent 78e08dc commit 44b1e1e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/dry-dancers-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-ag/meteor-component-library": patch
---

Add focus styles for checkbox
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,12 @@ export default defineComponent({
height: 16px;
position: relative;
&:focus-within {
outline: 2px solid var(--color-border-brand-selected);
outline-offset: 2px;
border-radius: var(--border-radius-checkbox);
}
& input[type="checkbox"] {
opacity: 0;
display: block;
Expand Down

0 comments on commit 44b1e1e

Please sign in to comment.