Skip to content

Commit 957d65e

Browse files
committed
updated version
1 parent 4c6ab55 commit 957d65e

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# All Scratch modules together
1+
# All Scratch modules together
22

33
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/scratch-css/all)
44
[![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
1818
npm install @scratch-css/all --save
1919

2020
You need to import it in your CSS file:
21-
21+
2222
@import '@scratch-css/scratch';
23-
23+
2424
Or, import from `node_modules` path:
2525

26-
@import './node_modules/@scratch-css/scratch/index.css';
26+
@import '@scratch-css/scratch/index.css';
2727

2828
### Try:
2929

3030
Try to add this snippet in your CSS just to check if it works:
3131

3232
body { background-color: var(--success) !important; }
33-
33+
3434
Background must be green, [is not it](https://github.com/scratch-css/scratch/issues)?

index.css

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/* scratch framework */
2-
@import '/node_modules/@nikoloza/scratch/lib/index.css';
2+
@import '@nikoloza/scratch/lib/index.css';
33

44
/* scratch grid */
5-
@import '/node_modules/@nikoloza/scratch-grid/lib/index.css';
5+
@import '@nikoloza/scratch-grid/lib/index.css';
66

77
/* scratch ui */
8-
@import '/node_modules/@nikoloza/scratch-ui/lib/index.css';
8+
@import '@nikoloza/scratch-ui/lib/index.css';
99

1010
/* scratch helpers */
11-
@import '/node_modules/@nikoloza/scratch-helpers/lib/index.css';
11+
@import '@nikoloza/scratch-helpers/lib/index.css';
1212

1313
/* scratch animations */
14-
@import '/node_modules/@nikoloza/scratch-animations/lib/index.css';
14+
@import '@nikoloza/scratch-animations/lib/index.css';

0 commit comments

Comments
 (0)