From c81422b79b832c4ff75c5a88d93b88786220430f Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Sun, 18 Aug 2019 09:41:06 +0200 Subject: [PATCH] feat: add justify-evenly util --- .../fixtures/tailwind-output-important.css | 20 +++++++++++++++++++ __tests__/fixtures/tailwind-output.css | 20 +++++++++++++++++++ src/plugins/justifyContent.js | 3 +++ 3 files changed, 43 insertions(+) diff --git a/__tests__/fixtures/tailwind-output-important.css b/__tests__/fixtures/tailwind-output-important.css index 539264569..a54a9de39 100644 --- a/__tests__/fixtures/tailwind-output-important.css +++ b/__tests__/fixtures/tailwind-output-important.css @@ -3456,6 +3456,10 @@ video { justify-content: space-around !important; } +.justify-evenly { + justify-content: space-evenly !important; +} + .content-center { align-content: center !important; } @@ -11191,6 +11195,10 @@ video { justify-content: space-around !important; } + .sm\:justify-evenly { + justify-content: space-evenly !important; + } + .sm\:content-center { align-content: center !important; } @@ -18927,6 +18935,10 @@ video { justify-content: space-around !important; } + .md\:justify-evenly { + justify-content: space-evenly !important; + } + .md\:content-center { align-content: center !important; } @@ -26663,6 +26675,10 @@ video { justify-content: space-around !important; } + .lg\:justify-evenly { + justify-content: space-evenly !important; + } + .lg\:content-center { align-content: center !important; } @@ -34399,6 +34415,10 @@ video { justify-content: space-around !important; } + .xl\:justify-evenly { + justify-content: space-evenly !important; + } + .xl\:content-center { align-content: center !important; } diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index 498b3c05d..39a0148d3 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -3456,6 +3456,10 @@ video { justify-content: space-around; } +.justify-evenly { + justify-content: space-evenly; +} + .content-center { align-content: center; } @@ -11191,6 +11195,10 @@ video { justify-content: space-around; } + .sm\:justify-evenly { + justify-content: space-evenly; + } + .sm\:content-center { align-content: center; } @@ -18927,6 +18935,10 @@ video { justify-content: space-around; } + .md\:justify-evenly { + justify-content: space-evenly; + } + .md\:content-center { align-content: center; } @@ -26663,6 +26675,10 @@ video { justify-content: space-around; } + .lg\:justify-evenly { + justify-content: space-evenly; + } + .lg\:content-center { align-content: center; } @@ -34399,6 +34415,10 @@ video { justify-content: space-around; } + .xl\:justify-evenly { + justify-content: space-evenly; + } + .xl\:content-center { align-content: center; } diff --git a/src/plugins/justifyContent.js b/src/plugins/justifyContent.js index 6ea864afa..bade3e445 100644 --- a/src/plugins/justifyContent.js +++ b/src/plugins/justifyContent.js @@ -17,6 +17,9 @@ export default function() { '.justify-around': { 'justify-content': 'space-around', }, + '.justify-evenly': { + 'justify-content': 'space-evenly', + }, }, variants('justifyContent') )