Skip to content

Commit dd71f23

Browse files
committed
Enable focus varients for outlines by default
1 parent 23a0151 commit dd71f23

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

__tests__/fixtures/tailwind-output.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3195,6 +3195,10 @@ button,
31953195
outline: 0;
31963196
}
31973197

3198+
.focus\:outline-none:focus {
3199+
outline: 0;
3200+
}
3201+
31983202
.overflow-auto {
31993203
overflow: auto;
32003204
}

defaultConfig.stub.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ module.exports = {
863863
minWidth: ['responsive'],
864864
negativeMargin: ['responsive'],
865865
opacity: ['responsive'],
866-
outline: [],
866+
outline: ['focus'],
867867
overflow: ['responsive'],
868868
padding: ['responsive'],
869869
pointerEvents: ['responsive'],

0 commit comments

Comments
 (0)