Skip to content

Commit 8b37093

Browse files
committed
Add default shadow outline utility
1 parent 38962a5 commit 8b37093

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

__tests__/fixtures/tailwind-output.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3575,6 +3575,10 @@ button,
35753575
box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, .06);
35763576
}
35773577

3578+
.shadow-outline {
3579+
box-shadow: 2px solid rgba(52, 144, 220, .5);
3580+
}
3581+
35783582
.shadow-none {
35793583
box-shadow: none;
35803584
}
@@ -7480,6 +7484,10 @@ button,
74807484
box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, .06);
74817485
}
74827486

7487+
.sm\:shadow-outline {
7488+
box-shadow: 2px solid rgba(52, 144, 220, .5);
7489+
}
7490+
74837491
.sm\:shadow-none {
74847492
box-shadow: none;
74857493
}
@@ -11378,6 +11386,10 @@ button,
1137811386
box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, .06);
1137911387
}
1138011388

11389+
.md\:shadow-outline {
11390+
box-shadow: 2px solid rgba(52, 144, 220, .5);
11391+
}
11392+
1138111393
.md\:shadow-none {
1138211394
box-shadow: none;
1138311395
}
@@ -15276,6 +15288,10 @@ button,
1527615288
box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, .06);
1527715289
}
1527815290

15291+
.lg\:shadow-outline {
15292+
box-shadow: 2px solid rgba(52, 144, 220, .5);
15293+
}
15294+
1527915295
.lg\:shadow-none {
1528015296
box-shadow: none;
1528115297
}
@@ -19174,6 +19190,10 @@ button,
1917419190
box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, .06);
1917519191
}
1917619192

19193+
.xl\:shadow-outline {
19194+
box-shadow: 2px solid rgba(52, 144, 220, .5);
19195+
}
19196+
1917719197
.xl\:shadow-none {
1917819198
box-shadow: none;
1917919199
}

defaultConfig.stub.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,7 @@ module.exports = {
728728
'md': '0 4px 8px 0 rgba(0,0,0,0.12), 0 2px 4px 0 rgba(0,0,0,0.08)',
729729
'lg': '0 15px 30px 0 rgba(0,0,0,0.11), 0 5px 15px 0 rgba(0,0,0,0.08)',
730730
'inner': 'inset 0 2px 4px 0 rgba(0,0,0,0.06)',
731+
'outline': '2px solid rgba(52,144,220,0.5)',
731732
'none': 'none',
732733
},
733734

0 commit comments

Comments
 (0)