komorebi icon indicating copy to clipboard operation
komorebi copied to clipboard

[FEAT]: Stackbar tab styling

Open CtByte opened this issue 1 year ago • 2 comments

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 avatar Jun 17 '24 18:06 CtByte

@sclnd has asked about an option to customize the text size, which might also be a nice addition to this

CtByte avatar Jul 10 '24 13:07 CtByte

@LGUG2Z Now that the bar is released and you use themes for the borders, can that also somehow apply to the stackbar perhaps?

Congrats on the bar once again 🚀

CtByte avatar Sep 15 '24 10:09 CtByte

@CtByte I'm pretty sure that the themes should apply to the stackbar tabs now too?

LGUG2Z avatar Jan 23 '25 03:01 LGUG2Z

@LGUG2Z I am more than happy with how the bar is showing the stackbar 👍 (I no longer use the "first version")

CtByte avatar Jan 23 '25 08:01 CtByte