Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
/ scss Public archive

Sass utilities: Mixins, variables, placeholders and functions.

License

Notifications You must be signed in to change notification settings

GrottoPress/scss

Repository files navigation

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.

About

Sass utilities: Mixins, variables, placeholders and functions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages