-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
stu currently hardcodes the selected-row colors used in the bucket/object lists and always renders directory rows in bold.
That makes the default UI hard to tune for terminal themes where the current selection contrast is too strong, or where bold directory labels look visually brighter than surrounding rows.
Proposed change
Add optional config keys under [ui.theme]:
[ui.theme]
list_selected_bg = "#1d222c"
list_selected_fg = "default"
list_selected_inactive_bg = "#242a34"
list_selected_inactive_fg = "default"
object_dir_bold = falseBehavior:
- use configurable active/inactive selected-row colors in bucket, object, and object-detail lists
- keep the current defaults when the config is not set
- accept named terminal colors,
default/reset, and hex colors like#abc/#123456 - allow disabling bold styling for directory rows
Why this helps
- softer selection colors are easier on dark terminal themes
- using
defaultmakes selected text blend better with the terminal's normal foreground color - disabling bold for directory rows avoids them looking brighter than neighboring items even when the color is the same
Screenshot
Current tuned appearance with the proposed config:
Environment used to validate
stu v0.7.6- terminal:
tmux 3.6awithtmux-256color - OS: Ubuntu 24.04 on Linux
6.17.0-1007-oracle - storage target: Oracle Object Storage (S3-compatible endpoint)
Notes
I already have a working branch on my fork if this direction looks acceptable:
daewon:ui-theme-customization
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request