aleut.tools.functions

1.0.1 • Public • Published

Functions

The aleutcss functions module—like mixins—contains a few framework functions that are required for using any of the rest of aleutcss.

These 4 functions basically multiplies or divide a given number (mostly the base-spacing) by 4 or 2.

Install using npm:

    $ npm install --save-dev aleut.tools.functions
 

Usage

Basic usage of the functions in a SCSS-file:

.classname{
    margin-top: quarter(24px);
    margin-right: halve(24px);
    margin-bottom: double(24px);
    margin-left: quadruple(24px);
}

Readme

Keywords

Package Sidebar

Install

npm i aleut.tools.functions

Weekly Downloads

2

Version

1.0.1

License

Apache-2.0

Last publish

Collaborators

  • hauken
  • kmelve
  • robrobro