Skip to content

Commit

Permalink
Add shadow-sm
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Dec 26, 2019
1 parent 009f52d commit 0603caf
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 0 deletions.
60 changes: 60 additions & 0 deletions __tests__/fixtures/tailwind-output-important.css
Original file line number Diff line number Diff line change
Expand Up @@ -6677,6 +6677,10 @@ video {
resize: both !important;
}

.shadow-sm {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.shadow {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down Expand Up @@ -6709,6 +6713,10 @@ video {
box-shadow: none !important;
}

.hover\:shadow-sm:hover {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.hover\:shadow:hover {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down Expand Up @@ -6741,6 +6749,10 @@ video {
box-shadow: none !important;
}

.focus\:shadow-sm:focus {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.focus\:shadow:focus {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down Expand Up @@ -15947,6 +15959,10 @@ video {
resize: both !important;
}

.sm\:shadow-sm {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.sm\:shadow {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down Expand Up @@ -15979,6 +15995,10 @@ video {
box-shadow: none !important;
}

.sm\:hover\:shadow-sm:hover {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.sm\:hover\:shadow:hover {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down Expand Up @@ -16011,6 +16031,10 @@ video {
box-shadow: none !important;
}

.sm\:focus\:shadow-sm:focus {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.sm\:focus\:shadow:focus {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down Expand Up @@ -25218,6 +25242,10 @@ video {
resize: both !important;
}

.md\:shadow-sm {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.md\:shadow {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down Expand Up @@ -25250,6 +25278,10 @@ video {
box-shadow: none !important;
}

.md\:hover\:shadow-sm:hover {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.md\:hover\:shadow:hover {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down Expand Up @@ -25282,6 +25314,10 @@ video {
box-shadow: none !important;
}

.md\:focus\:shadow-sm:focus {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.md\:focus\:shadow:focus {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down Expand Up @@ -34489,6 +34525,10 @@ video {
resize: both !important;
}

.lg\:shadow-sm {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.lg\:shadow {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down Expand Up @@ -34521,6 +34561,10 @@ video {
box-shadow: none !important;
}

.lg\:hover\:shadow-sm:hover {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.lg\:hover\:shadow:hover {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down Expand Up @@ -34553,6 +34597,10 @@ video {
box-shadow: none !important;
}

.lg\:focus\:shadow-sm:focus {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.lg\:focus\:shadow:focus {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down Expand Up @@ -43760,6 +43808,10 @@ video {
resize: both !important;
}

.xl\:shadow-sm {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.xl\:shadow {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down Expand Up @@ -43792,6 +43844,10 @@ video {
box-shadow: none !important;
}

.xl\:hover\:shadow-sm:hover {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.xl\:hover\:shadow:hover {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down Expand Up @@ -43824,6 +43880,10 @@ video {
box-shadow: none !important;
}

.xl\:focus\:shadow-sm:focus {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.xl\:focus\:shadow:focus {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}
Expand Down
60 changes: 60 additions & 0 deletions __tests__/fixtures/tailwind-output.css
Original file line number Diff line number Diff line change
Expand Up @@ -6677,6 +6677,10 @@ video {
resize: both;
}

.shadow-sm {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.shadow {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down Expand Up @@ -6709,6 +6713,10 @@ video {
box-shadow: none;
}

.hover\:shadow-sm:hover {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.hover\:shadow:hover {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down Expand Up @@ -6741,6 +6749,10 @@ video {
box-shadow: none;
}

.focus\:shadow-sm:focus {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.focus\:shadow:focus {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down Expand Up @@ -15947,6 +15959,10 @@ video {
resize: both;
}

.sm\:shadow-sm {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.sm\:shadow {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down Expand Up @@ -15979,6 +15995,10 @@ video {
box-shadow: none;
}

.sm\:hover\:shadow-sm:hover {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.sm\:hover\:shadow:hover {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down Expand Up @@ -16011,6 +16031,10 @@ video {
box-shadow: none;
}

.sm\:focus\:shadow-sm:focus {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.sm\:focus\:shadow:focus {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down Expand Up @@ -25218,6 +25242,10 @@ video {
resize: both;
}

.md\:shadow-sm {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.md\:shadow {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down Expand Up @@ -25250,6 +25278,10 @@ video {
box-shadow: none;
}

.md\:hover\:shadow-sm:hover {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.md\:hover\:shadow:hover {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down Expand Up @@ -25282,6 +25314,10 @@ video {
box-shadow: none;
}

.md\:focus\:shadow-sm:focus {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.md\:focus\:shadow:focus {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down Expand Up @@ -34489,6 +34525,10 @@ video {
resize: both;
}

.lg\:shadow-sm {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.lg\:shadow {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down Expand Up @@ -34521,6 +34561,10 @@ video {
box-shadow: none;
}

.lg\:hover\:shadow-sm:hover {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.lg\:hover\:shadow:hover {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down Expand Up @@ -34553,6 +34597,10 @@ video {
box-shadow: none;
}

.lg\:focus\:shadow-sm:focus {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.lg\:focus\:shadow:focus {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down Expand Up @@ -43760,6 +43808,10 @@ video {
resize: both;
}

.xl\:shadow-sm {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.xl\:shadow {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down Expand Up @@ -43792,6 +43844,10 @@ video {
box-shadow: none;
}

.xl\:hover\:shadow-sm:hover {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.xl\:hover\:shadow:hover {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down Expand Up @@ -43824,6 +43880,10 @@ video {
box-shadow: none;
}

.xl\:focus\:shadow-sm:focus {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.xl\:focus\:shadow:focus {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
Expand Down
1 change: 1 addition & 0 deletions stubs/defaultConfig.stub.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ module.exports = {
'8': '8px',
},
boxShadow: {
sm: '0 1px 2px 0 rgba(0, 0, 0, 0.04)',
default: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',
md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
Expand Down

0 comments on commit 0603caf

Please sign in to comment.