This repository was archived by the owner on Apr 6, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 11const nameClass = require ( 'tailwindcss/lib/util/nameClass' ) . default
2- const transformThemeValue = require ( 'tailwindcss/lib/util/transformThemeValue' ) . default
3-
4- function isPlainObject ( value ) {
5- return typeof value === 'object' && value !== null
6- }
72
83module . exports = function ( { matchUtilities, jit : { theme } } ) {
94 matchUtilities ( {
105 outline : ( modifier , { theme } ) => {
11- let transformValue = transformThemeValue ( 'outline' )
12- let value = transformValue ( theme . outline [ modifier ] )
6+ let value = theme . outline [ modifier ]
137
14- if ( modifier === '' || value === undefined ) {
8+ if ( value === undefined ) {
159 return [ ]
1610 }
1711
Original file line number Diff line number Diff line change 553553}
554554.outline-none {
555555 outline : 2px solid transparent;
556- outline-offset : 0 ;
556+ outline-offset : 2 px ;
557557}
558558.outline-black {
559559 outline : 2px dotted black;
560- outline-offset : 0 ;
560+ outline-offset : 2 px ;
561561}
562562.ring {
563563 --tw-ring-offset-shadow : var (--tw-ring-inset ) 0 0 0 var (--tw-ring-offset-width )
You can’t perform that action at this time.
0 commit comments