Community
Participate
Working Groups
The dark theme now works quite well (see bug 342543) for MAT apart from reports which have white backgrounds and black text. Window > Preferences > General > Appearance > Theme > 'Dark'
Created attachment 284345 [details] Dark theme with report Report has white background, not black
Some of this can be fixed by the style sheet styles.css when the report is viewed in a browser using @media screen and (prefers-color-scheme: dark) but the Eclipse browser doesn't honour this. The pie charts would come out in the wrong colours, but invert() flips white and black and hue-rotate makes the blues come out blue again. The simplest way to fix the Eclipse browser display is to copy a new style sheet across when in dark mode.
New Gerrit change created: https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/170184
Gerrit change https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/170184 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=8df98bc07f4455febccc4a745f2d70161b314aab
New Gerrit change created: https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/170197
Gerrit change https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/170197 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=50d5d42413dd2a0ce7ad55db7afdfaffc4e5ff82
Created attachment 284349 [details] Dark mode after changes Note that the tree lines are still in black inside MAT, so hard to read against the very dark grey table row.
I've fixed the main problems. The reports look good in Firefox and Chrome. The charts still have a white background inside MAT, but are reversed in Firefox and Chrome. The tree lines are black inside MAT, but white in Firefox and Chrome.
I think this is good enough for now, so closing.
New Gerrit change created: https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/170277
Gerrit change https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/170277 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=c33b21b029691792cfdd16c449a64226208e1608
New Gerrit change created: https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/170901
Gerrit change https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/170901 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=e75b8370bcb112849cf1d3063326ba14d756848a