erikjung / postcss-modular-scale-unit

PostCSS plugin to support a unit for modular scale numbers
MIT License
9 stars 1 forks source link

Update custom properties for scale configuration #1

Closed erikjung closed 8 years ago

erikjung commented 8 years ago

This change affects how custom properties are used to configure the underlaying modular scale.

Currently, this is handled by two distinct properties: --msu-ratios and --msu-bases. This change deprecates those in favor of a single property, --modular-scale, that accepts values for both the ratio and base(s).

The docs have been updated to reflect this change. The old values are still supported for now, but with a PostCSS warning.