Go to file
Javier Álvarez Medina f8529d15a5 Merge pull request #162 from CartoDB/entry-point
Chaning way to load CartoAssets stylesheets
2017-05-25 16:47:23 +02:00
icon-font Chaning way to load cartoassets stylesheets 2017-05-23 17:54:22 +02:00
src Copy all perfect-scroll stylesheets to a vendor library and then use it as convinience 2017-05-24 18:40:19 +02:00
styleguide Chaning way to load cartoassets stylesheets 2017-05-23 17:54:22 +02:00
tasks not adding finally pefect-scroll styles 2017-05-24 13:29:41 +02:00
.gitignore Adds svgs back 2016-01-18 18:30:56 +01:00
.hound.yml Adding HoundCI 2016-01-14 19:09:08 +01:00
.scss-lint.yml Exclude utilities reset stylesheet 2016-01-27 14:30:52 +01:00
.styleguide Added gh-pages task 2016-01-14 22:17:06 +01:00
.travis.yml Add travis for grunt build 2016-02-09 18:58:14 +01:00
Gruntfile.js Adds generate-font command 2016-01-18 11:16:53 +01:00
Gulpfile.js Copy all perfect-scroll stylesheets to a vendor library and then use it as convinience 2017-05-24 18:40:19 +02:00
Icon-Fonting.md Gives format 2016-01-18 18:33:59 +01:00
LICENSE-MIT Yay CartoAssets 2016-01-14 12:14:43 +01:00
package.json Copy all perfect-scroll stylesheets to a vendor library and then use it as convinience 2017-05-24 18:40:19 +02:00
README.md README updated 2017-05-05 11:20:42 +02:00

CartoAssets NPM version

Share frontend assets between different CartoDB repositories

Installation

As easy as:

Build

If you want to use any of the CartoAssets components, after the installation just run:

  • grunt build

Development

It will generate a UI documentation about the components in this repository:

  • grunt dev

If you want to check the documenation, it is generated in the dist folder.

How to add/update the icon font

See this instructions

Publish a new version in NPM

In order to publish a new version of CartoAssets you need to:

  • Change version of the package.
  • Be a collaborator of the npm module (Send an email to xavijam[at]cartodb.com).

If you have these previous steps done:

  • npm publish

Publish CartoAssets styleguide and documentation in GH-Pages

Just run this command:

  • grunt publish

Browser support

Chrome Firefox IE Opera Safari
31+ ✔ 38+ ✔ 11+ ✔ 31+ ✔ 8+ ✔