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-family: 'CartoIcon';
src: url('fonts/cartoIcon.eot');
src: url('fonts/cartoIcon.eot?#iefix') format('embedded-opentype'),
url('fonts/cartoIcon.woff') format('woff'),
url('fonts/cartoIcon.ttf') format('truetype'),
url('fonts/cartoIcon.svg?ey3vsq#cartoIcon') format('svg');
src: url('../fonts/cartoIcon.eot');
src: url('../fonts/cartoIcon.eot?#iefix') format('embedded-opentype'),
url('../fonts/cartoIcon.woff') format('woff'),
url('../fonts/cartoIcon.ttf') format('truetype'),
url('../fonts/cartoIcon.svg?ey3vsq#cartoIcon') format('svg');
font-weight: normal;
font-style: normal;
}

View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

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

View File

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

View File

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

View File

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