-
Couldn't load subscription status.
- Fork 3.7k
(themes) Add tokyo-night-light
#3482
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
(themes) Add tokyo-night-light
#3482
Conversation
|
How much of this is a "direct port" vs a HLJS imagining of the theme? I was going to ask you to tune that 1.96 ratio to at least a 3, but now I'm wondering how we should treat "externally" ported themes from an accessibility POV. IE, should baseline accessibility or "fidelity to the original" be more important drivers? @highlightjs/core Any thoughts? |
|
Its an accurate port as far as my adapting process went, but I did have to squint my eyes at certain parts of the code. I should have created this pr as a draft first. |
|
I think perhaps for accessibility that a pass over ALL the I'm going to split this into a separate issue and add it to the v12 list. |
I really like the However, I agree with your statement of splitting this off into a separate thread. I feel like it'd be appropriate to have some discussion/thoughts regarding how we define an "accessible theme." WCAG is flawed in some cases and there's a new player in town: APCA (it even comes with its own npm package we can use!). So I'd want to explore these options before we make a decision. But for my immediate response as to what to do right now for new themes: default to accessible colors, opt-into less accessible with |
|
Please see review comments. Hope to push out a release soon, if this is ready it can be part of 11.5 :-) |
|
@joshgoebel I will work on it today, sorry that my pr is taking forever. |
reverted all my linting changes and added the tokyo-night-light
|
@Vanderscycle No problem, glad to see it getting finished up! |
Changes
added

tokyo-night-lightand made some corrections to comments on my previous pr. Original repocheckTheme.js resultss

Checklist
CHANGES.md