Skip to content

Commit

Permalink
Add background color to group label (#122)
Browse files Browse the repository at this point in the history
Adds a background color to `.hw-combobox__group__label` following `.hw-combobox__option` style.
  • Loading branch information
ocarreterom authored Mar 26, 2024
1 parent 002eb00 commit 068cbca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/assets/stylesheets/hotwire_combobox.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
--hw-active-bg-color: #F3F4F6;
--hw-border-color: #D1D5DB;
--hw-group-color: #57595C;
--hw-group-bg-color: #FFFFFF;
--hw-invalid-color: #EF4444;
--hw-dialog-label-color: #1D1D1D;
--hw-focus-color: #2563EB;
Expand Down Expand Up @@ -145,6 +146,7 @@
}

.hw-combobox__group__label {
background-color: var(--hw-group-bg-color);
color: var(--hw-group-color);
padding: var(--hw-padding--slim);
}
Expand Down

0 comments on commit 068cbca

Please sign in to comment.