0.0.2 • Published 5 years ago

@futhark/style-core v0.0.2

Weekly downloads
2
License
CC-BY-NC-SA-4.0
Repository
github
Last release
5 years ago

Futark :style

npm.io

Featues:

  • Sass variable system (prefixed variables + sass map + getter function)
    • Color System
    • Animation defaults
    • Border defaults
    • Icons
  • Function utilities
    • for lists
    • for maps
    • for numbers
    • validator
  • Minilalist grid system (with flexbox)
  • Usefull mixins: (aspect-ratio, hover, media-query, triangle, text-ellipis)
  • Includes third party
  • Easy import
  • Icon system (works great with icomoon)

The SASS folder structure:

sass/
├── helpers/
│   ├── _variables.scss
│   ├── _bourbon.scss
│   ├── _functions.scss
│   └── _mixins.scss
├── base/
│   ├── _reset.scss
│   └── _typography.scss
├── components/
│   └── ...
├── layout/
│   ├── _footer.scss
│   ├── _global.scss
│   └── _header.scss
└── style.sass

Sass Documentation : https://istuffs.github.io/starter-kit/

Installation

npm i -S @futark:style

How to use

Import in your build tool or Bundler

  1. Webpack

  2. Gulp (with eyeglass)

  3. Gulp (with include-path)