Re: [PATCH] Dark theme for downloads.dpi
<[email protected]> Sat, 24 Aug 2024 14:15:13 +0200
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Rodrigo, On Fri, 23 Aug 2024 01:12:38 +0200 Rodrigo Arias <[email protected]> wrote: > I'm wondering if we could add a mechanism to define themes without > having to rebuild Dillo. > > It would be nice to define some CSS-like styles that define the Dillo > interface colors and button styles too, and be able to switch among > them at runtime. As we already have the CSS parser, we could just use > CSS rules that apply to classes. > ... > I wanted to have at least a light and dark theme, so I can easily > switch from one to another quickly, probably with a single button > like the dark reader extension for Firefox: That would be great. Maybe we could just have 2 separate theme css files for light and dark mode, for example 'light.css' and 'dark.css' in ~/.dillo might be easiest. How do you envision this will work with the existing 'ui_*_color' prefs in dillorc? Would we just override those if theming is enabled, or should we get rid of them entirely and have everything controlled by the theme? > Here are some FLTK themes in Rust which also change the FLTK color > map: > > https://github.com/fltk-rs/fltk-theme/tree/main Thanks, there are some nice looking themes there, and might be a good source for ideas. I also found this, which is written in C++, but targets FLTK 1.4: https://github.com/MoAlyousef/Fl_Theme Regards, Alex _______________________________________________ Dillo-dev mailing list -- dillo-dev-lx9mn2B4QYRWk0Htik3J/[email protected] To unsubscribe send an email to dillo-dev-leave-lx9mn2B4QYRWk0Htik3J/[email protected]