You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've a few extra style rules set for TST and would love to incorporate Colored Tabs' styling.
As it stands, descendants1 can inherit the background-color of the tab, but this has limited application in practice. It also requires managing inheritance, as we descend, to avoid overriding that property.
As a supplementary feature, it would fantastic to have access to those colour values directly. This would allow styling of other properties, e.g. border-color, box-shadow, etc., for the tab, and its descendants.
The varying levels of granularity could be enabled through options, if performance was a concern. Likely unnecessary, though; I suspect the performance impacts of even the most modular approach would still be negligible.
Notes
I'm inclined to brevity with naming schemes, but I'm approximating Tree Style Tab here. I did shorten background to bg, however.
I've a few extra style rules set for TST and would love to incorporate Colored Tabs' styling.
As it stands, descendants1 can inherit the background-color of the tab, but this has limited application in practice. It also requires managing inheritance, as we descend, to avoid overriding that property.
As a supplementary feature, it would fantastic to have access to those colour values directly. This would allow styling of other properties, e.g. border-color, box-shadow, etc., for the tab, and its descendants.
Something like this:
Modular Approach
Access to hue value, in addition to the background-color value.
Further modularisation.
CSS
The varying levels of granularity could be enabled through options, if performance was a concern. Likely unnecessary, though; I suspect the performance impacts of even the most modular approach would still be negligible.
Notes
I'm inclined to brevity with naming schemes, but I'm approximating Tree Style Tab here. I did shorten
background
tobg
, however.1.
tab-label
,favicon
,.highlighter
, etc.The text was updated successfully, but these errors were encountered: