diff --git a/README.md b/README.md index 245bd8c..b3464e7 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,72 @@ -# Crispy - Lightweight CSS / SASS Framework +# Crispy - Lightweight CSS / SCSS Framework ## Installation ``` -npm install crispy-boilerplate +npm install crispy-css ``` -Main SCSS-File: +## How it works + +### SCSS + +``` +@import + "crispy"; +``` + +Now include Mixins you need. Components and Modifiziers only works if you include them,

- Lightweight CSS / SASS Framework + Lightweight CSS / SCSS Framework

@@ -117,7 +117,7 @@ @include crispy__overlay(); @include crispy__panel(); @include crispy__table(); -

For Custom Variables add a File before importing Crispy

+

For Custom Variables add a File before importing Crispy,

@import
     "variables",
     "crispy";
diff --git a/package.json b/package.json index 320b043..708c2f5 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "crispy", + "name": "crispy-css", "version": "2.0.0", "description": "Flat Sass Boilerplate to give you a amount of Basic Settings, Mixins and Functions", "repository": { diff --git a/src/all.scss b/src/crispy_all.scss similarity index 100% rename from src/all.scss rename to src/crispy_all.scss diff --git a/src/minimal.scss b/src/crispy_minimal.scss similarity index 100% rename from src/minimal.scss rename to src/crispy_minimal.scss diff --git a/webpack.mix.js b/webpack.mix.js index 5d391cc..7c71709 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -11,14 +11,14 @@ let mix = require('laravel-mix'); | */ -mix.sass('src/all.scss', 'dist/crispy.css', { +mix.sass('src/crispy_all.scss', 'dist/crispy_all.css', { sassOptions: { includePaths: [ 'node_modules/normalize-scss/sass' ] } }) - .sass('src/minimal.scss', 'dist/crispy_minimal.css', { + .sass('src/crispy_minimal.scss', 'dist/crispy_minimal.css', { sassOptions: { includePaths: [ 'node_modules/normalize-scss/sass'