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

Add option to configure text color and background colors of panes #307

Closed
ohcibi opened this issue Aug 27, 2018 · 1 comment
Closed

Add option to configure text color and background colors of panes #307

ohcibi opened this issue Aug 27, 2018 · 1 comment
Labels
💥 feature "Good luck, you're gonna need it."

Comments

@ohcibi
Copy link

ohcibi commented Aug 27, 2018

What problem does this solve?

  • The project cannot be used with a light background currently as the text color cannot be changed
  • Invidual background colors for panes would add the ability to increase information transmission

How do envision it working?

Note that I use the word 'pane' here to refer to a single "module", or whatever it is called in wtf, that gets displayed with a border. If unclear what I mean please ask instead of assume as I don't already know the wording in this project and I very likely have used the wrong term.

  • The text color could be an option similar to the current color.background e.g. color.foreground (if this is already available, consider this issue as a documentation improvement request)
  • Styling panes is a bit more of a complex problem. Possible options, I could think of are
    • Text/title matching of text inside the pane or of individual values of the pane
      • would allow something like e.g. using red background for the bamboo pane if the latest job has failed to build
    • Adding something like a class (as in "css class") to the meta information of a pane and match based on that
    • positional colorization (e.g. top row of panes is blue, center row is yellow, bottom row is red)
@jaimejim
Copy link

jaimejim commented Jan 12, 2023

I would personally like some generic mechanism for changing the colors of items within a module. There are some global variables that can be used in the config.yaml, so far I know of:

text, heading, subheading

And the use of ::b to make the text bold.

Not everything seems to be documented on https://wtfutil.com/configuration/global_settings/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💥 feature "Good luck, you're gonna need it."
Development

No branches or pull requests

3 participants