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

[FEAT]: Stackbar tab styling #885

Open
CtByte opened this issue Jun 17, 2024 · 0 comments
Open

[FEAT]: Stackbar tab styling #885

CtByte opened this issue Jun 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@CtByte
Copy link

CtByte commented Jun 17, 2024

Is your feature request related to a problem? Please describe.
When I have a background close to the background color of the stackbar.tabs, it is difficult to see the stackbar tabs.

image


Describe the solution you'd like
A. If there is a border set with the same color as the focused_text and unfocused_text, would be enough for the tabs to stand out more.

B. An other idea could be to add focused_border, unfocused_border, focused_background, unfocused_background (maybe use the background to set both focused and unfocused backgrounds at the same time).

C. Could organize the setting like this, but it could break old configs:

  "stackbar": {
    "height": 40,
    "label": "Title",
    "mode": "OnStack",
    "tabs": {
      "width": 300,
      "focused": {
        "text": "",
        "border": "",
        "background": "",
      },
      "unfocused": {
        "text": "",
        "border": "",
        "background": "",
      }
    }
  },

Describe alternatives you've considered
I know that I could change the stackbar.tabs.background color, but I would like to keep the dark theme as my windows.


Additional context
After seeing your video on the undocumented win32 pitfall, I hope this wouldn't complicate things.

@CtByte CtByte added the enhancement New feature or request label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant