Skip to content

Commit b43fdd3

Browse files
Update README.md
1 parent ee43eea commit b43fdd3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
## CastleCSS Framework
55
The core files are part of the [CastleCSS Package](https://github.com/CastleCSS/castlecss)
66

7-
87
## How to install
98
- Install via [npm](https://www.npmjs.com/): ```npm install castlecss-core```
109
- Require it in your own npm package
@@ -19,6 +18,13 @@ CastleCSS is built so it's easy to update, you can just download make it your ow
1918
You can find the documentation and examples at http://www.castlecss.com and [castlecss-docs](https://github.com/CastleCSS/castlecss-docs)
2019

2120

21+
## Adjusting the variables
22+
Because of the unique update-able setup of CastleCSS you need a seperate variable file to overwrite the default CastleCSS variables. There are a few ways to do this:
23+
24+
- Use the [boilerplate](https://github.com/CastleCSS/castlecss-boilerplate/) which provides a variables.scss file
25+
- Copy variables.scss from /node_modules/castlecss-core/sass/variables.scss into your own scss folder and include it into your main.scss
26+
- Copy the example from the [documentation](http://castlecss.com/variables.html) into your own variables.scss and include it into your main.scss
27+
2228
## Basic structure
2329
The basis structure for your website should look similar like this:
2430

0 commit comments

Comments
 (0)