https://github.com/divspace/pt-serif
Bower package for the PT Serif web font
https://github.com/divspace/pt-serif
Last synced: about 1 month ago
JSON representation
Bower package for the PT Serif web font
- Host: GitHub
- URL: https://github.com/divspace/pt-serif
- Owner: divspace
- License: other
- Created: 2015-11-12T22:39:32.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-12T22:40:37.000Z (over 10 years ago)
- Last Synced: 2025-03-02T15:47:08.160Z (over 1 year ago)
- Language: CSS
- Size: 0 Bytes
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# PT Serif
Bower package for the [PT Serif](http://www.paratype.com/public/) web font.
## Usage
Add the following `HTML` to your website:
````html
````
Alternatively, you can use the minified version:
````html
````
Use the following `CSS` to integrate the font into your website:
````css
font-family: "PT Serif", serif;
````
## Customization
To compile your own stylesheet, open `scss/pt-serif.scss` and remove any font styles you're not using:
````scss
@import "regular";
@import "italic";
@import "bold";
@import "bold-italic";
````
To generate an **unminified** stylesheet and source map file, run the following command:
````bash
gulp
````
To generate a **minified** stylesheet, run the following command:
````bash
gulp --production
````