Skip to content

Commit

Permalink
fix(styles): combobox option active icon color (#1642)
Browse files Browse the repository at this point in the history
  • Loading branch information
chornonoh-vova authored Aug 21, 2024
1 parent e00fe08 commit 8cea852
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
Binary file modified e2e/screenshots/combobox-error-.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/screenshots/combobox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/screenshots/dark--combobox-error-.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/screenshots/dark--combobox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions packages/react/src/components/Combobox/screenshots.e2e.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('should have screenshot for Combobox', async ({ mount, page }) => {
<ComboboxOption>Banana</ComboboxOption>
<ComboboxOption>Cucumber</ComboboxOption>
</Combobox>
<Combobox label="Focus">
<Combobox label="Focus" value="Apple">
<ComboboxOption>Apple</ComboboxOption>
<ComboboxOption>Banana</ComboboxOption>
<ComboboxOption>Cucumber</ComboboxOption>
Expand Down Expand Up @@ -53,7 +53,7 @@ test('should have screenshot for Combobox[error]', async ({ mount, page }) => {
<ComboboxOption>Banana</ComboboxOption>
<ComboboxOption>Cucumber</ComboboxOption>
</Combobox>
<Combobox label="Focus" error="This field has an error.">
<Combobox label="Focus" error="This field has an error." value="Apple">
<ComboboxOption>Apple</ComboboxOption>
<ComboboxOption>Banana</ComboboxOption>
<ComboboxOption>Cucumber</ComboboxOption>
Expand Down
4 changes: 2 additions & 2 deletions packages/styles/combobox.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
--combobox-option-min-height: 2.625rem;
--combobox-group-label-background-color: var(--gray-20);
--combobox-group-label-font-size: var(--text-size-smaller);
--combobox-option-selected-icon-color: var(--accent-success-dark);
--combobox-option-selected-icon-color: var(--accent-primary);
}

.cauldron--theme-dark {
Expand All @@ -17,7 +17,7 @@
--combobox-option-description-font-color: var(--accent-light);
--combobox-listbox-background-color: var(--accent-medium);
--combobox-group-label-background-color: var(--accent-dark);
--combobox-option-selected-icon-color: var(--accent-success-light);
--combobox-option-selected-icon-color: var(--accent-info);
}

.Combobox :where(.TextFieldWrapper) {
Expand Down

0 comments on commit 8cea852

Please sign in to comment.