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

Improve the cosmetics of the main panels in the application #34

Merged
merged 3 commits into from
Jan 5, 2025

Conversation

davep
Copy link
Owner

@davep davep commented Jan 5, 2025

Tweaks the style of the main three panels that get focus in the application. The main changes being:

  • De-emphasise the scrollbars even more; they should be the smallest possible distraction in a terminal-based application that aims to be keyboard-first.
  • Drop the use of background-tint that's used by Textual's OptionList, when it has focus. Instead use a colour that can also be used to style the scrollbars (as best as I can see there's no easy way to background-tint a scrollbar, probably without actually messing with scrollbar widgets themselves).

Overall I feel these changes make the mains screen feel... smoother.

davep added 2 commits January 5, 2025 09:23
The main difference here being that I downplay the scrollbars (they always
stand out way too much for applications that are intended to be
keyboard-first) and also drop the background-tint nonsense in Textual's
builtin OptionList, as it then puts it in a different styling category as
the scrollbars (as best as I can see there's no direct support for a
background-tint for them).

Overall I feel this commit makes things feel more smoother and consistent.
@davep davep added Enhancement New feature or request Cosmetic All things relating to the look of the application labels Jan 5, 2025
@davep davep self-assigned this Jan 5, 2025
@davep davep merged commit 029eec7 into main Jan 5, 2025
4 checks passed
@davep davep deleted the focus-cosmetics branch January 5, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cosmetic All things relating to the look of the application Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant