typeplate / typeplate.github.io

Official Website for Typeplate: “A Typographic Starter Kit.”
http://typeplate.com
Other
1.35k stars 109 forks source link

Make word-wrap and break-word a boolean #121

Open grayghostvisuals opened 11 years ago

grayghostvisuals commented 11 years ago

So I've had three projects where each client and the company designers hated the word wrap hyphenation we're currently using.

We need this placed into a variable that is a boolean of some sort. Probably should do it for the break-word property as well.

body {
    // Ala Trent Walton
    @include css-hyphens(auto);

    // normal: Indicates that lines may only break at normal word break points.
    // break-word : Indicates that normally unbreakable words may be broken at ...
    // arbitrary points if there are no otherwise acceptable break points in the line.
    @extend %breakword;
    color: $body-copy-color;
}