monkeyWzr / hugo-theme-cactus

Cactus theme for hugo
MIT License
541 stars 341 forks source link

Custom fonts and .styl variables #45

Closed alamine53 closed 3 years ago

alamine53 commented 3 years ago

Really appreciate your work!

i'd like to set new Font variables $font-family-body and $font-size. What's the best way to do this?

monkeyWzr commented 3 years ago

@alamine53 Hi there! Sorry for the delay! This theme now uses Hugo's built-in SCSS pipe (see #67). you can change assets/scss/_variables.scss in the theme folder and then rebuild the blog and It will work.

Also, If you need some new fonts, define them in assets/scss/_font.scss