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

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

Open
ELLIOTTCABLE opened this issue Jun 24, 2020 · 2 comments
Open

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

ELLIOTTCABLE opened this issue Jun 24, 2020 · 2 comments

Comments

@ELLIOTTCABLE
Copy link

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!
@dhasial
Copy link

dhasial commented Dec 24, 2020

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 :( 👎

@ELLIOTTCABLE
Copy link
Author

@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.)

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

2 participants