Go to file
2023-05-20 22:27:56 +08:00
icon-font Chaning way to load cartoassets stylesheets 2017-05-23 17:54:22 +02:00
src 更新 'src/scss/cdb-variables/_sizes.scss' 2023-05-20 22:27:56 +08: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 Update NodeJS version for Travis checks 2018-05-21 16:07:34 +02: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 0.2.7 2018-10-19 17:09:43 +02:00
README.md Fix typo 2018-08-20 11:45:29 +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 documentation, 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+ ✔