News for hackers. Stuff that matters.
Re:Please don’t theme our apps by Legogris on Saturday May 25, 2019 @09:08AM (#20008810)
I can see why the Electron-haters are downvoting you, but you're completely right. Don't build your apps in GTK if you don't want to have overridden GTK configurations affect your UI. I would really like Electron to add an on-by-default standard interface to override CSS rules for Electron apps, though.

(I don't have a horse in the Electron-is-great-or-crap race)

Re:Please don’t theme our apps by anoncake on Saturday May 25, 2019 @09:19AM (#20008877)
This is about free software. If a distribution insists on theming your Electron app, it can do so.
Re:Please don’t theme our apps by Legogris on Saturday May 25, 2019 @09:27AM (#20008912)
Sure. Even if I disagree with the letter, no one has asked for disallowing distros to do anything - it's more of a plea than a demand.
Re:Please don’t theme our apps by anoncake on Saturday May 25, 2019 @09:34AM (#20008957)
True. It even explicitly says that they don't want to use a technical solution like 781 proposed.
Re:Please don’t theme our apps by 781 on Saturday May 25, 2019 @09:15AM (#20008847)
> I would really Electron to add an on-by-default standard interface to override CSS rules for Electron apps

That's a hard problem to solve, since there are many ways of styling Electron - Bootstrap/Bulma/Material Design/custom stuff. So it's hard to just override CSS rules.

On the other hand, it's the kind of problem perfectly suited for Machine Learning - just take the whole screenshot/image of the app and use a stylistic ML to change it - make it Dark Theme/whatever...

I suspect in 10 years OSes will support ML-based automatic themeing/customization of all apps, regardless of what they are written in.

Re:Please don’t theme our apps by Legogris on Saturday May 25, 2019 @09:25AM (#20008903)
The exact same argument could be made for web apps, but we still have userChrome.css and userContent.css which solves this neatly.
Re:Please don’t theme our apps by 781 on Saturday May 25, 2019 @09:30AM (#20008934)
How many are actually using that? I don't know anybody.

https://www.ghacks.net/2019/05/24/firefox-69-userchrome-css-...

Re:Please don’t theme our apps by anoncake on Saturday May 25, 2019 @09:35AM (#20008965)
If we remove options just because few people use them, we might as well shut down the Gnome project along with everything else related to the Linux desktop.