/rspress-plugin-font-open-sans

Use Open Sans as the default font in your Rspress website.

Primary LanguageCSSMIT LicenseMIT

rspress-plugin-font-open-sans

Use Open Sans as the default font in your Rspress website.

npm version license

About

Open Sans is a humanist sans serif typeface designed by Steve Matteson, Type Director of Ascender Corp.

See Google Fonts - Open Sans

image

Usage

Install:

npm add rspress-plugin-font-open-sans -D

Add plugin to your rspress.config.ts:

// rspress.config.ts
import { pluginFontOpenSans } from 'rspress-plugin-font-open-sans';

export default {
  plugins: [pluginFontOpenSans()],
};