Fossil User Forum

All tickets list with dark mode skin has bad contrast
Login

All tickets list with dark mode skin has bad contrast

All tickets list with dark mode skin has bad contrast

(1.1) By sean (jungleboogie) on 2021-03-26 22:24:26 edited from 1.0 [source]

Hi all,

Visiting the report page with the dark mode skin enabled causes the contrast to be wrong and difficult to read. The view ticket page is also difficult.

Other than that, I really like this skin. I especially like how easy it is to switch between them.

(2) By Stephan Beal (stephan) on 2021-03-26 20:25:37 in reply to 1.0 [link] [source]

Visiting the report page with the dark mode skin enabled causes the contrast to be wrong and difficult to read.

Those colors are hard-coded into the report SQL, so there's not really a way to make them 100% skin-friendly :/. That was one of fossil's very earliest features, long before skinning became an option.

It seems that adding this CSS to the skin more or less resolves it:

body.report table.report tr td { color: black }
body.report table.report a { color: blue }
body.tkt td.tktDspValue { color: black }
body.tkt td.tktDspValue a { color: blue }

Not perfectly, but it's a start, so i'll get that checked in soon.

Thank you for the report!

(3) By sean (jungleboogie) on 2021-04-07 15:18:23 in reply to 2 [link] [source]

By the way, thanks for fixing this. I think the changes are very nice. Good job!