diff --git a/__tests__/fixtures/tailwind-output-important.css b/__tests__/fixtures/tailwind-output-important.css index 14eb3e022..45ac39d86 100644 --- a/__tests__/fixtures/tailwind-output-important.css +++ b/__tests__/fixtures/tailwind-output-important.css @@ -2991,6 +2991,10 @@ video { border-radius: 0.25rem !important; } +.rounded-md { + border-radius: 0.375rem !important; +} + .rounded-lg { border-radius: 0.5rem !important; } @@ -3059,6 +3063,26 @@ video { border-bottom-left-radius: 0.25rem !important; } +.rounded-t-md { + border-top-left-radius: 0.375rem !important; + border-top-right-radius: 0.375rem !important; +} + +.rounded-r-md { + border-top-right-radius: 0.375rem !important; + border-bottom-right-radius: 0.375rem !important; +} + +.rounded-b-md { + border-bottom-right-radius: 0.375rem !important; + border-bottom-left-radius: 0.375rem !important; +} + +.rounded-l-md { + border-top-left-radius: 0.375rem !important; + border-bottom-left-radius: 0.375rem !important; +} + .rounded-t-lg { border-top-left-radius: 0.5rem !important; border-top-right-radius: 0.5rem !important; @@ -3147,6 +3171,22 @@ video { border-bottom-left-radius: 0.25rem !important; } +.rounded-tl-md { + border-top-left-radius: 0.375rem !important; +} + +.rounded-tr-md { + border-top-right-radius: 0.375rem !important; +} + +.rounded-br-md { + border-bottom-right-radius: 0.375rem !important; +} + +.rounded-bl-md { + border-bottom-left-radius: 0.375rem !important; +} + .rounded-tl-lg { border-top-left-radius: 0.5rem !important; } @@ -12265,6 +12305,10 @@ video { border-radius: 0.25rem !important; } + .sm\:rounded-md { + border-radius: 0.375rem !important; + } + .sm\:rounded-lg { border-radius: 0.5rem !important; } @@ -12333,6 +12377,26 @@ video { border-bottom-left-radius: 0.25rem !important; } + .sm\:rounded-t-md { + border-top-left-radius: 0.375rem !important; + border-top-right-radius: 0.375rem !important; + } + + .sm\:rounded-r-md { + border-top-right-radius: 0.375rem !important; + border-bottom-right-radius: 0.375rem !important; + } + + .sm\:rounded-b-md { + border-bottom-right-radius: 0.375rem !important; + border-bottom-left-radius: 0.375rem !important; + } + + .sm\:rounded-l-md { + border-top-left-radius: 0.375rem !important; + border-bottom-left-radius: 0.375rem !important; + } + .sm\:rounded-t-lg { border-top-left-radius: 0.5rem !important; border-top-right-radius: 0.5rem !important; @@ -12421,6 +12485,22 @@ video { border-bottom-left-radius: 0.25rem !important; } + .sm\:rounded-tl-md { + border-top-left-radius: 0.375rem !important; + } + + .sm\:rounded-tr-md { + border-top-right-radius: 0.375rem !important; + } + + .sm\:rounded-br-md { + border-bottom-right-radius: 0.375rem !important; + } + + .sm\:rounded-bl-md { + border-bottom-left-radius: 0.375rem !important; + } + .sm\:rounded-tl-lg { border-top-left-radius: 0.5rem !important; } @@ -21540,6 +21620,10 @@ video { border-radius: 0.25rem !important; } + .md\:rounded-md { + border-radius: 0.375rem !important; + } + .md\:rounded-lg { border-radius: 0.5rem !important; } @@ -21608,6 +21692,26 @@ video { border-bottom-left-radius: 0.25rem !important; } + .md\:rounded-t-md { + border-top-left-radius: 0.375rem !important; + border-top-right-radius: 0.375rem !important; + } + + .md\:rounded-r-md { + border-top-right-radius: 0.375rem !important; + border-bottom-right-radius: 0.375rem !important; + } + + .md\:rounded-b-md { + border-bottom-right-radius: 0.375rem !important; + border-bottom-left-radius: 0.375rem !important; + } + + .md\:rounded-l-md { + border-top-left-radius: 0.375rem !important; + border-bottom-left-radius: 0.375rem !important; + } + .md\:rounded-t-lg { border-top-left-radius: 0.5rem !important; border-top-right-radius: 0.5rem !important; @@ -21696,6 +21800,22 @@ video { border-bottom-left-radius: 0.25rem !important; } + .md\:rounded-tl-md { + border-top-left-radius: 0.375rem !important; + } + + .md\:rounded-tr-md { + border-top-right-radius: 0.375rem !important; + } + + .md\:rounded-br-md { + border-bottom-right-radius: 0.375rem !important; + } + + .md\:rounded-bl-md { + border-bottom-left-radius: 0.375rem !important; + } + .md\:rounded-tl-lg { border-top-left-radius: 0.5rem !important; } @@ -30815,6 +30935,10 @@ video { border-radius: 0.25rem !important; } + .lg\:rounded-md { + border-radius: 0.375rem !important; + } + .lg\:rounded-lg { border-radius: 0.5rem !important; } @@ -30883,6 +31007,26 @@ video { border-bottom-left-radius: 0.25rem !important; } + .lg\:rounded-t-md { + border-top-left-radius: 0.375rem !important; + border-top-right-radius: 0.375rem !important; + } + + .lg\:rounded-r-md { + border-top-right-radius: 0.375rem !important; + border-bottom-right-radius: 0.375rem !important; + } + + .lg\:rounded-b-md { + border-bottom-right-radius: 0.375rem !important; + border-bottom-left-radius: 0.375rem !important; + } + + .lg\:rounded-l-md { + border-top-left-radius: 0.375rem !important; + border-bottom-left-radius: 0.375rem !important; + } + .lg\:rounded-t-lg { border-top-left-radius: 0.5rem !important; border-top-right-radius: 0.5rem !important; @@ -30971,6 +31115,22 @@ video { border-bottom-left-radius: 0.25rem !important; } + .lg\:rounded-tl-md { + border-top-left-radius: 0.375rem !important; + } + + .lg\:rounded-tr-md { + border-top-right-radius: 0.375rem !important; + } + + .lg\:rounded-br-md { + border-bottom-right-radius: 0.375rem !important; + } + + .lg\:rounded-bl-md { + border-bottom-left-radius: 0.375rem !important; + } + .lg\:rounded-tl-lg { border-top-left-radius: 0.5rem !important; } @@ -40090,6 +40250,10 @@ video { border-radius: 0.25rem !important; } + .xl\:rounded-md { + border-radius: 0.375rem !important; + } + .xl\:rounded-lg { border-radius: 0.5rem !important; } @@ -40158,6 +40322,26 @@ video { border-bottom-left-radius: 0.25rem !important; } + .xl\:rounded-t-md { + border-top-left-radius: 0.375rem !important; + border-top-right-radius: 0.375rem !important; + } + + .xl\:rounded-r-md { + border-top-right-radius: 0.375rem !important; + border-bottom-right-radius: 0.375rem !important; + } + + .xl\:rounded-b-md { + border-bottom-right-radius: 0.375rem !important; + border-bottom-left-radius: 0.375rem !important; + } + + .xl\:rounded-l-md { + border-top-left-radius: 0.375rem !important; + border-bottom-left-radius: 0.375rem !important; + } + .xl\:rounded-t-lg { border-top-left-radius: 0.5rem !important; border-top-right-radius: 0.5rem !important; @@ -40246,6 +40430,22 @@ video { border-bottom-left-radius: 0.25rem !important; } + .xl\:rounded-tl-md { + border-top-left-radius: 0.375rem !important; + } + + .xl\:rounded-tr-md { + border-top-right-radius: 0.375rem !important; + } + + .xl\:rounded-br-md { + border-bottom-right-radius: 0.375rem !important; + } + + .xl\:rounded-bl-md { + border-bottom-left-radius: 0.375rem !important; + } + .xl\:rounded-tl-lg { border-top-left-radius: 0.5rem !important; } diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index 7421d2806..8b91baf27 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -2991,6 +2991,10 @@ video { border-radius: 0.25rem; } +.rounded-md { + border-radius: 0.375rem; +} + .rounded-lg { border-radius: 0.5rem; } @@ -3059,6 +3063,26 @@ video { border-bottom-left-radius: 0.25rem; } +.rounded-t-md { + border-top-left-radius: 0.375rem; + border-top-right-radius: 0.375rem; +} + +.rounded-r-md { + border-top-right-radius: 0.375rem; + border-bottom-right-radius: 0.375rem; +} + +.rounded-b-md { + border-bottom-right-radius: 0.375rem; + border-bottom-left-radius: 0.375rem; +} + +.rounded-l-md { + border-top-left-radius: 0.375rem; + border-bottom-left-radius: 0.375rem; +} + .rounded-t-lg { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; @@ -3147,6 +3171,22 @@ video { border-bottom-left-radius: 0.25rem; } +.rounded-tl-md { + border-top-left-radius: 0.375rem; +} + +.rounded-tr-md { + border-top-right-radius: 0.375rem; +} + +.rounded-br-md { + border-bottom-right-radius: 0.375rem; +} + +.rounded-bl-md { + border-bottom-left-radius: 0.375rem; +} + .rounded-tl-lg { border-top-left-radius: 0.5rem; } @@ -12265,6 +12305,10 @@ video { border-radius: 0.25rem; } + .sm\:rounded-md { + border-radius: 0.375rem; + } + .sm\:rounded-lg { border-radius: 0.5rem; } @@ -12333,6 +12377,26 @@ video { border-bottom-left-radius: 0.25rem; } + .sm\:rounded-t-md { + border-top-left-radius: 0.375rem; + border-top-right-radius: 0.375rem; + } + + .sm\:rounded-r-md { + border-top-right-radius: 0.375rem; + border-bottom-right-radius: 0.375rem; + } + + .sm\:rounded-b-md { + border-bottom-right-radius: 0.375rem; + border-bottom-left-radius: 0.375rem; + } + + .sm\:rounded-l-md { + border-top-left-radius: 0.375rem; + border-bottom-left-radius: 0.375rem; + } + .sm\:rounded-t-lg { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; @@ -12421,6 +12485,22 @@ video { border-bottom-left-radius: 0.25rem; } + .sm\:rounded-tl-md { + border-top-left-radius: 0.375rem; + } + + .sm\:rounded-tr-md { + border-top-right-radius: 0.375rem; + } + + .sm\:rounded-br-md { + border-bottom-right-radius: 0.375rem; + } + + .sm\:rounded-bl-md { + border-bottom-left-radius: 0.375rem; + } + .sm\:rounded-tl-lg { border-top-left-radius: 0.5rem; } @@ -21540,6 +21620,10 @@ video { border-radius: 0.25rem; } + .md\:rounded-md { + border-radius: 0.375rem; + } + .md\:rounded-lg { border-radius: 0.5rem; } @@ -21608,6 +21692,26 @@ video { border-bottom-left-radius: 0.25rem; } + .md\:rounded-t-md { + border-top-left-radius: 0.375rem; + border-top-right-radius: 0.375rem; + } + + .md\:rounded-r-md { + border-top-right-radius: 0.375rem; + border-bottom-right-radius: 0.375rem; + } + + .md\:rounded-b-md { + border-bottom-right-radius: 0.375rem; + border-bottom-left-radius: 0.375rem; + } + + .md\:rounded-l-md { + border-top-left-radius: 0.375rem; + border-bottom-left-radius: 0.375rem; + } + .md\:rounded-t-lg { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; @@ -21696,6 +21800,22 @@ video { border-bottom-left-radius: 0.25rem; } + .md\:rounded-tl-md { + border-top-left-radius: 0.375rem; + } + + .md\:rounded-tr-md { + border-top-right-radius: 0.375rem; + } + + .md\:rounded-br-md { + border-bottom-right-radius: 0.375rem; + } + + .md\:rounded-bl-md { + border-bottom-left-radius: 0.375rem; + } + .md\:rounded-tl-lg { border-top-left-radius: 0.5rem; } @@ -30815,6 +30935,10 @@ video { border-radius: 0.25rem; } + .lg\:rounded-md { + border-radius: 0.375rem; + } + .lg\:rounded-lg { border-radius: 0.5rem; } @@ -30883,6 +31007,26 @@ video { border-bottom-left-radius: 0.25rem; } + .lg\:rounded-t-md { + border-top-left-radius: 0.375rem; + border-top-right-radius: 0.375rem; + } + + .lg\:rounded-r-md { + border-top-right-radius: 0.375rem; + border-bottom-right-radius: 0.375rem; + } + + .lg\:rounded-b-md { + border-bottom-right-radius: 0.375rem; + border-bottom-left-radius: 0.375rem; + } + + .lg\:rounded-l-md { + border-top-left-radius: 0.375rem; + border-bottom-left-radius: 0.375rem; + } + .lg\:rounded-t-lg { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; @@ -30971,6 +31115,22 @@ video { border-bottom-left-radius: 0.25rem; } + .lg\:rounded-tl-md { + border-top-left-radius: 0.375rem; + } + + .lg\:rounded-tr-md { + border-top-right-radius: 0.375rem; + } + + .lg\:rounded-br-md { + border-bottom-right-radius: 0.375rem; + } + + .lg\:rounded-bl-md { + border-bottom-left-radius: 0.375rem; + } + .lg\:rounded-tl-lg { border-top-left-radius: 0.5rem; } @@ -40090,6 +40250,10 @@ video { border-radius: 0.25rem; } + .xl\:rounded-md { + border-radius: 0.375rem; + } + .xl\:rounded-lg { border-radius: 0.5rem; } @@ -40158,6 +40322,26 @@ video { border-bottom-left-radius: 0.25rem; } + .xl\:rounded-t-md { + border-top-left-radius: 0.375rem; + border-top-right-radius: 0.375rem; + } + + .xl\:rounded-r-md { + border-top-right-radius: 0.375rem; + border-bottom-right-radius: 0.375rem; + } + + .xl\:rounded-b-md { + border-bottom-right-radius: 0.375rem; + border-bottom-left-radius: 0.375rem; + } + + .xl\:rounded-l-md { + border-top-left-radius: 0.375rem; + border-bottom-left-radius: 0.375rem; + } + .xl\:rounded-t-lg { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; @@ -40246,6 +40430,22 @@ video { border-bottom-left-radius: 0.25rem; } + .xl\:rounded-tl-md { + border-top-left-radius: 0.375rem; + } + + .xl\:rounded-tr-md { + border-top-right-radius: 0.375rem; + } + + .xl\:rounded-br-md { + border-bottom-right-radius: 0.375rem; + } + + .xl\:rounded-bl-md { + border-bottom-left-radius: 0.375rem; + } + .xl\:rounded-tl-lg { border-top-left-radius: 0.5rem; } diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js index ea2ed7103..38add7421 100644 --- a/stubs/defaultConfig.stub.js +++ b/stubs/defaultConfig.stub.js @@ -172,6 +172,7 @@ module.exports = { none: '0', sm: '0.125rem', default: '0.25rem', + md: '0.375rem', lg: '0.5rem', full: '9999px', },