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

Container picker allows colour customisation via skin.yaml file #2139

Closed
placintaalexandru opened this issue Jun 19, 2023 · 0 comments
Closed

Comments

@placintaalexandru
Copy link
Contributor

placintaalexandru commented Jun 19, 2023




Is your feature request related to a problem? Please describe.
At the moment, the container picker colour is hardcoded ad it can be seen from the code

image

Describe the solution you'd like
I would like a new filed Style.Views.Picker, from internal/config/styles, that allows configuration of colours when displaying container names and when the cursor is over a container name.

The new Style.Views.Picker would have 3 fields:

  • mainColor: the colour of the container name text
  • focusColor: the cursor's colour
  • shortcutColor: the left shortcut's colour

Bellow you can see an example where the skin.yaml file was set to:

picker:
      mainColor: *foreground
      focusColor: *pink
      shortcutColor: *red

When the cursor does not select the container:
image

When the cursor selects the container:
image

Describe alternatives you've considered
I don't think there is an alternative way since the purpose of this request is to remove the hardcoded colours from the picker view and allow customisation via skin.yaml file.

Additional context
None

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

No branches or pull requests

1 participant