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 1 month 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 (10 months ago)
- Default Branch: main
- Last Pushed: 2024-12-01T01:48:40.000Z (about 1 month ago)
- Last Synced: 2024-12-01T02:31:41.881Z (about 1 month ago)
- Topics: plugin, rspress
- Language: CSS
- Homepage:
- Size: 171 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
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()],
};
```