moneyadviceservice/dough — pull request #101 by alexwllms (2014-07-04 15:35:08+00:00)
Title: [WIP] Baseline unit

@moneyadviceservice/frontend

Work in progress

## Changes

- Changed px() function to more self-explanatory px-to-em
- Added px-to-rem() function with self-explanatory name
- Added $base-grid-unit variable to _grid.scss as a safe-to-refactor replacement for $baseline-unit (which can be temporarily left in)
- Added @ourmaninamsterdam's baseline-unit() function

Currently considering whether there is a **need** to have a v-unit and h-unit as we are currently using $baseline-unit for horizontal and vertical spacing. Do we need to introduce more complexity?

Thoughts welcome.