Skip to content

Commit

Permalink
Merge pull request #3007 from mi6/v3-cherry-pick-select-high-contrast
Browse files Browse the repository at this point in the history
V3 cherry pick select high contrast
  • Loading branch information
ad9242 authored Jan 14, 2025
2 parents f9ca113 + 97006f9 commit 1119bd5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -1787,7 +1787,7 @@ describe("IcSelect visual regression tests in high contrast mode", () => {
});
});

it.skip("should render disabled options in high contrast mode", () => {
it("should render disabled options in high contrast mode", () => {
mount(
<div style={{ padding: "10px" }}>
<IcSelect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ describe("IcSelect searchable visual regression tests in high contrast mode", ()
});
});

it.skip("should render with disabled options in high contrast mode", () => {
it("should render with disabled options in high contrast mode", () => {
mount(
<div style={{ padding: "10px" }}>
<IcSelect
Expand Down
6 changes: 6 additions & 0 deletions packages/web-components/src/components/ic-menu/ic-menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -292,4 +292,10 @@
outline: none;
border: 0.125rem solid transparent;
}

.disabled-option {
color: GrayText;

--ic-typography-color: GrayText;
}
}

0 comments on commit 1119bd5

Please sign in to comment.