4 ms·
Browsers used to commonly support user stylesheets. Chrome removed it a long time ago, and I'm not sure what the status of that is in Firefox now. The issue is
by randallsquared 1y ago
Browsers used to commonly support user stylesheets. Chrome removed it a long time ago, and I'm not sure what the status of that is in Firefox now. The issue is that there's no single common use case for them, and if there were, it would be simpler to build it in. But maintaining that level of flexibility has a continuing cost...
- johnisgood 1y agoI am referring to the fact that there are more or less simple algorithms you can use to determine the dark version of colors, or rather, perceptually darker variants (e.g. APCA). The browser could make the contrast threshold configurable.
- johnisgood 1y agoOh, and there is inverse(), but I have no idea how good that is.
- SoftTalker 1y agoFirefox appears to support a light and dark mode, custom foreground and background colors, and setting a default font face and size. Nothing like full user stylesheet support, at least not without extensions.
- saint_yossarian 1y agoIt does support the userContent.css file in the profile, there's just no UI for it.
- shwouchk 1y agosafari still supports it on mac