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

There is no way to set color to placeholder text in TextInputs #85

Open
3 tasks
staranbeer opened this issue Oct 26, 2022 · 3 comments
Open
3 tasks

There is no way to set color to placeholder text in TextInputs #85

staranbeer opened this issue Oct 26, 2022 · 3 comments

Comments

@staranbeer
Copy link
Contributor

Description

There is no way to set color to placeholder text in TextInputs

Link to Reproduction

.

Steps to reproduce

Use any TextInput element with a background color.

Jenga UI Version

latest

Browser

No response

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

No response

@shubham-kaushal
Copy link
Member

@staranbeer Can you try with inputStyles

@staranbeer
Copy link
Contributor Author

The inputStyles are setting the color on the value that user inputs. In CSS, the placeholder text can be styled by using the ::placeholder pseudo element.

@shubham-kaushal
Copy link
Member

The inputStyles are setting the color on the value that user inputs. In CSS, the placeholder text can be styled by using the ::placeholder pseudo element.

@staranbeer Try --placeholder-color

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

No branches or pull requests

2 participants