From 14d23e9b35652706f395eaecc3691482c385382f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20=C3=81lvarez=20Medina?= Date: Wed, 24 May 2017 13:17:36 +0200 Subject: [PATCH] Adding perfect-scroll styles to cartoassets --- package.json | 3 ++- src/fonts/cartoIcon.eot | Bin 20864 -> 20864 bytes src/fonts/cartoIcon.ttf | Bin 20692 -> 20692 bytes src/fonts/cartoIcon.woff | Bin 13020 -> 13020 bytes src/scss/entry.scss | 2 ++ tasks/sass.js | 5 ++++- 6 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a6c7113..cfcfd7a 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,8 @@ "gulp-install": "0.2.0", "gulp-sketch": "0.0.7", "grunt-shell": "1.1.2", - "load-grunt-tasks": "*" + "load-grunt-tasks": "*", + "perfect-scrollbar": "git://github.com/CartoDB/perfect-scrollbar.git#master" }, "keywords": [ "library", diff --git a/src/fonts/cartoIcon.eot b/src/fonts/cartoIcon.eot index a11e456ac04524a4769e70025222d108c9e65430..1f632a9c08c2c153f29c44a89bc201a1d75f4ed0 100644 GIT binary patch delta 52 zcmZoz%-FD)ae@ug&cKOw8KycMt%N9m&UcmUk9{~IX B5)1$U delta 52 zcmZoz%-FD)ae@t#ZT3XF4NM)2CVrSEm2Df(Z}XLboADO|5M1?Ez5}B-FJOG&4*>GK B5~%h(E Y6~Xui$mL*Q0*L|ub+8TFvv(_H2lO8vjsO4v diff --git a/src/scss/entry.scss b/src/scss/entry.scss index cae3365..4d60242 100644 --- a/src/scss/entry.scss +++ b/src/scss/entry.scss @@ -12,6 +12,8 @@ @import 'cdb-utilities/fonts'; @import 'cdb-utilities/helpers'; +@import 'main'; // Perfect scrollbar styles + @import 'cdb-components/forms/checkbox'; @import 'cdb-components/forms/dropdowns'; @import 'cdb-components/forms/inputs'; diff --git a/tasks/sass.js b/tasks/sass.js index 8f8f168..0c24c19 100644 --- a/tasks/sass.js +++ b/tasks/sass.js @@ -2,7 +2,10 @@ module.exports = { dist: { options: { sourceMap: false, - outputStyle: 'compressed' + outputStyle: 'compressed', + includePaths: [ + 'node_modules/perfect-scrollbar/src/css' + ] }, files: [{ expand: true,