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

Package detail

ticketfly-css-spacing-variables

Ticketfly-UI18MIT0.1.1

Variables for the Ticketfly CSS spacing system

ticketfly-css, ticketfly-css spacing, ticketfly-css spacing variables, css spacing, css

readme

Ticketfly CSS Spacing Variables

Latest NPM release License Dependencies Dev Dependencies

Variables for Ticketfly CSS spacing settings.

The goal of this package is to establish a standard spacing system for Ticketfly UI -- a shared language of dimensions that can be referenced for both designing and implementing rules for margins, paddings, grid gutters, vertical rhythm, and more.

Spacing constants are defined using geometric progression — with a base spacing value of 1rem (equivalent to 16px under default browser settings) and a common ratio of 2.

Installation

Installing with npm:

npm install ticketfly-css-spacing-variables

Installing with yarn:

yarn add ticketfly-css-spacing-variables

changelog

0.1.1 — February 10, 2017

  • [PATCH] Change custom variable preservation setting to "computed".

0.1.0 — February 10, 2017

  • [PATCH] Point package main and style fields to build/ dir.'
  • [ENHANCEMENT] Improve project structure and add CircleCI config.
  • Bump version past 0.0.x to begin recommending usage.

0.0.5 — December 29, 2016

  • [ADDED] Variables to express common spacing concepts.

0.0.4 — December 29, 2016

  • [CHANGED] Scale now aligns the base spacing unit with spacing-md (#1).
  • [ADDED] spacing-xxl variable (#1)..

0.0.3 — December 28, 2016

  • [PATCHED] Fix repository paths in package.json.

0.0.2 — December 28, 2016

  • [PATCHED] Make ticketfly-css-core-variables a first-class dependency.

0.0.1 — December 28, 2016

  • Initial spacing variables
    • values designed around a geometric progression with a base of 1rem and a constant of 2.