Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make code deltas easier to read? (cascadea) #808

Closed
irace opened this issue Dec 28, 2018 · 10 comments
Closed

How to make code deltas easier to read? (cascadea) #808

irace opened this issue Dec 28, 2018 · 10 comments

Comments

@irace
Copy link

irace commented Dec 28, 2018

Hello – I am using the Cascadea for macOS to apply the GitHub Dark usercss, and am finding the code deltas very hard to read:

screen shot 2018-12-27 at 11 14 52 pm

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.

@the-j0k3r
Copy link
Member

the-j0k3r commented Dec 28, 2018

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.

usercss

If not then an alternative maybe the Github Dark Script or consider using another browser and Stylus.

Hope that helps.

@silverwind
Copy link
Member

silverwind commented Dec 28, 2018

Looks like your style extension does not support usercss options or does not implement them fully. Maybe try the non-usercss version.

@Mottie
Copy link
Member

Mottie commented Dec 28, 2018

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:

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.

@irace
Copy link
Author

irace commented Dec 28, 2018

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.

@irace irace closed this as completed Dec 28, 2018
@the-j0k3r
Copy link
Member

the-j0k3r commented Dec 28, 2018

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. :)

@the-j0k3r the-j0k3r changed the title How to make code deltas easier to read? How to make code deltas easier to read? (cascadea) Jan 17, 2019
@the-j0k3r the-j0k3r pinned this issue Jan 17, 2019
@mikefreuden
Copy link

mikefreuden commented Mar 27, 2019

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.

@the-j0k3r
Copy link
Member

@mikefreuden

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.

=)

@silverwind silverwind unpinned this issue May 16, 2019
@mikefreuden
Copy link

One (hopefully last) update for you all. Cascadea 1.4 adds UI for customizing @advanced and @var UserCSS variables, so using Cascadea should now provide a first-class GitHub Dark experience. :)

Screen Shot 2019-06-11 at 9 08 26 AM

@silverwind
Copy link
Member

Thanks. Readme updated.

@the-j0k3r
Copy link
Member

Ive updated the wiki page =) Will also give it a whirl in my text macOS vm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants