Unify/simplify the dark theme selectors
Categories
(Thunderbird :: Theme, task)
Tracking
(thunderbird_esr78 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | wontfix |
People
(Reporter: Paenglab, Assigned: Paenglab)
References
Details
Attachments
(1 file, 1 obsolete file)
54.18 KB,
patch
|
aleca
:
review+
|
Details | Diff | Splinter Review |
At https://searchfox.org/comm-central/source/mail/themes/shared/mail/messenger.css#118-131 we many lines to select the elements. It's possible to simplify this selectors.
Assignee | ||
Comment 1•4 years ago
|
||
I'm now using the classes .full-themeable
for elements that apply full- and LW-dark themes and .full-brighttext-themeable
for elements that only apply to full themes (for example the messgeHeader). There are many files touched because of the class name changes.
In messengercompose.css I moved more to the shared file. And I moved quickFilterBar.css from content to the shared themes folder.
When you don't like the class names I can change them. But you need to propose new ones. ;-)
Comment 2•4 years ago
|
||
Nice, this is a great improvement and will help us keep our sanity when in need of themeing new elements.
What about updating the class names to .themeable-full
and .themeable-brighttext
? I think we should use the "static" part of the class name at the beginning, and then concatenate variations.
I know our current "approach" in naming CSS is the other way around, (eg ***-toolbar, or ***-button) but I think we should start using this other approach.
Assignee | ||
Comment 3•4 years ago
|
||
Same patch with updated class names.
Comment 4•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/e3b62c0153ff
Unify/simplify the dark theme selectors. r=aleca
Updated•4 years ago
|
Description
•