Open bongnv opened 4 years ago
Yes, there're still some styles should be able to override in both default theme and blog theme.
I think the variable name can be $fontFamily
. Contribution Welcome!
I am probably missing something, but how can we override font.style
and prevent font files import?
I'm also looking for this new feature :D
Raised the PR #80.
Feature request
What problem does this feature solve?
Currently, font-family in some places is hard-coded to
PT Serif, Serif
. Therefore, if you want to use a different font for your own need, it's not possible unless:I believe both of the approaches are not elegant.
What does the proposed API look like?
Allow to override
$font-family-serif
inindex.styl
orpalette.styl
like:How should this be implemented in your opinion?
Some hard-coded place like:
will be changed to
Are you willing to work on this yourself?
Yes