You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,6 @@
4
4
## CastleCSS Framework
5
5
The core files are part of the [CastleCSS Package](https://github.com/CastleCSS/castlecss)
6
6
7
-
8
7
## How to install
9
8
- Install via [npm](https://www.npmjs.com/): ```npm install castlecss-core```
10
9
- 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
19
18
You can find the documentation and examples at http://www.castlecss.com and [castlecss-docs](https://github.com/CastleCSS/castlecss-docs)
20
19
21
20
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
+
22
28
## Basic structure
23
29
The basis structure for your website should look similar like this:
0 commit comments