Skip to content

Instantly share code, notes, and snippets.

@grayghostvisuals
Last active October 12, 2017 22:11
Show Gist options
  • Select an option

  • Save grayghostvisuals/4751673 to your computer and use it in GitHub Desktop.

Select an option

Save grayghostvisuals/4751673 to your computer and use it in GitHub Desktop.
Compass Vertical Rhythm and Typography Playground
@import "compass/typography";
// global vars
$base-font-size: 18px;
$base-line-height: 24px;
// establishes base grid
@include establish-baseline;
//@rhythm-borders(px, x, x)
//@leading-border(x, x, x) // border-width, trailer, font-size
//@include adjust-font-size-to(x);
//@include adjust-leadin-to(x);
//@include adjust-font-size-to(x);
//@include adjust-leading-to(x);
//@include leader(x);
//@include trailer(x);
//@include rhythm(x,x,x,x,$base-font-size); //trailer, padding-trailer, padding-leader, leader, font-size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment