-
Hi, I'm trying to use Using such a style as part of an
How do I use My code: export const disabledStyles: SxStyleProp = {
cursor: 'default',
'& select': {
// Reset iOS / Safari disabled text color
'-webkit-text-fill-color': '#A0A0BC',
},
} |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Also asked in #1145 |
Beta Was this translation helpful? Give feedback.
-
Workaround: const resetDisabledSelectOptionColor: CSSProperties = {
WebkitTextFillColor: '#A0A0BC',
}
export const disabledStyles: SxStyleProp = {
cursor: 'default',
'& select, & option': resetDisabledSelectOptionColor,
} |
Beta Was this translation helpful? Give feedback.
-
Hey, @jorisw, which version of Theme UI are you using? (This is already fixed in 0.4.0-rc.5) |
Beta Was this translation helpful? Give feedback.
Hey, @jorisw, which version of Theme UI are you using? (This is already fixed in 0.4.0-rc.5)