Merge pull request #13 from CartoDB/fonts-location

Moving generated styles to a ```css``` folder and changing all routes related with fonts due to this change
This commit is contained in:
Javier Álvarez Medina 2016-01-20 18:50:47 +01:00
commit e35f7ba3c2
9 changed files with 15 additions and 15 deletions

View File

@ -3,11 +3,11 @@
@font-face { @font-face {
font-family: 'CartoIcon'; font-family: 'CartoIcon';
src: url('fonts/cartoIcon.eot'); src: url('../fonts/cartoIcon.eot');
src: url('fonts/cartoIcon.eot?#iefix') format('embedded-opentype'), src: url('../fonts/cartoIcon.eot?#iefix') format('embedded-opentype'),
url('fonts/cartoIcon.woff') format('woff'), url('../fonts/cartoIcon.woff') format('woff'),
url('fonts/cartoIcon.ttf') format('truetype'), url('../fonts/cartoIcon.ttf') format('truetype'),
url('fonts/cartoIcon.svg?ey3vsq#cartoIcon') format('svg'); url('../fonts/cartoIcon.svg?ey3vsq#cartoIcon') format('svg');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "cartoassets", "name": "cartoassets",
"description": "Share frontend assets between different CartoDB repositories", "description": "Share frontend assets between different CartoDB repositories",
"version": "0.1.13", "version": "0.1.14",
"homepage": "https://github.com/cartodb/CartoAssets", "homepage": "https://github.com/cartodb/CartoAssets",
"author": { "author": {
"name": "xavijam", "name": "xavijam",

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -3,11 +3,11 @@
@font-face { @font-face {
font-family: 'CartoIcon'; font-family: 'CartoIcon';
src: url('fonts/cartoIcon.eot'); src: url('../fonts/cartoIcon.eot');
src: url('fonts/cartoIcon.eot?#iefix') format('embedded-opentype'), src: url('../fonts/cartoIcon.eot?#iefix') format('embedded-opentype'),
url('fonts/cartoIcon.woff') format('woff'), url('../fonts/cartoIcon.woff') format('woff'),
url('fonts/cartoIcon.ttf') format('truetype'), url('../fonts/cartoIcon.ttf') format('truetype'),
url('fonts/cartoIcon.svg?ey3vsq#cartoIcon') format('svg'); url('../fonts/cartoIcon.svg?ey3vsq#cartoIcon') format('svg');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }

View File

@ -1,5 +1,5 @@
<head> <head>
<link href='../cartostyles.css' type='text/css' rel='stylesheet'> <link href='../css/cartostyles.css' type='text/css' rel='stylesheet'>
</head> </head>
{{> theme}} {{> theme}}

View File

@ -2,7 +2,7 @@ module.exports = {
dist: { dist: {
options: {}, options: {},
files: { files: {
'dist/cartostyles.css': [ 'dist/css/cartostyles.css': [
'.tmp/src/scss/**/*.css' '.tmp/src/scss/**/*.css'
] ]
} }

View File

@ -4,8 +4,8 @@ module.exports = {
check: 'gzip' check: 'gzip'
}, },
files: { files: {
'dist/cartostyles.css': [ 'dist/css/cartostyles.css': [
'dist/cartostyles.css' 'dist/css/cartostyles.css'
] ]
} }
} }