1.3.1 • Published 4 years ago

iamnewton-scss-utils v1.3.1

Weekly downloads
9
License
MIT
Repository
github
Last release
4 years ago

(S)CSS Utilities

npm Build Status semantic-release Dependabot Status

A series of SCSS utilities. These are things that I've collected and created over the years and either modified or used outright.

Installation

$ npm install --save-dev iamnewton-scss-utils

Usage

@import "iamnewton-scss-utils/src/index";

/// call functions
@include shade(red, 25%);

Documentation

The best way to find out what's available is to check out the documentation site, but if you like digging through source code, then each directory has a README file to describe each function or mixin.

Changelog

This project uses a CHANGELOG, which contains a curated, chronologically ordered list of notable changes for each version of a project. Read more about changelogs.

How to Contribute

Looking to help out? There are numerous ways to support this project and they are all detailed within our CONTRIBUTING doc.

How We Version

We use SemVer for our versioning providing us an opt-in approach to releases. This means we add a version number according to the spec, as you see below. So rather than force developers to consume the latest and greatest, they can choose which version to consume and test any newer ones before upgrading. Please the read the spec as it goes into further detail.

Given a version number MAJOR.MINOR.PATCH, increment the:

  • MAJOR version when you make incompatible API changes.
  • MINOR version when you add functionality in a backward-compatible manner.
  • PATCH version when you make backward-compatible bug fixes.

Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

Resources

  • SassDoc - A Godsend for creating documentation sites.
  • True - Another great project for unit testing (S)CSS functions & mixins.
  • Stylelint - What ESLint is for Javascript (ECMAScript), Stylelint is for (S)CSS.
  • Conventional Commits - A community guideline on how we commit our code.
  • Semantic Versioning - A community guideline on how we version our code.
  • Keep a Change Log - A community guideline on how we keep our changelog.

Credits

  • @gianablantin (A11Y color functions)
  • @terkel (Math constants/functions and number functions)
  • Daniel Perez Alvarez (Sin/Rad functions)
  • @mdo (breakpoint function and various mixins)
  • @HugoGiraudel (various miscellaneous functions)
  • @adamgiese (valid-quantity function and nth-child mixins)
  • @davidkpiano (str-replace-batch function)
  • @necolas (clearfix mixin)
1.3.1

4 years ago

1.3.0

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

5 years ago