News for hackers. Stuff that matters.
Re:New.css – A classless CSS framework to write modern websi... by tudorw on Monday May 18, 2020 @07:45AM (#23221134)
Pity I cannot just receive vanilla mark up and pick a client side theme.
Re:New.css – A classless CSS framework to write modern websi... by _ZeD_ on Monday May 18, 2020 @08:44AM (#23221602)
I'm pretty sure firefox has this feature.

the problem is no website offer custom css.

for an example: https://stackoverflow.com/questions/48227413/what-is-the-pur...

Re:New.css – A classless CSS framework to write modern websi... by ancarda on Monday May 18, 2020 @12:50PM (#23224895)
Seems Firefox doesn't remember the CSS you have selected (i.e. per page? per domain?)

I can think of some uses for this if it were sticky - high contrast and dark mode versions for websites

Re:New.css – A classless CSS framework to write modern websi... by 6510 on Tuesday May 19, 2020 @03:11AM (#23232144)
You can detect css changes and remember/enforce it yourself but yeah, it does remember permission per page so adding this should have been/be easy.
Re:New.css – A classless CSS framework to write modern websi... by andai on Monday May 18, 2020 @12:40PM (#23224735)
Oh wow. Does this only work on FF?
Re:New.css – A classless CSS framework to write modern websi... by pbhjpbhj on Monday May 18, 2020 @08:24AM (#23221424)
I doubt it would work well but you could put a theme in user.css (on Firefox) and block all .css files (with uBlock, say). Not sure if uBlock will block <style> tags, but I think it can.
Re:New.css – A classless CSS framework to write modern websi... by JadeNB on Monday May 18, 2020 @08:21PM (#23229946)
I think user.css automatically overrides any remote CSS, doesn't it?—so no need for blocking.
Re:New.css – A classless CSS framework to write modern websi... by pbhjpbhj on Wednesday May 20, 2020 @09:34AM (#23246613)
Yes, I suppose if you use a css reset then you wouldn't need to block .css files; but you could save a little bandwidth if you did.
Re:New.css – A classless CSS framework to write modern websi... by 6510 on Tuesday May 19, 2020 @03:07AM (#23232120)
Yeah, that is how it should have worked.

HN is pretty vanilla. I use it with https://userstyles.org/styles/92693/dark-hacker-news-solariz...

Not the standardized approach that we should have had long ago but better than nothing.