cboettig / hugo-now-ui

:globe_with_meridians: Hugo adaptation of Now-UI from Creative Tim
http://cboettig.github.io/hugo-now-ui
MIT License
98 stars 61 forks source link

best ways to modify this theme? #15

Closed titaniumbones closed 5 years ago

titaniumbones commented 5 years ago

Hi @cboettig , thanks for this theme! I was wondering how best to modify colors and the like -- is there a standard bootstrap variables partial hiding here somewhere? THank you!

cboettig commented 5 years ago

You "just" have to edit and recompile the SASS variables, see: https://github.com/cboettig/hugo-now-ui/blob/master/static/sass/now-ui-kit/_variables.scss

titaniumbones commented 5 years ago

ah.  So would that be sass --scss  sass/now-ui-kit.scss css/now-ui-kit.css? I usually just use node-sass on other people's projects :-) .

cboettig commented 5 years ago

hehe, I look it up every time too. Or sass --watch sass:css I think.

cboettig commented 5 years ago

Note that thanks to https://github.com/cboettig/hugo-now-ui/pull/22, you can now just modify variables.scss and hugo will automatically compile the SASS resources to css for you using the new hugo pipes! (More details in the PR notes if you're interested, but basically it should all 'just work' now). Give it a spin!

titaniumbones commented 5 years ago

that's awesome -- I was looking at the sass pipes and thinking about implementing myself, excited to work with this!