Closed michaeltlombardi closed 6 years ago
It looks like that is related to this line which sets the $fa-font-path
.
@michaeltlombardi thanks for pointing this out. I've made an update that makes the Font Awesome path a variable. So in your website.scss
you can overwrite the path such as:
@import "../node_modules/gitbook-plugin-theme-gestalt/src/scss/variables";
$path-font-awesome : "/gitbook/fonts/fontawesome";
@import "../node_modules/gitbook-plugin-theme-gestalt/src/scss/all";
Awesome, thanks! :)
I've been playing around with the gestalt theme recently and noticed that the fontawesome icons weren't showing correctly - I had to go in and alter the path to the font files from
./gitbook/...
to/gitbook/...
.Running a build without any changes:
Fontawesome icons not rendering:
This is the combiled
gitbook/style.css
:And then I update
gitbook/style.css
:And here's the
gitbook/style.css
after my 'fix':For reference, here's the gitbook config: