diff --git a/icon-font/template.jst.ejs b/icon-font/template.jst.ejs index fd1e29f..d52b624 100644 --- a/icon-font/template.jst.ejs +++ b/icon-font/template.jst.ejs @@ -1,6 +1,8 @@ // Icon font elements // ---------------------------------------------- +@import "cdb-variables/sizes"; + @font-face { font-family: 'CartoIcon'; src: url('../fonts/cartoIcon.eot'); @@ -22,6 +24,16 @@ line-height: 1; } +.CDB-IconFont--center { + vertical-align: middle; +} +.CDB-IconFont--top { + vertical-align: top; +} +.CDB-IconFont--small { + font-size: $sFontSize-small + 1; +} + /* SG # Typography/Icon font All available icons in CartoDB. diff --git a/package.json b/package.json index 645280d..e629759 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "cartoassets", "description": "Share frontend assets between different CartoDB repositories", - "version": "0.1.17", + "version": "0.1.19", "homepage": "https://github.com/cartodb/CartoAssets", "author": { - "name": "xavijam", - "email": "xavijam@gmail.com" + "name": "CartoDB", + "email": "contact@cartodb.com" }, "contributors": [ "Javier Álvarez ", diff --git a/src/fonts/cartoIcon.eot b/src/fonts/cartoIcon.eot index 39f8a38..887caac 100644 Binary files a/src/fonts/cartoIcon.eot and b/src/fonts/cartoIcon.eot differ diff --git a/src/fonts/cartoIcon.ttf b/src/fonts/cartoIcon.ttf index 20b4654..2cfff3c 100644 Binary files a/src/fonts/cartoIcon.ttf and b/src/fonts/cartoIcon.ttf differ diff --git a/src/fonts/cartoIcon.woff b/src/fonts/cartoIcon.woff index f004e2d..06005bb 100644 Binary files a/src/fonts/cartoIcon.woff and b/src/fonts/cartoIcon.woff differ diff --git a/src/scss/cdb-icon-font.scss b/src/scss/cdb-icon-font.scss index ddeeef6..14b5258 100644 --- a/src/scss/cdb-icon-font.scss +++ b/src/scss/cdb-icon-font.scss @@ -1,6 +1,8 @@ // Icon font elements // ---------------------------------------------- +@import "cdb-variables/sizes"; + @font-face { font-family: 'CartoIcon'; src: url('../fonts/cartoIcon.eot'); @@ -22,6 +24,16 @@ line-height: 1; } +.CDB-IconFont--center { + vertical-align: middle; +} +.CDB-IconFont--top { + vertical-align: top; +} +.CDB-IconFont--small { + font-size: $sFontSize-small + 1; +} + /* SG # Typography/Icon font All available icons in CartoDB.