@grottopress/scss

0.5.2 • Public • Published

GrottoPress SCSS

Sass utilities: Mixins, variables and functions.

Installation

  1. Run npm install @grottopress/scss
  2. Import into your project.
  3. Use the provided variables, functions and mixins in your project's styles.

Documentation

Importing

Import into your project, thus:

@import '/path/to/node_modules/@grottopress/scss/src/all';

Variables

#comments {
    // ...
    font-family: $arial;
    // ...
}

#header {
    // ...
    font-family: $helvetica;
    // ...
}

Mixins

.modal {
    @include size(400px);
    @include position(absolute, 20% null null 20%);
    // ...
}

.grid {
    @include paragraph;
    @include grid((width: 25%, gutter: 20px));
    // ...
}

Contributing

  1. Fork it
  2. Switch to the master branch: git checkout master
  3. Create your feature branch: git checkout -b my-new-feature
  4. Make your changes, updating changelog and documentation as appropriate.
  5. Commit your changes: git commit
  6. Push to the branch: git push origin my-new-feature
  7. Submit a new Pull Request against the GrottoPress:master branch.

Readme

Keywords

Package Sidebar

Install

npm i @grottopress/scss

Weekly Downloads

1

Version

0.5.2

License

MIT

Unpacked Size

10.1 kB

Total Files

7

Last publish

Collaborators

  • akadusei