Skip to content

_variables.scss $body-font-family ignored #1032

Answered by mattxwang
rayraspberry asked this question in General
Discussion options

You must be logged in to vote

Hey @rayraspberry, sorry for the late response - have been juggling a ton of different work in my personal life.

A search indicates that the font variables set in _variables.scss don't even make it to the generated site at all.

Hm, I'm not sure what you mean here; the chain is slightly complicated, but I do think things are being put into the generated site.

For $body-font-family, it is used in base.css (line 20), which the generates just-the-docs-default.css:

font-family: $body-font-family;

Is it possible that you're overriding this variable later in your custom CSS/SCSS stack?

I also don't see this behaviour on other v…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mattxwang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants