Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rspack-contrib/rspress-plugin-font-open-sans
Use Open Sans as the default font in your Rspress website.
https://github.com/rspack-contrib/rspress-plugin-font-open-sans
plugin rspress
Last synced: about 2 months ago
JSON representation
Use Open Sans as the default font in your Rspress website.
- Host: GitHub
- URL: https://github.com/rspack-contrib/rspress-plugin-font-open-sans
- Owner: rspack-contrib
- License: mit
- Created: 2024-03-22T08:02:20.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-03-24T02:41:41.000Z (6 months ago)
- Last Synced: 2024-07-18T22:19:50.133Z (2 months ago)
- Topics: plugin, rspress
- Language: CSS
- Homepage:
- Size: 109 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rspack - rspress-plugin-font-open-sans
README
# rspress-plugin-font-open-sans
Use Open Sans as the default font in your Rspress website.
## About
Open Sans is a humanist sans serif typeface designed by Steve Matteson, Type Director of Ascender Corp.
See [Google Fonts - Open Sans](https://fonts.google.com/specimen/Open+Sans/about)
![image](https://github.com/rspack-contrib/rspress-plugin-font-open-sans/assets/7237365/de552371-5aab-4deb-b2fa-f7a66fff6706)
## Usage
Install:
```bash
npm add rspress-plugin-font-open-sans -D
```Add plugin to your `rspress.config.ts`:
```ts
// rspress.config.ts
import { pluginFontOpenSans } from 'rspress-plugin-font-open-sans';export default {
plugins: [pluginFontOpenSans()],
};
```