Skip to content

Commit

Permalink
Merge pull request #1897 from SUI-Components/sui-studio-a11y-color-co…
Browse files Browse the repository at this point in the history
…ntrast-improvements

fix(packages/sui-studio): a11y color-contrast improvements
  • Loading branch information
andresin87 authored Jan 20, 2025
2 parents 037c05c + 21a2746 commit e9014ec
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/sui-studio/src/components/layout/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,22 @@
&-searchInput {
box-sizing: border-box;
background-color: $c-surface;
border: 1px solid color-mix(in srgb, $c-on-surface 30%, transparent);
border: 1px solid color-mix(in srgb, $c-on-surface 70%, transparent);
border-radius: 4px;
color: color-mix(in srgb, $c-on-surface 30%, transparent);
color: color-mix(in srgb, $c-on-surface 70%, transparent);
font-size: 12px;
outline: none;
padding: 8px;
width: calc(100% - #{2 * 8px});
height: $h-search-input;
width: 100%;
max-height: $h-search-input;
&:focus {
background-color: $c-surface;
color: color-mix(in srgb, $c-on-surface 70%, transparent);
border: 1px solid $c-primary;
}
&::placeholder {
color: color-mix(in srgb, $c-on-surface 50%, transparent);
}
}

&Body {
Expand Down

0 comments on commit e9014ec

Please sign in to comment.