unimelb / unimelb-design-system

A complete design system for the University of Melbourne
https://web.unimelb.edu.au
30 stars 12 forks source link

Add postcss-cssnext and remove compass #844

Closed axelboc closed 7 years ago

axelboc commented 7 years ago
  1. Install postcss-cssnext and replace every use of the rem mixin.
  2. Compass' vertical-rhythm features (e.g. adjust-font-size-to) were very opaque, which led to misuse, and misunderstanding. Remove Compass entirerly, replace uses of its mixins with hardcoded declarations, and clean up uncovered duplciated declarations.
  3. Convert obsolete single-column pseudo-element selectors to use the two-column syntax (or remove fallbacks) - e.g. :after => ::after.

Note that autoprefixer is now used via cssnext.