Re: [PATCH] Dark theme for downloads.dpi
Rodrigo Arias <[email protected]> Sat, 24 Aug 2024 15:39:01 +0200
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Sat, Aug 24, 2024 at 02:15:13PM +0200, [email protected] wrote: >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. I think I would place them under ~/.dillo/theme/ so we can select which one you want from the menu, based on the name you put to the .css file. >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? It would be nice to keep it working for some time, so users can slowly update to CSS themes. Maybe we can just auto-generate a legacy.css theme with the dillorc options. I'm also thinking we may want to also include the icons, so we avoid the problem of having a single icon that must support dark and light backgrounds. In this case, maybe a layout like this may be more useful: ~/.dillo/theme/<name>/style.css ~/.dillo/theme/<name>/icons.png Which also makes it easy to install new themes by just cloning a remote git repository. Best, Rodrigo. _______________________________________________ Dillo-dev mailing list -- dillo-dev-lx9mn2B4QYRWk0Htik3J/[email protected] To unsubscribe send an email to dillo-dev-leave-lx9mn2B4QYRWk0Htik3J/[email protected]