4.1.0 • Published 3 years ago

charter-webfont v4.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

charter-webfont

A webfont package for the Charter font

demo npm lcense npm jsdelivr

For more information about the font, see Charter | Butterick's Practical Typography and Bitstream Charter - Wikipedia.

Usage

Use jsDelivr

Put the jsDelivr <link> into your html head, then set your font-family to use Charter. For example:

<html>
<head>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/charter-webfont@4/charter.min.css" />
  <style>
    body {
      font-family: "Charter", sans-serif;
    }
  </style>
</head>
<body>
  <!-- blablabla -->
</body>
</html>

Use NPM

First, install the package via npm or yarn.

npm install --save charter-webfont

Then import the css to your main css style file and set your font-family to use Charter.

@import 'node_modules/charter-webfont/charter.css';
body {
  font-family: "Charter", sans-serif;
}

License

charter-webfont © Chawye Hsu. Released under the MIT License.
See LICENSE.fonts.txt for the Charter typeface's license.

Blog · GitHub @chawyehsu · Twitter @chawyehsu

4.1.0

3 years ago

4.0.0

3 years ago

3.0.2

4 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago