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:
commit
e35f7ba3c2
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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.
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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}}
|
||||||
|
@ -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'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -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'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user