Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Latest commit

 

History

History
121 lines (76 loc) · 3.03 KB

README.md

File metadata and controls

121 lines (76 loc) · 3.03 KB

Clear Sans Webfont

Webfont conversion of the Clear Sans typeface designed by Intel.


Deprecated

Please use typeface-clear-sans instead: https://www.npmjs.com/package/typeface-clear-sans


This is the webfont conversion for the Clear Sans typeface, designed by the Intel® Open Source Technology Center This webfont conversion is available in TrueType, WOFF, EOT and SVG format, which ensures that you have the best format for the font to be displayed smoothly on any system.

View the specimen.

How to include

Manually

To use this font, simply put the fonts folder in your root directory, and the clear-sans.css file on the css/ folder.

Next, link the CSS as follows:

<link rel="stylesheet" type="text/css" media="screen" href="css/clear-sans.css">

Then call the Clear Sans font on your CSS with:

.class {
  font-family: 'Clear Sans', sans-serif;
}

Via package managers

NPM:

$ npm install clear-sans-webfont

Bower:

$ bower install clear-sans-webfont

Via RawGit CDN

To include the CSS files through a CDN link, use the following HTML.

<link rel="stylesheet" type="text/css" media="screen" href="https://cdn.rawgit.com/resir014/Clear-Sans-Webfont/v1.1.1/css/clear-sans.css">

Heads up: The files are hosted on RawGit's CDN, which is a free service, so there are no uptime or support guarantees. It is highly preferred that you manually host the files yourself.

Working with docs

Requirements

Install the Node dependencies by running this command:

$ npm install

Running locally

Open a terminal window and run the following command to start a Jekyll server:

$ jekyll serve

Then, open another terminal window and run the following command to automatically build the CSS every time a file is changed:

$ grunt watch

Building the project

$ grunt

Alternatively, you can manually run grunt and jekyll serve when needed.

Deploying to gh-pages

Run the following command to deploy the docs to the gh-pages branch.

$ grunt publish

Contributing

  1. Fork it
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Create a new Pull Request

Credits

The Clear Sans typeface is © Intel Corporation, released under the Apache 2.0 License.

WOFF2 conversion is done by @citrusui.

This webfont conversion is © Resi Respati, released under the MIT license.