jdsteinbach / typetuner

MIT License
11 stars 3 forks source link

Create public function for getting vertical rhythm units #7

Open jdsteinbach opened 8 years ago

jdsteinbach commented 8 years ago

Similar to Susy's gutter() function, TypeTuner needs a public spacing() function: this would probably replace the scale-spacing() mixin for most normal use.

jdsteinbach commented 8 years ago

But the responsive part… A simple function wouldn't output MQs. Perhaps another alias for scale-spacing() called scale-position() to write TRBL values would be the best short-term solution?

jdsteinbach commented 8 years ago
@mixin scale-position( $property, $trbl ) { 
  // output CSS
}