Skip to content

Commit

Permalink
feat: add input-background css variable (#1650)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeff Sagal <sagalbot@gmail.com>
  • Loading branch information
KareemDa and sagalbot authored Jul 17, 2022
1 parent 33da544 commit f69a026
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/css/global/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/* Search Input */
--vs-search-input-color: inherit;
--vs-search-input-bg: rgb(255, 255, 255);
--vs-search-input-placeholder-color: inherit;

/* Font */
Expand Down
2 changes: 1 addition & 1 deletion src/css/modules/dropdown-toggle.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
appearance: none;
display: flex;
padding: 0 0 4px 0;
background: none;
background: var(--vs-search-input-bg);
border: var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);
border-radius: var(--vs-border-radius);
white-space: normal;
Expand Down

0 comments on commit f69a026

Please sign in to comment.