blockchain-css
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "blockchain-css", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Blockchain CSS", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -34,9 +34,25 @@ # Blockchain.info CSS | ||
Each project should have it's own build tool to handle compiling the CSS. Link to the blockchain-css project like so: | ||
Link to the blockchain-css project like so in your project.scss file: | ||
```sh | ||
@import 'path/to/node_modules/blockchain-css/sass/bootstrap-blockchain'; | ||
@import 'path/to/node_modules/blockchain-css/sass/fonts'; | ||
@import 'path/to/node_modules/blockchain-css/sass/utilities/colors'; | ||
@import 'blockchain-css/sass/bootstrap-blockchain'; | ||
@import 'blockchain-css/sass/fonts'; | ||
@import 'blockchain-css/sass/utilities/colors'; | ||
... | ||
``` | ||
Make sure your project has it's own build tool to handle compiling the CSS. | ||
```sh | ||
sass: | ||
options: | ||
includePaths: ["node_modules", "bower_components"] | ||
build: | ||
files: [{ | ||
expand: true, | ||
cwd: 'css', | ||
src: ['**/*.scss'], | ||
dest: 'build/css', | ||
ext: '.css' | ||
}] | ||
``` |
Sorry, the diff of this file is not supported yet
9278442
78
58