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

Text is displayed in light green on an invalid input element in dark mode #3502

Open
1 of 7 tasks
milan-w opened this issue Nov 22, 2024 · 0 comments
Open
1 of 7 tasks
Labels
🐛bug Something isn't working 👩‍👧‍👦community feedback Feedback from community

Comments

@milan-w
Copy link

milan-w commented Nov 22, 2024

Which generators are impacted?

  • All
  • HTML
  • React
  • Angular
  • Vue
  • Web components
  • Power Apps

Reproduction case

Only tested it in React, might also affect other use cases.
Repro:

  • check out the db-ui-v3 branch on ri-react ;)
  • create new quote or edit existing one
  • set one field of form to invalid (no content or < 3 chars)

I think this CSS is not applied correctly, no idea where it is generated

.db-input:has(input[data-custom-validity=invalid]) [id$=-placeholder], .db-input:has(input[data-custom-validity=invalid]) input {    
    caret-color: var(--db-successful-on-bg-basic-emphasis-100-default);    
    color: var(--db-successful-on-bg-basic-emphasis-100-default);
}

Expected Behaviour

Text in invalid input field is displayed in a color that corresponds to it being invalid

Screenshots

image

Browser version

None

Add any other context about the problem here.

No response

@mfranzke mfranzke added 🐛bug Something isn't working 👩‍👧‍👦community feedback Feedback from community labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working 👩‍👧‍👦community feedback Feedback from community
Projects
None yet
Development

No branches or pull requests

2 participants