Re: Tooltip over dark background

2016-06-14 Thread Stefan Salewski
On Tue, 2016-06-14 at 22:50 +0200, infirit wrote: > Unfortunately documentation is really sparse Thanks for your reply. After some testing I have indeed been able to get black text on white background with this Nim code: const   str0 = ".tooltip {background-color: #fff; color: #000; \n}" proc

Re: Tooltip over dark background

2016-06-14 Thread infirit
Op 06/14/2016 om 10:08 PM schreef Stefan Salewski: > There seems to be no easy solution. Getting the GtkSourceView colors is > not easy, and setting the tooltip colors may be really hard. Plain > color setting is deprecated generally, so we have to use CSS I guess. > Maybe the only way is Pango

Tooltip over dark background

2016-06-14 Thread Stefan Salewski
When I use a dark color scheme for GtkSourceView tooltips displaying syntax errors look not really nice. For example I am using a color scheme similar to this one currently: http://ssalewski.de/tmp/NEd-SHD.png Some weeks ago, when I still was using a light scheme, I could hover over a syntax