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

fix: switch colors for disabled inputs #89

Merged
merged 1 commit into from
Sep 19, 2024
Merged

fix: switch colors for disabled inputs #89

merged 1 commit into from
Sep 19, 2024

Conversation

christophenne
Copy link
Member

@christophenne christophenne commented Sep 19, 2024

A discussable attempt to make disabled inputs more obvious. Recently it seems that the colors had been switched (it looked like input is possible when it was disabled, and vice versa).

The problem is that it looks quite good for dark mode, but a bit too "muted" for light mode right now. The alternative is too make it look quite good for light mode, but then it looks not disabled enough in dark mode.

With this PR (tertiary color for disabled inputs), it looks like this:

Screenshot from 2024-09-19 15-01-48

Screenshot from 2024-09-19 15-02-05

Alternative (secondary color for disabled inputs):

Screenshot from 2024-09-19 15-03-12

Screenshot from 2024-09-19 15-03-27

Ref glasskube/glasskube#1167

@kosmoz kosmoz merged commit e86fa11 into main Sep 19, 2024
3 checks passed
@kosmoz kosmoz deleted the fix-input-bg branch September 19, 2024 13:22
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

Successfully merging this pull request may close these issues.

2 participants