slidevjs/themes

Seriph theme should load bold and italic styles as well

747 opened this issue · 1 comments

747 commented
# **Welcome** to *Slidev*

Presentation slides for developers

results in the following rendering (just using the starter template):
image

It apparently shows fake boldface and italic fallbacks rather than the true glyphs the font is supposed to have.
image

Of course I can add a line in the style.css as follows to easily make them work:

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

but considering it is one of the default themes, out-of-box support would be appreciated as well as appropriate.

antfu commented

Nice catch! PR welcome