From 11b7933f302fec66330fbc31c1f8246ebaebdf31 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Sat, 20 Jul 2019 15:47:57 -0400 Subject: [PATCH] Add border-double --- .../fixtures/tailwind-output-important.css | 20 +++++++++++++++++++ __tests__/fixtures/tailwind-output.css | 20 +++++++++++++++++++ src/plugins/borderStyle.js | 3 +++ 3 files changed, 43 insertions(+) diff --git a/__tests__/fixtures/tailwind-output-important.css b/__tests__/fixtures/tailwind-output-important.css index 96b0928f0..c7f47dcf2 100644 --- a/__tests__/fixtures/tailwind-output-important.css +++ b/__tests__/fixtures/tailwind-output-important.css @@ -3196,6 +3196,10 @@ video { border-style: dotted !important; } +.border-double { + border-style: double !important; +} + .border-none { border-style: none !important; } @@ -10143,6 +10147,10 @@ video { border-style: dotted !important; } + .sm\:border-double { + border-style: double !important; + } + .sm\:border-none { border-style: none !important; } @@ -17091,6 +17099,10 @@ video { border-style: dotted !important; } + .md\:border-double { + border-style: double !important; + } + .md\:border-none { border-style: none !important; } @@ -24039,6 +24051,10 @@ video { border-style: dotted !important; } + .lg\:border-double { + border-style: double !important; + } + .lg\:border-none { border-style: none !important; } @@ -30987,6 +31003,10 @@ video { border-style: dotted !important; } + .xl\:border-double { + border-style: double !important; + } + .xl\:border-none { border-style: none !important; } diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index 8ca3bf356..eafc0877c 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -3196,6 +3196,10 @@ video { border-style: dotted; } +.border-double { + border-style: double; +} + .border-none { border-style: none; } @@ -10143,6 +10147,10 @@ video { border-style: dotted; } + .sm\:border-double { + border-style: double; + } + .sm\:border-none { border-style: none; } @@ -17091,6 +17099,10 @@ video { border-style: dotted; } + .md\:border-double { + border-style: double; + } + .md\:border-none { border-style: none; } @@ -24039,6 +24051,10 @@ video { border-style: dotted; } + .lg\:border-double { + border-style: double; + } + .lg\:border-none { border-style: none; } @@ -30987,6 +31003,10 @@ video { border-style: dotted; } + .xl\:border-double { + border-style: double; + } + .xl\:border-none { border-style: none; } diff --git a/src/plugins/borderStyle.js b/src/plugins/borderStyle.js index 28ae2cb0b..c7217f7a2 100644 --- a/src/plugins/borderStyle.js +++ b/src/plugins/borderStyle.js @@ -11,6 +11,9 @@ export default function() { '.border-dotted': { 'border-style': 'dotted', }, + '.border-double': { + 'border-style': 'double', + }, '.border-none': { 'border-style': 'none', },