MurzNN/TST-Colored-tabs

Text-colour settings, or CSS selector for custom-color tabs?

ELLIOTTCABLE opened this issue · 2 comments

So, I use a dark theme, and low-brightness settings for the 15 randomly-assigned TCT colours. Cool!

However, I'd like to be able to use light backgrounds for some of the custom domains; and the light-text instantly becomes invisible:

Screen Shot 2020-06-24 at 10 26 03

This, of course, is unsurprising. However, I'd really like to either:

  1. Be able to select both foreground and background colours per-domain,
  2. have TCT automatically calculate contrast for the text and select between two dark/light text-colours automatically,
  3. or both!

I have the exact same problem and it's been driving me crazy. I cannot find a CSS property for changing firefox's sidebar text no matter how many keywords I use when searching, and I can't find a damn thing even on Github. I love this extension but I'm ready to dump it, seeing as how useless it is making my tabs :( 👎

@Dhamma-valence It doesn't help with the above issue specifically (because my issue is about setting a dynamic text-colour based on the dynamic background); but if you just want a specific, static text-colour for Tree Style Tab … it's easy as pie. Add the following the the "custom CSS" settings in Tree Style Tab's configuration:

tab-item .label-content {
  color: #ABCDEF;
}

Hope that helped. (Despite being nearly a year late.)