This commit is contained in:
parent
0ef39970e6
commit
212b06eb49
|
@ -1,8 +1,8 @@
|
||||||
@import "typeface-pt-sans/index.css";
|
|
||||||
@import "typeface-pt-mono/index.css";
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font: 16px/1.5 "PT Sans", sans-serif;
|
font-size: 14px;
|
||||||
|
line-height: 1.5;
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
|
||||||
|
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
margin: 2em 0;
|
margin: 2em 0;
|
||||||
|
@ -14,7 +14,7 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: "PT Mono", monospace;
|
font-family: Menlo, Monaco, "Courier New", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
@ -22,7 +22,7 @@ h1 {
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
font-size: 0.875em;
|
font-size: 0.857em;
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
|
|
||||||
# typeface-pt-mono
|
|
||||||
|
|
||||||
The CSS and web font files to easily self-host “PT Mono”.
|
|
||||||
|
|
||||||
## Install
|
|
||||||
|
|
||||||
`npm install --save typeface-pt-mono`
|
|
||||||
|
|
||||||
## Use
|
|
||||||
|
|
||||||
Typefaces assume you’re using webpack to process CSS and files. Each typeface
|
|
||||||
package includes all necessary font files (woff2, woff) and a CSS file with
|
|
||||||
font-face declarations pointing at these files.
|
|
||||||
|
|
||||||
You will need to have webpack setup to load css and font files. Many tools built
|
|
||||||
with Webpack will work out of the box with Typefaces such as [Gatsby](https://github.com/gatsbyjs/gatsby)
|
|
||||||
and [Create React App](https://github.com/facebookincubator/create-react-app).
|
|
||||||
|
|
||||||
To use, simply require the package in your project’s entry file e.g.
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
// Load PT Mono typeface
|
|
||||||
require('typeface-pt-mono')
|
|
||||||
```
|
|
||||||
|
|
||||||
## About the Typefaces project.
|
|
||||||
|
|
||||||
Our goal is to add all open source fonts to NPM to simplify using great fonts in
|
|
||||||
our web projects. We’re currently maintaining 939 typeface packages
|
|
||||||
including all typefaces on Google Fonts.
|
|
||||||
|
|
||||||
If your favorite typeface isn’t published yet, [let us know](https://github.com/KyleAMathews/typefaces)
|
|
||||||
and we’ll add it!
|
|
|
@ -1 +0,0 @@
|
||||||
{"hash":"24310e0c7ef042b882b1e59f6112fa88","updatedAt":"2019-02-28T18:44:13.339Z"}
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,13 +0,0 @@
|
||||||
/* pt-mono-400normal - latin */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'PT Mono';
|
|
||||||
font-style: normal;
|
|
||||||
font-display: swap;
|
|
||||||
font-weight: 400;
|
|
||||||
src:
|
|
||||||
local('PT Mono Regular '),
|
|
||||||
local('PT Mono-Regular'),
|
|
||||||
url('./files/pt-mono-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
||||||
url('./files/pt-mono-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,48 +0,0 @@
|
||||||
{
|
|
||||||
"_from": "typeface-pt-mono",
|
|
||||||
"_id": "typeface-pt-mono@0.0.72",
|
|
||||||
"_inBundle": false,
|
|
||||||
"_integrity": "sha512-7AMVSvB0oT2TDPyCJlVKSIxPjspI08Rlhg/SEUwQORSyalZgtSt2pDJEvVZuJbBIak70oB2ts6vL4iunYPUGKA==",
|
|
||||||
"_location": "/typeface-pt-mono",
|
|
||||||
"_phantomChildren": {},
|
|
||||||
"_requested": {
|
|
||||||
"type": "tag",
|
|
||||||
"registry": true,
|
|
||||||
"raw": "typeface-pt-mono",
|
|
||||||
"name": "typeface-pt-mono",
|
|
||||||
"escapedName": "typeface-pt-mono",
|
|
||||||
"rawSpec": "",
|
|
||||||
"saveSpec": null,
|
|
||||||
"fetchSpec": "latest"
|
|
||||||
},
|
|
||||||
"_requiredBy": [
|
|
||||||
"#USER",
|
|
||||||
"/"
|
|
||||||
],
|
|
||||||
"_resolved": "https://registry.npmjs.org/typeface-pt-mono/-/typeface-pt-mono-0.0.72.tgz",
|
|
||||||
"_shasum": "1ce4a636d335c77bb01712ba136a99f764647a04",
|
|
||||||
"_spec": "typeface-pt-mono",
|
|
||||||
"_where": "/Users/leafac/Code/www.kill-the-newsletter.com/static",
|
|
||||||
"author": {
|
|
||||||
"name": "Kyle Mathews",
|
|
||||||
"email": "mathews.kyle@gmail.com"
|
|
||||||
},
|
|
||||||
"bundleDependencies": false,
|
|
||||||
"deprecated": false,
|
|
||||||
"description": "PT Mono typeface",
|
|
||||||
"keywords": [
|
|
||||||
"typeface",
|
|
||||||
"font",
|
|
||||||
"font family",
|
|
||||||
"google fonts",
|
|
||||||
"pt-mono"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
|
||||||
"main": "index.css",
|
|
||||||
"name": "typeface-pt-mono",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/KyleAMathews/typefaces/tree/master/packages/pt-mono"
|
|
||||||
},
|
|
||||||
"version": "0.0.72"
|
|
||||||
}
|
|
|
@ -1,34 +0,0 @@
|
||||||
|
|
||||||
# typeface-pt-sans
|
|
||||||
|
|
||||||
The CSS and web font files to easily self-host “PT Sans”.
|
|
||||||
|
|
||||||
## Install
|
|
||||||
|
|
||||||
`npm install --save typeface-pt-sans`
|
|
||||||
|
|
||||||
## Use
|
|
||||||
|
|
||||||
Typefaces assume you’re using webpack to process CSS and files. Each typeface
|
|
||||||
package includes all necessary font files (woff2, woff) and a CSS file with
|
|
||||||
font-face declarations pointing at these files.
|
|
||||||
|
|
||||||
You will need to have webpack setup to load css and font files. Many tools built
|
|
||||||
with Webpack will work out of the box with Typefaces such as [Gatsby](https://github.com/gatsbyjs/gatsby)
|
|
||||||
and [Create React App](https://github.com/facebookincubator/create-react-app).
|
|
||||||
|
|
||||||
To use, simply require the package in your project’s entry file e.g.
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
// Load PT Sans typeface
|
|
||||||
require('typeface-pt-sans')
|
|
||||||
```
|
|
||||||
|
|
||||||
## About the Typefaces project.
|
|
||||||
|
|
||||||
Our goal is to add all open source fonts to NPM to simplify using great fonts in
|
|
||||||
our web projects. We’re currently maintaining 939 typeface packages
|
|
||||||
including all typefaces on Google Fonts.
|
|
||||||
|
|
||||||
If your favorite typeface isn’t published yet, [let us know](https://github.com/KyleAMathews/typefaces)
|
|
||||||
and we’ll add it!
|
|
|
@ -1 +0,0 @@
|
||||||
{"hash":"80de7b5256341aa0474a0b3bafa42e14","updatedAt":"2019-02-28T18:41:14.640Z"}
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,52 +0,0 @@
|
||||||
/* pt-sans-400normal - latin */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'PT Sans';
|
|
||||||
font-style: normal;
|
|
||||||
font-display: swap;
|
|
||||||
font-weight: 400;
|
|
||||||
src:
|
|
||||||
local('PT Sans Regular '),
|
|
||||||
local('PT Sans-Regular'),
|
|
||||||
url('./files/pt-sans-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
||||||
url('./files/pt-sans-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* pt-sans-400italic - latin */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'PT Sans';
|
|
||||||
font-style: italic;
|
|
||||||
font-display: swap;
|
|
||||||
font-weight: 400;
|
|
||||||
src:
|
|
||||||
local('PT Sans Regular italic'),
|
|
||||||
local('PT Sans-Regularitalic'),
|
|
||||||
url('./files/pt-sans-latin-400italic.woff2') format('woff2'), /* Super Modern Browsers */
|
|
||||||
url('./files/pt-sans-latin-400italic.woff') format('woff'); /* Modern Browsers */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* pt-sans-700normal - latin */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'PT Sans';
|
|
||||||
font-style: normal;
|
|
||||||
font-display: swap;
|
|
||||||
font-weight: 700;
|
|
||||||
src:
|
|
||||||
local('PT Sans Bold '),
|
|
||||||
local('PT Sans-Bold'),
|
|
||||||
url('./files/pt-sans-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
||||||
url('./files/pt-sans-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* pt-sans-700italic - latin */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'PT Sans';
|
|
||||||
font-style: italic;
|
|
||||||
font-display: swap;
|
|
||||||
font-weight: 700;
|
|
||||||
src:
|
|
||||||
local('PT Sans Bold italic'),
|
|
||||||
local('PT Sans-Bolditalic'),
|
|
||||||
url('./files/pt-sans-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
|
|
||||||
url('./files/pt-sans-latin-700italic.woff') format('woff'); /* Modern Browsers */
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,48 +0,0 @@
|
||||||
{
|
|
||||||
"_from": "typeface-pt-sans",
|
|
||||||
"_id": "typeface-pt-sans@0.0.72",
|
|
||||||
"_inBundle": false,
|
|
||||||
"_integrity": "sha512-eDMv72dE+0dwjIDltzZAUusF+cDgOfZKazHZK08uKCOG/BEzY6oc/WqtQLN71j5/voTXFi5M4+nXNbZnCayDMQ==",
|
|
||||||
"_location": "/typeface-pt-sans",
|
|
||||||
"_phantomChildren": {},
|
|
||||||
"_requested": {
|
|
||||||
"type": "tag",
|
|
||||||
"registry": true,
|
|
||||||
"raw": "typeface-pt-sans",
|
|
||||||
"name": "typeface-pt-sans",
|
|
||||||
"escapedName": "typeface-pt-sans",
|
|
||||||
"rawSpec": "",
|
|
||||||
"saveSpec": null,
|
|
||||||
"fetchSpec": "latest"
|
|
||||||
},
|
|
||||||
"_requiredBy": [
|
|
||||||
"#USER",
|
|
||||||
"/"
|
|
||||||
],
|
|
||||||
"_resolved": "https://registry.npmjs.org/typeface-pt-sans/-/typeface-pt-sans-0.0.72.tgz",
|
|
||||||
"_shasum": "c47d198510b2ed1272ad6329cf1ae5f782ebf4cf",
|
|
||||||
"_spec": "typeface-pt-sans",
|
|
||||||
"_where": "/Users/leafac/Code/www.kill-the-newsletter.com/static",
|
|
||||||
"author": {
|
|
||||||
"name": "Kyle Mathews",
|
|
||||||
"email": "mathews.kyle@gmail.com"
|
|
||||||
},
|
|
||||||
"bundleDependencies": false,
|
|
||||||
"deprecated": false,
|
|
||||||
"description": "PT Sans typeface",
|
|
||||||
"keywords": [
|
|
||||||
"typeface",
|
|
||||||
"font",
|
|
||||||
"font family",
|
|
||||||
"google fonts",
|
|
||||||
"pt-sans"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
|
||||||
"main": "index.css",
|
|
||||||
"name": "typeface-pt-sans",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/KyleAMathews/typefaces/tree/master/packages/pt-sans"
|
|
||||||
},
|
|
||||||
"version": "0.0.72"
|
|
||||||
}
|
|
Loading…
Reference in New Issue