We have support for using system themes colors. Try to find out if
there are suitable colors we could pick for syntax highlighting. I do
not have the code right now, but look for QPalette and ColorRole in
our source code.

JMarc

2012/8/30 Liviu Andronic <landronim...@gmail.com>:
> On Tue, Aug 28, 2012 at 12:05 PM, Jürgen Spitzmüller <sp...@lyx.org> wrote:
>>> In both cases the white elements on the screen defeat the purpose of a
>>> dark theme and strain the eyes. Should I file a bug report on this?
>>
>> I suggest you file separate reports for each of those issues, and
>> maybe a META ticket which links to all reports (including #5636).
>>
> I may have been a bit rash in my assessment. I'm not sure what
> changed---although I did reboot---, but now LyX displays almost no
> signs of incomplete theming when using the Darklooks dark theme. The
> Outline panel and all the dialogues taht I could check are properly
> themed and easily readable. So there is really not much to report.
>
> Two issues that are well present:
> - Some icons can be barely visible depending on the dark theme,
> especially the Math icons (#5636). (With Darklooks, which uses dark
> shades of grey for background, the situation is quite fine; but not
> everyone is using this particular dark theme.)
> - The font colors, understandably mostly forced and not theme based,
> are not always appropriate for a dark background. This is a big issue
> and forces the user to guess what colors might be appropriate, but
> this is no easy task. For example, the syntax highlighting in the
> Preamble uses dark blue which flashes out on a dark background.
> (Again, Darklooks here.) Or the red 'LaTeX text' (or ERT). Or a
> similar blue for the 'New page' inset. Or put a footnote in a note:
> the text would be light-grey and invisible on the flashy yellow
> background.
>
> The appropriate solution could be having an additional checkbox in
> Prefs > Colors: 'Use colorscheme compatible with dark themes' or
> similar. But someone with good tastes would need to take the time to
> do that. I've been trying to use a dark themed CSS browser userstyle
> and tweak it for low contrast [1], and this is no easy task.
>
> I will file an ticket for this second issue, but I'm not sure there is
> still need for a META ticket in this case. Let me know.
>
> Regards
> Liviu
>
> [1] http://people.ds.cam.ac.uk/ssb22/css/
> [2] http://people.ds.cam.ac.uk/ssb22/css/dark.html

Reply via email to