Skip to content

Commit

Permalink
fix: Add contrast to SearchSuggest
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Oct 16, 2024
1 parent 6adb369 commit 2e44e11
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components/SearchSuggest/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@
.dc-search-suggest {
$block: &;

--g-text-input-placeholder-color: rgba(0, 0, 0, 0.5);
--g-text-input-placeholder-color-hover: rgba(0, 0, 0, 0.65);
--g-text-input-border-color: rgba(0, 0, 0, 0.5);
--g-text-input-border-color-hover: rgba(0, 0, 0, 0.65);

.g-root_theme_dark & {
--g-text-input-placeholder-color: rgba(255, 255, 255, 0.3);
--g-text-input-placeholder-color-hover: rgba(255, 255, 255, 0.5);
--g-text-input-border-color: rgba(255, 255, 255, 0.4);
--g-text-input-border-color-hover: rgba(255, 255, 255, 0.5);
}

&__wrapper {
position: relative;
width: 100%;
Expand Down

0 comments on commit 2e44e11

Please sign in to comment.