people on hacker news wanted dark mode, so i gave it to them. also: collapsible comments, so you can cope with those sprawling threads that defy their tree structure by somehow becoming circular hn.svelte.dev/item/23197966
11
10
178
in case anyone is curious: yes, it respects prefers-color-scheme, yes, it will persist your choice to localStorage, no, it won't result in a flash of wrongly-themed content like *ahem* some implementations
4
1
47
If I changed theme to dark, how I can return it back to the auto?
2
0
0
Just to clarify, is this code up the top required boilerplate, or an example of what gets produced by the plugin? My intuitions here are too underdeveloped to help me figure that part out.
1
0
0
Whoops forgot attachment

5:17 AM · May 16, 2020

1
0
0