An open API service indexing awesome lists of open source software.

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

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
````