Adjust some colors for the dark theme
Categories
(Calendar :: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: gzm, Assigned: Paenglab)
Details
Attachments
(4 files)
|
39.32 KB,
image/png
|
Details | |
|
7.54 KB,
image/png
|
Details | |
|
6.10 KB,
patch
|
pmorris
:
review+
|
Details | Diff | Splinter Review |
|
6.12 KB,
patch
|
pmorris
:
approval-calendar-beta+
pmorris
:
approval-calendar-esr+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0
Steps to reproduce:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
Having these kinds of elements:
- Started task and event with passed due date and major priority
- Started task and event with due date today and normal priority
- Started task and event with futur due and minor priority
Actual results:
- In the main agenda panel, an event with a minor priority appears with a light background while the others types (major and normal priorities) are correctly using the dark background
- in the right side panel, tasks with major and minor priorities are displaying using the same shade of red and green as the light theme: these colors lack of contrast with the dark theme and make the text difficult to read (note that if you select one at once, white texts on red or green backgrounds are more readable)
Expected results:
- the light background of the minor priority event should be fixed to use the same dark background as others kind of events
- the shades of green and red used for certain types of tasks (due or in progress) should probably be revised to improve the contrast with the dark theme (or perhaps use different background tints to be better highlighted when the task is not selected)
Comment 1•6 years ago
|
||
I played around with colors some months ago and this was something that seemed to work better for me.
Green https://webaim.org/resources/contrastchecker/?fcolor=00BD00&bcolor=38383D
Red https://webaim.org/resources/contrastchecker/?fcolor=FF7A7A&bcolor=38383D
Blue (for icon) https://webaim.org/resources/contrastchecker/?fcolor=4DA6FF&bcolor=38383D
To apply the colors locally using userChrome.css I used the following rules:
.calendar-task-tree > treechildren::-moz-tree-cell-text(inprogress) {
color: #00BD00 !important;
}.calendar-task-tree > treechildren::-moz-tree-cell-text(overdue) {
color: #FF7A7A !important;
}
Considering a modification of the userchrome.css is interesting.
Maybe the problem of the light background for low priority task could be also corrected by this kind of settings.
Updated•6 years ago
|
| Assignee | ||
Comment 3•6 years ago
|
||
I'm using Stefan's colours. For the low priority events I've set a reduced opacity instead of the grey text and the weird background.
| Assignee | ||
Comment 4•6 years ago
|
||
Patch for beta and ESR.
Comment 5•6 years ago
|
||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/7c322e55ef6b
Adjust Task and Event tree colours for the dark theme. r=pmorris
Updated•6 years ago
|
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Description
•