Webfont conversion of the Clear Sans typeface designed by Intel.
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.
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;
}
NPM:
$ npm install clear-sans-webfont
Bower:
$ bower install clear-sans-webfont
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.
- Node.js (v0.12.x or v4.x)
- Ruby (>=v2.0.0)
- Jekyll (>=v2.0.0):
$ gem install jekyll
- Sass:
$ gem install sass
- Grunt:
$ npm install -g grunt-cli
Install the Node dependencies by running this command:
$ npm install
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
$ grunt
Alternatively, you can manually run grunt
and jekyll serve
when needed.
Run the following command to deploy the docs to the gh-pages
branch.
$ grunt publish
- Fork it
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Create a new Pull Request
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.