Common assets shared across several repositories
CSS HTML JavaScript
Clone or download
Pull request Compare This branch is 6 commits ahead, 300 commits behind CartoDB:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
icon-font
src
styleguide
tasks
.gitignore
.hound.yml
.scss-lint.yml
.styleguide
.travis.yml
Gruntfile.js
Gulpfile.js
Icon-Fonting.md
LICENSE-MIT
README.md
package.json

README.md

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+ ✔ 10+ ✔ 31+ ✔ 8+ ✔