Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background color for TextInput, PasswordInput, MultiSelect, ComboBox etc.. is the same as the light variant #8286

Closed
1 of 2 tasks
metonym opened this issue Apr 2, 2021 · 0 comments · Fixed by #8295
Closed
1 of 2 tasks
Assignees

Comments

@metonym
Copy link
Collaborator

metonym commented Apr 2, 2021

What package(s) are you using?

  • carbon-components
  • carbon-components-react

Detailed description

It seems that components with input elements have the "light" background color as the default. I've checked the following components and assume they apply to all/any input components:

  • TextInput
  • PasswordInput
  • MultiSelect
  • ComboBox
  • ...maybe more

The issue may be because the styles defined here are not scoped to the data table.

Repro steps

  • visit the Storybook
  • the default background color for components with inputs is the same as their light variants
  • try toggling the "light" knob (nothing should happen)

TextInput example:

Screen Shot 2021-04-02 at 1 54 44 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants