Currently the style generator from GitHub-Dark works well enough to be adapted to use for other sites other than GitHub.
This is a intermediary repo to pull files from and modify to do just that, and also to improve the generator from its current limitations.
TODO:
[ ] Replace grunt with npm scripts or gulp, whichever is faster.
[ ] Remove the need to have a theme-name.css in order to build a theme-name.usercss.css or at least implement a fallback to handle both scenarios.
[ ] Handle @media queries both reading and generating from source CSS.
[ ] generate CSS into specified @moz-document rules.
[ ] Also handle :rootvariables in generator like var(--this-color);
[ ] use global variables to replace a style name with variables for ease of adaptation to new sites.
[ ] Replace perfectionist with stylelint alternative e.g. Prettier
[ ] Something else you may think is a must.
At this time Im learning JS and not proficient enough to handle these tasks but here is hoping this idea gains support and a small dedicated community as I start to bring into this repo the generator as a template repo.
Currently the style generator from GitHub-Dark works well enough to be adapted to use for other sites other than GitHub. This is a intermediary repo to pull files from and modify to do just that, and also to improve the generator from its current limitations.
TODO:
theme-name.css
in order to build atheme-name.usercss.css
or at least implement a fallback to handle both scenarios.:root
variables in generator likevar(--this-color);
At this time Im learning JS and not proficient enough to handle these tasks but here is hoping this idea gains support and a small dedicated community as I start to bring into this repo the generator as a template repo.
Thanks.