Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/07akioni/vfonts
https://github.com/07akioni/vfonts
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/07akioni/vfonts
- Owner: 07akioni
- Created: 2020-11-04T03:57:33.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-13T11:10:25.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T05:37:52.495Z (8 months ago)
- Language: CSS
- Size: 1.24 MB
- Stars: 68
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vfonts
Integreted fonts for easy usage.## Usage
```js
// in your js
import 'vfonts/{font-name}.css'
// for available fonts, see the following section
```
```css
/** in your css */
selector {
font-family: v-sans, v-mono, other-fallbacks;
}/** for available font weights, see the following section */
selector {
font-weight: 400; /** regular */
}selector {
font-weight: 500; /** medium */
}
```## Available Fonts
### `v-sans`
- `FiraSans.css`
- font weight `400`, `500`
- `IBMPlexSans.css`
- font weight `400`, `500`
- `Inter.css`
- font weight `400`, `500`
- `Lato.css`
- font weight `400`, `600`
- `OpenSans.css`
- font weight `400`, `600`
- `Roboto.css`
- font weight `400`, `500`
- `RobotoSlab.css`
- font weight `400`, `500`
### `v-mono`
- `FiraCode.css`
- font weight `400`