Skip to content

Commit

Permalink
fix(select): use parent for background color in disabled state
Browse files Browse the repository at this point in the history
  • Loading branch information
PixeledCode committed Dec 17, 2024
1 parent 5c7b9ba commit 04487ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/paste-core/components/select/src/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export const SelectElement = React.forwardRef<HTMLSelectElement, SelectProps>(
width="100%"
_disabled={{
color: variant === "inverse" ? "colorTextInverseWeakest" : "colorTextWeaker",
backgroundColor: "transparent",
cursor: "not-allowed",
opacity: 1,
}}
Expand Down

0 comments on commit 04487ce

Please sign in to comment.