joeyespo / grip

Preview GitHub README.md files locally before committing them.
MIT License
6.42k stars 423 forks source link

Add theme support #335

Closed aparajita closed 1 year ago

aparajita commented 3 years ago

Thank you so much for this fantastic tool!

This PR adds support for setting the default theme. The standard GitHub Light, Dark, and Dark dimmed themes are supported. The theme can be set in the config file via a THEME variable, via --theme=<theme> on the command line, or dynamically via a menu in generated non-user content pages.

The template JavaScript has also been modernized to use const and let instead of var. GitHub does not support any browsers that do not support this, there's no reason for Grip to.

API and CLI tests have been updated. Note the GitHub tests were failing before this PR, I didn't bother fixing them.

yevhene commented 2 years ago

Thanks! It will be nice to have this merged

aparajita commented 2 years ago

Unfortunately I think this project is dead. Last commit was 2 years ago, and the maintainer is not responding to any issues or PRs.

diachedelic commented 2 years ago

Have you tried pinging joeyespo on twitter? http://twitter.com/joeyespo

aparajita commented 2 years ago

@diachedelic I have too much other stuff going on, it isn't that important.