RamseyInHouse / scut

Sass utilities for the frontend laborer.
https://ramseyinhouse.github.io/scut/
MIT License
769 stars 61 forks source link

feature for currencies and other text adaptations #195

Closed ghost closed 8 years ago

ghost commented 9 years ago

I was thinking it might be easy for pretty common/recurring text problems to add a new utility module in typography. Example:

/* for currencies ex. euro */
&:before {
    content: $scut-eur; /* add to typography/_characters.scss */
}

/* required input */
&:after {
    content: '*';
}

Although, it might go too far since it's adapting content instead of style, thoughts?

davidtheclark commented 9 years ago

If you want to make a PR to add currencies to scut-characters that would be cool.

The other thing, asterisk after, I think it is a little too context-specific for a general utility.

jmmcduffie commented 8 years ago

This was resolved by #199