How to make code deltas easier to read? (cascadea)
irace opened this issue · 10 comments
Hello – I am using the Cascadea for macOS to apply the GitHub Dark usercss, and am finding the code deltas very hard to read:
In particular, the blue text is hard to read on both the red and green backgrounds.
Am I doing anything wrong? Is there an easy way to change the syntax highlighting to be a bit more legible?
Thanks in advance for your help.
Hi and thanks you for reaching out.
If Cascadea supports full usercss (Im unfamiliar with Cascadea btw), it should show the GitHub Dark usercss menu like so.
If not then an alternative maybe the Github Dark Script or consider using another browser and Stylus.
Hope that helps.
Looks like your style extension does not support usercss options or does not implement them fully. Maybe try the non-usercss version.
Hi @irace!
Since Cascadea doesn't currently support the UserCSS format, I think your only option is to create a new style and paste your desired syntax highlighting theme(s) into it. GitHub uses 3 different themes:
- GitHub for diffs & markdown.
- CodeMirror used while editing.
- Jupyter for Jupyter & Help pages.
I'm not sure how to contact the developers of Cascadea to make an enhancement request, but we have a UserCSS meta parser & spec available.
Thanks all – using the non-usercss version that @silverwind linked to seems to have improved things greatly. I’d still rather Cascadea add support for UserCSS, so I'll try following up with the developer.
I’d still rather Cascadea add support for UserCSS, so I'll try following up with the developer.
Thats good to hear, fingers crossed on usercss front. I also looked at his privacy policy and looks simple similar to Stylus, however there's no code available to audit. Sure would make things more transparent if it were. :)
I m sure it goes without saying but feel free to link this report to Cascadea's dev.
Good luck and happy to see silverwinds solution worked for you. :)
Hi there! I'm the developer of Cascadea. Just wanted to update you all on this particular issue. I just pushed Cascadea 1.3 to the App Store, which should correctly parse and apply UserCSS variables so that the UserCSS version of this style looks correct. Previous releases didn't really handle UserCSS variables at all, so any properties that depend on variables just, well, didn't work, which resulted in a lot of broken properties in Github Dark. Now the default values should be applied. (I'm actually using Github Dark in Cascadea 1.3 as I type this!)
I'm still working on implementing UI for actually customizing variables, which should hopefully be in the next release.
Ive updated our wiki page related to Cascadea to reflect this information so if there are any new advances or more up-to-date info feel free to let us know.
=)
Thanks. Readme updated.
Ive updated the wiki page =) Will also give it a whirl in my text macOS vm