eyalroz / bidimailui

BiDi Mail UI: Thunderbird extension for improved right-to-left language support
https://addons.thunderbird.net/en-US/thunderbird/addon/bidi-mail-ui/
Other
18 stars 2 forks source link

Use CSS var property for icons #101

Closed eyalroz closed 1 year ago

eyalroz commented 1 year ago

Thunderbird's internal CSS has switched to using custom property for icon URLs, then var() for applying the icon. Example (from themes/shared/mail/icons.css):

:root {
--icon-mail: url("chrome://messenger/skin/icons/new/compact/mail.svg");
}
// ...
--folder-pane-mail: var(--icon-mail);
eyalroz commented 1 year ago

Well, I seem to have some trouble with it. Plus, it would be more useful if I had less icons. So, not right now.