Lightweight CSS Framework for Building Apps and Websites https://crispy-css.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Björn 6f9273fb88 adding #17 4 years ago
assets/iconmoon adding 5 years ago
dist adding #17 4 years ago
src adding #17 4 years ago
.gitignore adding new header 6 years ago
LICENSE adding body 7 years ago
README.md adding 5 years ago
mix-manifest.json adding 5 years ago
package.json adding #17 4 years ago
webpack.mix.js adding 5 years ago

README.md

Crispy - Lightweight CSS / SCSS Framework

Installation

npm install crispy-css

How it works

SCSS

@import
    "crispy";

Now include Mixins you need. Components and Modifiziers only works if you include them,</

@include crispy__core();
@include crispy__modifiers();

// components
@include crispy__button();
@include crispy__code();
@include crispy__field();
@include crispy__group();
@include crispy__heading();
@include crispy__hero();
@include crispy__icon();
@include crispy__media();
@include crispy__modal();
@include crispy__overlay();
@include crispy__panel();
@include crispy__table();

For Custom Variables add a File before importing Crispy,

@import
    "variables",
    "crispy";

If you need all, mixins will be included,

@import
    "crispy_all";

Only need Core and Modifiziers?

@import
    "crispy_minimal";

CSS

For using CSS you can use crispy.css for all Styles or crispy_mininmal.css without Components.

Example

You find an example in "/src/example", this is this Documentation. In the given example there are additional directories. These ones are part of a structure which might be helpful for you.

Site

Contains header, footer, partials that are used on a site or webapp. Header and Footer are not classical components, there often more complex and have a special brand.

Templates

Templates are for a single site or a group of sites, they are complex and there is no benefit so reuse them as components.