From 0f30dfc64e800e1f2091942d07a475b797b2daa1 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Fri, 20 Oct 2017 15:01:59 -0400 Subject: [PATCH 1/2] Rename "not-italic" utility to "roman" --- src/generators/textStyle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' }, From a6cc77702be4b85ac69db83a60865f6cdfa615e4 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Fri, 20 Oct 2017 15:06:57 -0400 Subject: [PATCH 2/2] Update tests for new "roman" utility --- __tests__/fixtures/tailwind.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/__tests__/fixtures/tailwind.css b/__tests__/fixtures/tailwind.css index 4b8ff04c8..e6a9384a2 100644 --- a/__tests__/fixtures/tailwind.css +++ b/__tests__/fixtures/tailwind.css @@ -1043,7 +1043,7 @@ button, font-style: italic; } -.not-italic { +.roman { font-style: normal; } @@ -3788,7 +3788,7 @@ button, font-style: italic; } - .sm\:not-italic { + .sm\:roman { font-style: normal; } @@ -6534,7 +6534,7 @@ button, font-style: italic; } - .md\:not-italic { + .md\:roman { font-style: normal; } @@ -9280,7 +9280,7 @@ button, font-style: italic; } - .lg\:not-italic { + .lg\:roman { font-style: normal; } @@ -12026,7 +12026,7 @@ button, font-style: italic; } - .xl\:not-italic { + .xl\:roman { font-style: normal; }