File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- # All Scratch modules together
1
+ # All Scratch modules together
2
2
3
3
[ ![ Gitter] ( https://img.shields.io/gitter/room/nwjs/nw.js.svg )] ( https://gitter.im/scratch-css/all )
4
4
[ ![ npm (scoped)] ( https://img.shields.io/npm/v/@nikoloza/scratch-all.svg )] ( https://www.npmjs.com/package/@nikoloza/scratch-all )
@@ -18,17 +18,17 @@ To know more about Scratch and its modules you can [read here](https://github.co
18
18
npm install @scratch-css/all --save
19
19
20
20
You need to import it in your CSS file:
21
-
21
+
22
22
@import '@scratch-css/scratch';
23
-
23
+
24
24
Or, import from ` node_modules ` path:
25
25
26
- @import './node_modules/ @scratch-css/scratch/index.css';
26
+ @import '@scratch-css/scratch/index.css';
27
27
28
28
### Try:
29
29
30
30
Try to add this snippet in your CSS just to check if it works:
31
31
32
32
body { background-color: var(--success) !important; }
33
-
33
+
34
34
Background must be green, [ is not it] ( https://github.com/scratch-css/scratch/issues ) ?
Original file line number Diff line number Diff line change 1
1
/* scratch framework */
2
- @import '/node_modules/ @nikoloza/scratch/lib/index.css' ;
2
+ @import '@nikoloza/scratch/lib/index.css' ;
3
3
4
4
/* scratch grid */
5
- @import '/node_modules/ @nikoloza/scratch-grid/lib/index.css' ;
5
+ @import '@nikoloza/scratch-grid/lib/index.css' ;
6
6
7
7
/* scratch ui */
8
- @import '/node_modules/ @nikoloza/scratch-ui/lib/index.css' ;
8
+ @import '@nikoloza/scratch-ui/lib/index.css' ;
9
9
10
10
/* scratch helpers */
11
- @import '/node_modules/ @nikoloza/scratch-helpers/lib/index.css' ;
11
+ @import '@nikoloza/scratch-helpers/lib/index.css' ;
12
12
13
13
/* scratch animations */
14
- @import '/node_modules/ @nikoloza/scratch-animations/lib/index.css' ;
14
+ @import '@nikoloza/scratch-animations/lib/index.css' ;
You can’t perform that action at this time.
0 commit comments