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

Don't override InputContainer error colour when focused #11670

Merged

Conversation

notbakaneko
Copy link
Collaborator

The error highlight should still remain active when the field is focused. Left the hover highlight alone since it seems logical it should follow what's being hovered but not yet focused? 🤔

@@ -32,6 +34,10 @@

&:focus-within {
--input-border-colour: var(--input-border-focus-colour);

.@{top}--error& {
--input-border-colour: var(--input-border-error-colour);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

override --input-border-focus-colour in --error modifier instead? Also maybe have a lighter/darker colour than the normal error one?

@nanaya nanaya merged commit 9ebbaf1 into ppy:master Nov 22, 2024
3 checks passed
@notbakaneko notbakaneko deleted the feature/input-container-focus-error-style branch November 25, 2024 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants