Re: Scrollbar themeing

Rodrigo Arias <[email protected]> Sun, 13 Oct 2024 20:26:53 +0200
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
Hi,

On Sun, Oct 13, 2024 at 05:56:26PM +0200, [email protected] wrote:
>Hi,
>
>When using a dark theme, the scrollbar can be very hard to see:
>
>https://alex.envs.net/test/scroll-theme-stock1.png
>
>I made some changes and now the scrollbar looks nicer and is more
>visible:
>
>https://alex.envs.net/test/scroll-theme-mod1.png
>
>If someone wants to try it, here is a patch which also includes some
>commented lines which you can use to further customize the appearance
>of the scrollbar.

I think this is a side effect of altering the colormap only partially. I 
would imagine that by mapping *all* light colors to dark counterparts, 
you will get coherent box borders. Here is more info:

https://www.fltk.org/doc-1.3/drawing.html
https://www.fltk.org/doc-1.3/drawing.html#drawing_colors

This is an example of such colormap that may be easy to try using 
Fl:set_color():

https://github.com/fltk-rs/fltk-theme/blob/main/src/color_themes/dark.rs
https://www.fltk.org/doc-1.3/group__fl__attributes.html#gac62f634ba8089a9d0e48bf57154c61b0

Best,
Rodrigo.
_______________________________________________
Dillo-dev mailing list -- dillo-dev-lx9mn2B4QYRWk0Htik3J/[email protected]
To unsubscribe send an email to dillo-dev-leave-lx9mn2B4QYRWk0Htik3J/[email protected]