A function to inject custom css into a webpage would be really nice, as it eliminates the need for extensions (e.g. Stylus) to inject custom CSS to for example globally change the font, make a dark mode for a certain website, etc.
BomberFish Please provide full specification for the feature. How would this work inside Orion?
Vlad I've come up with an idea or two, and I made an outline of the feature in MS Paint.
Check out https://orionfeedback.org/d/1235-custom-style-sheet.
This is how you can do it on Safari.
This is way too coplex in my opinionion. This requires bundling an editor into Orion, as well as a lot of other features. Having a preference for a custom CSS, as safari does is a much better option in my opinion.
Combining this with the concept of a Reader Mode would be great.
Try and extract standard tags from webpages, and have custom user styles for those tags.
Not to hijack the thread, however, there is a great Chrome extension that would suit this purpose perfectly. If Orion could support it - or if the extension could support Orion - not sure which it should be? Currently a quick test of the extension results in failure to properly work.
Amino Editor Chrome Extension
Amino Editor Website