diff --git a/src/generators/textStyle.js b/src/generators/textStyle.js index c1807de71..f164f3110 100644 --- a/src/generators/textStyle.js +++ b/src/generators/textStyle.js @@ -3,17 +3,24 @@ import defineClasses from '../util/defineClasses' export default function() { return defineClasses({ 'italic': { 'font-style': 'italic' }, - 'normal': { 'font-style': 'normal' }, + 'not-italic': { 'font-style': 'normal' }, + 'uppercase': { 'text-transform': 'uppercase' }, 'lowercase': { 'text-transform': 'lowercase' }, 'capitalize': { 'text-transform': 'capitalize' }, - 'transform-none': { 'text-transform': 'none' }, + 'normal-case': { 'text-transform': 'none' }, + 'underline': { 'text-decoration': 'underline' }, 'line-through': { 'text-decoration': 'line-through' }, - 'decoration-none': { 'text-decoration': 'none' }, + 'no-underline': { 'text-decoration': 'none' }, + 'antialiased': { '-webkit-font-smoothing': 'antialiased', '-moz-osx-font-smoothing': 'grayscale' }, + 'subpixel-antialiased': { + '-webkit-font-smoothing': 'auto', + '-moz-osx-font-smoothing': 'auto' + } }) }