News for hackers. Stuff that matters.
Re:The Joy of Linux Theming in the Age of Bootable Containers by cosmic_cheese on Sunday April 20, 2025 @07:32PM (#43747329)
> My vision for my app might conflict with your vision for your desktop. Maybe I want this button to be a light blue because it meshes well with some other elements in the app, but you want it to be a darker blue because it fits with your desktop's color scheme. What happens then?

Probably something similar to how Apple platforms handle colors. Instead of providing a single static light blue, you have a couple options:

1. Use a “system color”, which is pre-tuned for optimal contrast, appearance, and usability and adjusts automatically when e.g. the user switches between light/dark mode or enables an accessibility setting related to color or vision

2. Define a light blue that’s actually multiple variants of the color bundled together, with each being optimal to various environments, with the UI framework choosing the right one depending on the situation

Arguably developers should be doing these things anyway for accessibility reasons. It’s not been good practice to use e.g. bare color hexes for quite some time now.

Re:The Joy of Linux Theming in the Age of Bootable Containers by tuna74 on Monday April 21, 2025 @06:47AM (#43750389)
Isn't this what the accent colours do in newer GTK/Libadwaita?