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
(REQUIRED) Include one or more screenshots if applicable, as well as a Codepen with the
reduced test case.
Describe the issue
I think there is a bug in which the CSS vars are being applied to disabled textareas. Currently the order of the vars is
--slds-g-color-neutral-base-80
--lwc-colorBackgroundInputDisabled
rgb(243, 243, 243
Is this issue related to a specific component, variant, and/or state? If so, please detail which.
Textarea disabled
Are any specific browsers impacted by this bug?
All
Which version of the Salesforce Lightning Design System are you using?
Winter '24 but summer I think has the same issue
What steps and/or code are needed to reproduce this issue?
View a disabled textarea
What did you expect to happen?
The order should be
--lwc-colorBackgroundInputDisabled
--slds-g-color-neutral-base-80
rgb(243, 243, 243
So in order to update the background color of the input you should edit the --lwc-colorBackgroundInputDisabled instead of unsetting --slds-g-color-neutral-base-80 or updating --slds-g-color-neutral-base-80
What actually happened?
if you want to edit the background of a input you need to edit the default value of the base neutral color
The text was updated successfully, but these errors were encountered:
--slds-g-color-neutral-base-80 (--slds-g-color-*) are the new styling hooks which are introduced in SLDS with the aim of meeting WCAG 2.1 color contrast guidelines.
I think there is a bug in which the CSS vars are being applied to disabled textareas. Currently the order of the vars is
Textarea disabled
All
Winter '24 but summer I think has the same issue
View a disabled textarea
The order should be
So in order to update the background color of the input you should edit the --lwc-colorBackgroundInputDisabled instead of unsetting --slds-g-color-neutral-base-80 or updating --slds-g-color-neutral-base-80
if you want to edit the background of a input you need to edit the default value of the base neutral color
The text was updated successfully, but these errors were encountered: