Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

yetti

aofolts28ISC1.2.0

A Less.js library that makes CSS less hairy.

readme

❄️ yetti

Yetti is a platform-agnostic Less.js library that uses abbreviated properties to make writing CSS faster and less verbose.

Glossary

glossary.less: Contains abbreviated, parametric mixins for commmon CSS properties.

Example:

h1 {
  .fs(6.5rem); // font-size
  .lh(1em); // line-height
  .mb(.75em); // margin-bottom
}

.backgroundImage {
  .abs; // position: absolute
  .t; // top: 0
  .l; // left: 0
}