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

How did you compile the CSS? #20

Closed
TheHackerDev opened this issue Sep 22, 2017 · 1 comment
Closed

How did you compile the CSS? #20

TheHackerDev opened this issue Sep 22, 2017 · 1 comment

Comments

@TheHackerDev
Copy link

I'm trying to update the SCSS file and recompile it using the scss tool, but I can't seem to output the same type of CSS file as is included in the theme. How did you compile your SCSS file into CSS?

Cheers,
Aaron (insp3ctre)

@tomanistor
Copy link
Owner

tomanistor commented Sep 22, 2017

I use Gulp to compile SCSS files into minified CSS files. Here is the gulpfile I use for example:
https://github.com/tomanistor/tomanistor.com/blob/master/gulpfile.babel.js

I made the theme so you shouldn't have to edit the SCSS files though. It should be a little easier to inject custom CSS in snippets via these instructions:
https://github.com/tomanistor/osprey#custom-css

Unless you have a lot of CSS changes to make, then it would be better to install Gulp and make it part of your workflow. This is a great guide for doing that:
http:https://danbahrami.io/articles/building-a-production-website-with-hugo-and-gulp-js/

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

No branches or pull requests

2 participants