You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
zhongjin 3224ec9b65
更新 'src/scss/cdb-variables/_sizes.scss'
4 months ago
icon-font Chaning way to load cartoassets stylesheets 7 years ago
src 更新 'src/scss/cdb-variables/_sizes.scss' 4 months ago
styleguide Chaning way to load cartoassets stylesheets 7 years ago
tasks not adding finally pefect-scroll styles 7 years ago
.gitignore Adds svgs back 9 years ago
.hound.yml Adding HoundCI 9 years ago
.scss-lint.yml Exclude utilities reset stylesheet 9 years ago
.styleguide Added gh-pages task 9 years ago
.travis.yml Update NodeJS version for Travis checks 6 years ago
Gruntfile.js Adds generate-font command 9 years ago
Gulpfile.js Copy all perfect-scroll stylesheets to a vendor library and then use it as convinience 7 years ago
Icon-Fonting.md Gives format 9 years ago
LICENSE-MIT Yay CartoAssets 9 years ago
README.md Fix typo 6 years ago
package.json 0.2.7 6 years ago

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 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+ ✔