Skip to content

Commit

Permalink
Change dashed disabled focus rings to solid borders (#5121)
Browse files Browse the repository at this point in the history
  • Loading branch information
dougmacknz authored Oct 4, 2024
1 parent aee02cc commit b8fd77b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/nine-timers-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@kaizen/components": patch
---

Change dashed disabled focus rings to solid borders
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ $focus-ring-offset: 1px;
}

&:focus-visible::after {
border-style: $border-dashed-border-style;
border-color: $color-gray-400;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
background-color: transparent;
border-color: transparent;
opacity: 100%;
outline: $color-purple-800 $border-dashed-border-style
outline: $color-purple-800 $border-solid-border-style
$border-focus-ring-border-width;
}
}
2 changes: 0 additions & 2 deletions packages/components/src/Select/Select.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ $focus-border-color: $color-blue-500;

&.disabledOption {
color: $color-purple-800;
border-style: $border-dashed-border-style;
border-width: $border-focus-ring-border-width;
border-color: $color-gray-500;
background: transparent;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@

&:focus-visible {
&::after {
border-style: $border-dashed-border-style;
border-color: $color-purple-800;
}
}
Expand Down

0 comments on commit b8fd77b

Please sign in to comment.