connectivedx / Phoenix

http://connectivedx.github.io/Phoenix/
33 stars 5 forks source link

Improve typography configuration #153

Open stoff opened 9 years ago

stoff commented 9 years ago

I'd like to see a way to better abstract basic typographic styles so that they can be repeated in more contexts. I've used extensions for heading styles on several projects recently, which allows those styles to be reused contextually (for example when a heading is indicated, but the style spec'd does not match the required semantic heading). I've generally placed these directly in the base typography file. I've discussed this with @elseloop and he mentioned what sounds like a fairly complex map system that he and @ajmueller worked together on. This may be overkill for most projects, however, I think it does offer some direction. I'm thinking if we put these two approaches together, and create a typography variables file with standardized font sizes and placeholders for common styles, it will improve our ability to "set it once" and reuse styles from the style guide.