Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Allow to customize font familyΒ #79

@bongnv

Description

@bongnv

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 in index.styl or palette.styl like:

$font-family-serif = 'Noto Serif', Serif

How should this be implemented in your opinion?

Some hard-coded place like:

.vuepress-blog-theme-content
  font-family PT Serif, Serif

will be changed to

.vuepress-blog-theme-content
  font-family $font-family-serif

Are you willing to work on this yourself?

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions