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

Feature Request: Alternative Colour Schemes for syntax highlighting #1432

Open
kentfredric opened this issue Dec 29, 2014 · 2 comments
Open

Comments

@kentfredric
Copy link
Contributor

Because people tend not to really agree on how syntax should be highlighted, and there's also potential problems in perception[1], it would be "nice" to have an option to alternate between different syntax highlighting themes.

Search.cpan.org has a similar feature, although its rarely used or even known about because the UI hides it right at the bottom of the page.

http://search.cpan.org/~ether/Moose-2.1403/lib/Moose/Manual/Concepts.pod#COPYRIGHT_AND_LICENSE

screenshot - 123014 - 01 29 52

My initial suggestion would be to render a very transparent gear of some kind in the upper right corner of a code section, becoming opaque when hovered over, which gave a menu of choices with regards to syntax highlighting.

Granted a determined user could simply inject a custom user stylesheet, but that's rather non-trivial and challenging from a users perspective.

1: ie: not everyone perceives colour the same, and not all displays render colour contrast the same way, have you ever had 2 different screens from different manufacturers side by side, ever tried getting them to look the same? Ugh. And its not just a case of "Make more contrast" to fight low contrast display issues, sometimes you want less contrast because it could be too bright for you or something like that.

@rwstauner
Copy link
Contributor

This would be nice to have... I must admit that I hate that we swapped out
the green for the blue... I know we did it for improved contrast for the
color-blind, but I hate viewing diffs with red/blue (and explaining why
when other people ask).

@oalders
Copy link
Member

oalders commented Dec 29, 2014

+1 for being able to toggle diffs back to red/green for those who'd prefer it.

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