Merge tag 'v0.5.0' into develop

Version 0.5.0
This commit is contained in:
Christian Hoffmeister 2016-06-08 11:53:47 +02:00
commit 121643336e
12 changed files with 50 additions and 52 deletions

View File

@ -20,21 +20,19 @@ $ bower install roboto-fontface --save
There're several files in the `css/` subdirectory. Import them in your project There're several files in the `css/` subdirectory. Import them in your project
to have access to "Roboto" font face: to have access to "Roboto" font face:
* `roboto-fontface.css` - whole font family compiled to CSS * `css/roboto/roboto-fontface.css` - whole font family compiled to CSS
* `sass/roboto-fontface.scss` - whole font family in SCSS * `css/roboto/sass/roboto-fontface.scss` - whole font family in SCSS
* `less/roboto-fontface.less` - whole font family in LESS * `css/roboto/less/roboto-fontface.less` - whole font family in LESS
* `css/roboto-condensed/roboto-condensed-fontface.css` - whole font family compiled to CSS
* `css/roboto-condensed/sass/roboto-condensed-fontface.scss` - whole font family in SCSS
* `css/roboto-condensed/less/roboto-condensed-fontface.less` - whole font family in LESS
Importing whole family may be unnecessary and lead to huge build, so if you are Importing whole family may be unnecessary and lead to huge build, so if you are
using SCSS or LESS, you can import only individual weights by importing one using SCSS or LESS, you can import only individual weights by importing for example:
of the following files:
* `roboto-fontface-(thin|light|regular|medium|bold|black).scss` * `css/roboto/sass/roboto-fontface-black.scss`
* `roboto-fontface-(thin|light|regular|medium|bold|black).less` * `css/roboto/sass/roboto-fontface-black-italic.scss`
Their italic variants can be imported by adding `-italic` suffix:
* `roboto-fontface-(thin|light|regular|medium|bold|black)-italic.scss`
* `roboto-fontface-(thin|light|regular|medium|bold|black)-italic.less`
## Hinting ## Hinting

View File

@ -1,7 +1,7 @@
{ {
"name": "roboto-fontface", "name": "roboto-fontface",
"description": "A simple package providing the Roboto fontface.", "description": "A simple package providing the Roboto fontface.",
"version": "0.4.5", "version": "0.5.0",
"main": [ "main": [
"./css/roboto/roboto-fontface.css", "./css/roboto/roboto-fontface.css",
"./css/roboto-condensed/roboto-condensed-fontface.css", "./css/roboto-condensed/roboto-condensed-fontface.css",

View File

@ -1,6 +1,6 @@
{ {
"name": "roboto-fontface", "name": "roboto-fontface",
"version": "0.4.5", "version": "0.5.0",
"description": "A simple package providing the Roboto fontface.", "description": "A simple package providing the Roboto fontface.",
"main": "css/roboto/roboto-fontface.css", "main": "css/roboto/roboto-fontface.css",
"scripts": { "scripts": {