You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to only change one specific case, text colors on disabled form controls. I see that the scss variable euiFormControlDisabledColor covers my need.
We do not use sass.
How do I best do this? I don't seem to be able to use modify on EuiProvider, as seen below.
Hey Jonas! Apologies for the disappointing/semi-frustrating answer, but our form controls are not yet converted from Sass to Emotion, so until that happens, you won't be able to use EuiProvider or EuiThemeProvider to override any disabled colors.
We're anticipating making more progress on Emotion conversions in the next month or so, but until then, your options are:
Adding Sass just for this variable override, and then compiling/importing your own .css file in your app
Adding custom CSS with !important to override EUI's form disabled borders/backgrounds/colors.
cee-chen
added
the
answered
Issues answered by the EUI team - auto-closes open issues in 7 days if no follow-up response
label
Mar 4, 2024
👋 This issue hasn't seen activity in 3 days, so we're automatically closing this issue as answered. Please leave a comment if that's not the case, or if you have any remaining questions or issues.
Hello,
I'm trying to only change one specific case, text colors on disabled form controls. I see that the scss variable
euiFormControlDisabledColor
covers my need.We do not use sass.
How do I best do this? I don't seem to be able to use
modify
onEuiProvider
, as seen below.Key information
Minimum reproducible sandbox
The text was updated successfully, but these errors were encountered: