Closed danhgit closed 4 years ago
@danhnguyen30041975 you may want to try with node 12
Then I have new file github-dark-twilight-cf6a4c.build.css whose content is at https://gist.github.com/danhnguyen30041975/11f85960f47b84c12bab1fc87eb9efa6. There are several problems on the generated css file which causes compiling error when the file is used as input for css processors less or sass
Im not sure where you get this file from, the only files you should count on for after generation for usage are github-dark.css and github-dark.user.css
node ./node_modules/.bin/grunt
Please see our valid scripts at https://github.com/StylishThemes/GitHub-Dark#development
I may have missed something as Im a bit confused with that output file you say you end up with, maybe someone else has a better insight.
I notice that by running grunt as advertised in build scripts you end up with a file that has no -moz rules, that could explain the extra closing brackets and other errors.
I never really used this so @silverwind or @Mottie can explain why this file is broken.
Thanks @the-j0k3r
you may want to try with node 12
I tried and the problem is still there
I notice that by running grunt as advertised in build scripts you
It was documented at Wiki (https://github.com/StylishThemes/GitHub-Dark/wiki/Build), and the grunt code also works as that way
Thanks for replying, again
D
@silverwind please have a look, this looks broken to me and no idea how to fix.
I think at this point we're better off removing support for build.json
. There's no need for it with usercss variables and it's more of a relic of the past right now.
Yes, lets.
Thanks @the-j0k3r for following-up
Hi @silverwind
I think at this point we're better off removing support for build.json.
Removing build.json
means there is no customization for existing themes in github-dark. Is it correct ? Is there any alternative support like build.json
in new github-dark ?
I think you can still customize the style just by editing the usercss template in tools and the github-dark.css and build a new theme based on that, The new github dark, lets not jump that far ahead of the horses, its not been worked on for a long time and shouldn't be used by anyone at this time.
Perhaps if you tell us what youre trying to achieve, we can make some more pertinent suggestions on how to achieve it?
Hi @the-j0k3r,
I want to have some "themes" (different colors) in github pages on my browser. The approach I follow is: I use custom build from github-dark, with little customization (with less), and paste the final css output into Stylish.
It've been useful approach till now when I have full customization on the dark theme.
It's great if we have alternative customization like build.json
having valid css
Just fork and customize till your hearts content in a commit or two, then to keep it up to date rebase your changes ontop of ours so yours are always at the top.
@danhnguyen30041975 you may want to consider Stylus https://add0n.com/stylus.html instead of stylish, Stylish doest care about your privacy.
this has been removed in https://github.com/StylishThemes/GitHub-Dark/commit/878658480c45acbdd42f43bcd6c0674fb2ab09f1
I create a custom theme using default
build.json
from the repo by below code snippetThen I have new file
github-dark-twilight-cf6a4c.build.css
whose content is at https://gist.github.com/danhnguyen30041975/11f85960f47b84c12bab1fc87eb9efa6. There are several problems on the generated css file which causes compiling error when the file is used as input for css processors less or sass}
at line 8518 is redundant. There should no}
at that line--bg-custom
at line 5 has invalid syntax, it should have a default value like--bg-custom: /*[[bg-custom]]*/ #fff;
--ghd-code-color:
miss final;
. It should be like--ghd-code-color:#ccc;}
.Could you help fix these problems ?