-
Title is pretty much the entire question. I figured out how to change font color based on this snippet, but I think TST either doesn't support It's likely worth noting I have tab-item.active .background {
opacity: 0;
} in the TST stylesheet because I couldn't figure out how to remove the white background on active tabs. This probably shouldn't impact regular |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Firefox (not a TST limitation) does not support color-contrast() -> https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-contrast I haven't looked into it, but could contrast() help? https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/contrast |
Beta Was this translation helpful? Give feedback.
So I looked at how TST Colored Tabs is working and they are basically just generating CSS for the background to be passed over to TST a little later.
https://github.com/MurzNN/TST-Colored-tabs/blob/b6ebf80d2603e15a89f5b9816057e7b19cf73fbb/background.js#L111C1-L116C6