Merge pull request #491 from tailwindcss/no-outline

Add "outline-none" and "shadow-outline" utilities
This commit is contained in:
Adam Wathan 2018-06-21 03:52:00 +09:30 • committed by GitHub
commit 1fc8a85ffd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 160 additions and 21 deletions

View file

@ -728,6 +728,7 @@ module.exports = {
'md': '0 4px 8px 0 rgba(0,0,0,0.12), 0 2px 4px 0 rgba(0,0,0,0.08)',
'lg': '0 15px 30px 0 rgba(0,0,0,0.11), 0 5px 15px 0 rgba(0,0,0,0.08)',
'inner': 'inset 0 2px 4px 0 rgba(0,0,0,0.06)',
'outline': '2px solid rgba(52,144,220,0.5)',
'none': 'none',
},
@ -863,12 +864,13 @@ module.exports = {
minWidth: ['responsive'],
negativeMargin: ['responsive'],
opacity: ['responsive'],
outline: ['focus'],
overflow: ['responsive'],
padding: ['responsive'],
pointerEvents: ['responsive'],
position: ['responsive'],
resize: ['responsive'],
shadows: ['responsive'],
shadows: ['responsive', 'focus'],
svgFill: [],
svgStroke: [],
textAlign: ['responsive'],