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

Update github.js #100

Merged
merged 2 commits into from Feb 20, 2021
Merged

Update github.js #100

merged 2 commits into from Feb 20, 2021

Conversation

krsntn
Copy link
Contributor

@krsntn krsntn commented Dec 9, 2020

more closer match to github theme

more closer match to github theme
@kitten
Copy link
Contributor

kitten commented Dec 9, 2020

Hiya 👋 this is some amazing work! Do you have a short description or summary of how you arrived on some of the changes, even if some of it may just come down to matching some discrepancies manually?

@krsntn
Copy link
Contributor Author

krsntn commented Dec 10, 2020

I working on my project which came across to use this github theme. Somehow I find it not really matching with the current github theme. Therefore, to fulfill the need in my project, I updated this github theme accordingly.

@kitten kitten merged commit f5e607c into FormidableLabs:master Feb 20, 2021
kitten added a commit that referenced this pull request Feb 20, 2021
more closer match to github theme

Co-authored-by: Phil Pluckthun <phil@kitten.sh>
kitten added a commit that referenced this pull request Feb 20, 2021
more closer match to github theme

Co-authored-by: Phil Pluckthun <phil@kitten.sh>
@zepatrik
Copy link

zepatrik commented May 3, 2021

It would have been nice to not remove all kinds of general token (e.g. string, symbol, namespace) classes, but instead update their styles. This completely broke some of my custom language definitions after updating...
Just for the future 😉

zepatrik added a commit to ory/keto that referenced this pull request May 3, 2021
…ax highlighting

closes #561
Syntax highlighting broke because docusaurus updated prism and that resulted in FormidableLabs/prism-react-renderer#100 being propagated which in turn removed some of the token classes we used. Added a custom theme to avoid that in the future.
@lex111
Copy link
Contributor

lex111 commented May 21, 2021

Note that this change causes serious regression, for example, just compare syntax highlighting for HTML:

Due to the high color contrast, the code is difficult to read.

Before After
image image

Moreover, this doesn't match GitHub's color scheme, since it should be as on screenshot below:

image

Apparently not only I faced such problem, other people are also forced to rollback "prism-react-renderer" to the previous "stable" version (1.1.1)

seek-oss/scoobie@f58f3f0

kitten added a commit that referenced this pull request May 21, 2021
@kitten kitten mentioned this pull request May 21, 2021
@kitten
Copy link
Contributor

kitten commented May 21, 2021

I've reverted this PR for now until I can check which changes from it are save to pick over: 0040cd4

@zepatrik
Copy link

In fact, @krsntn probably used dark mode when doing this. Maybe move this to a separate theme instead? Maybe he can clarify how he came up with this?

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

Successfully merging this pull request may close these issues.

None yet

4 participants