Skip to content

Commit 641401a

Browse files
Update README.md
1 parent f481faf commit 641401a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@ The ideal structure of your SASS folder should be the following:
6060
| | | | |-- grid.scss - *Flexbox scss grid with floating fallback*
6161
| | | | |-- static_files.scss - *Static files like containers*
6262

63+
### Main.scss
64+
You should make your own main.scss which includes castlecss. Your main.scss could/should look similar to this if you want to use your own variables:
65+
66+
```
67+
@import 'node_modules/castlecss-core/sass/variables'; core variables
68+
@import 'base/variables'; // own variables
69+
@import '/node_modules/castlecss-core/sass/main'; //rest of core files
70+
// now import the rest of your scss files
71+
```
72+
6373
### Overwrite CastleCSS
6474
Of course you want to be able to set your own variables and other classes. To do this: make your own custom folder outside of node modules folder and include the files in your main.scss.
6575

0 commit comments

Comments
 (0)