Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Global typographic styles suck #4

Open
anthonyshort opened this Issue May 06, 2012 · 3 comments

2 participants

Anthony Short Kaelig
Anthony Short
Owner

Comments for the post "Global typographic styles suck"

Kaelig
kaelig commented May 06, 2012

I have used this approach on a few CMS that required .wysiwyg classes for copy blocks, but in the end it generated more clutter and specificity issues. But I see your point.

In most cases, think typography should be at the center of the design, thus becoming the global styles.

Both approaches aren't "bad" or "good", they just are two means to different ends:

  • building the UI around the content: global typographic styles
  • putting content in a UI: scoped typographic styles
Anthony Short
Owner

I've found that pulling it all out how made everything less messy and specific. But of course, it depends on the project. I don't really believe that the copy block styles are the centre of the design anymore. They are theorically but not in terms of CSS structure. In app layouts with lots of complex UI elements it's much more obvious.

Kaelig
kaelig commented May 07, 2012

Exactly, good developers should consider both approaches depending on the project. For a blog, global styles may be the best answer, whereas for a web app, scoped styles are more likely to be a better fit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.