joelekstrom / fastmate

A native Fastmail-wrapper for Mac.
MIT License
194 stars 12 forks source link

Add userstyles #99

Closed mdbraber closed 1 year ago

mdbraber commented 1 year ago

I wanted to include some CSS tweaks for Fastmail and instead of creating a separate JS file (which could be done easily) I thought a userstyles option (similar to the userscripts option) would be nicer

joelekstrom commented 1 year ago

Thanks for working on this! Just to cure my ignorance - what would be the practical difference between userscripts and userstyles?

mdbraber commented 1 year ago

(I botched the commit with some previous stuff for compose windows I was working on. I've got to rebase something to submit a clean PR - problem is the Storyboard was changed in both commits so I have to revert some stuff manually)

Difference is simply that userstyles can load css files directly, without the user needing to know JS (it basically wraps the CSS in a JS function that adds it to a Githubissues.

  • Githubissues is a development platform for aggregating issues.