diff --git a/__tests__/fixtures/tailwind.css b/__tests__/fixtures/tailwind.css index fa2a90a0e..a77aed872 100644 --- a/__tests__/fixtures/tailwind.css +++ b/__tests__/fixtures/tailwind.css @@ -1039,7 +1039,7 @@ button, font-style: italic; } -.not-italic { +.roman { font-style: normal; } @@ -3780,7 +3780,7 @@ button, font-style: italic; } - .sm\:not-italic { + .sm\:roman { font-style: normal; } @@ -6522,7 +6522,7 @@ button, font-style: italic; } - .md\:not-italic { + .md\:roman { font-style: normal; } @@ -9264,7 +9264,7 @@ button, font-style: italic; } - .lg\:not-italic { + .lg\:roman { font-style: normal; } @@ -12006,7 +12006,7 @@ button, font-style: italic; } - .xl\:not-italic { + .xl\:roman { font-style: normal; } diff --git a/src/generators/textStyle.js b/src/generators/textStyle.js index f164f3110..430eda345 100644 --- a/src/generators/textStyle.js +++ b/src/generators/textStyle.js @@ -3,7 +3,7 @@ import defineClasses from '../util/defineClasses' export default function() { return defineClasses({ 'italic': { 'font-style': 'italic' }, - 'not-italic': { 'font-style': 'normal' }, + 'roman': { 'font-style': 'normal' }, 'uppercase': { 'text-transform': 'uppercase' }, 'lowercase': { 'text-transform': 'lowercase' },