sass - What is the correct usage of blueprint-typography-body([$font-size])? -


Convert recently to ROR and I'm using to dive in the prevailing pool. Compass is fantastic, but I've come across some strange things within the typography library.

This includes:

  = blueprint-typography-body ($ font-size: $ blueprint-font-size) Line-height: 1.5+ normal-text Font-size: 100% * $ font-size / 16px  

My question "revolves around" font-size. "I am losing a bit because I expect to go to a font size and that size is reflected on page load. However, in this scenario the formula defines a percentage against the default font.

Meaning:

  produces + blueprint-typography-body (10px) // 7.5px I can tell that from the default font size of 12px  
< P> In short, I'm curious if it's clearly "font-size: 10px" Apart from giving, there is a standard for setting the font size within the compass.

Note: I due to the standardization of line-heights, fonts and colors due to the inclination towards blueprints / compass font styling

To be honest, the compass port of blueprinting typography is still completely Is not configurable. It is possible to change by default, Paco is not a proper font rhythm.

However, the Sons of the next release is a fully configured vertical rhythm module helped that I make and it's great.


Comments