fix: added extend key to tailwind variants (#47)
Signed-off-by: praveenjuge <praveen@skcript.com>
This commit is contained in:
		
							parent
							
								
									8e492449b6
								
							
						
					
					
						commit
						068aaf14fa
					
				@ -17,11 +17,13 @@ module.exports = {
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
  variants: {
 | 
			
		||||
    cursor: ['responsive', 'disabled'],
 | 
			
		||||
    backgroundColor: ['dark', 'hover', 'disabled'],
 | 
			
		||||
    borderColor: ['dark', 'active', 'focus', 'disabled'],
 | 
			
		||||
    textColor: ['dark', 'hover', 'active', 'disabled'],
 | 
			
		||||
    opacity: ['dark', 'hover', 'active', 'focus', 'disabled'],
 | 
			
		||||
    extend: {
 | 
			
		||||
      cursor: ['disabled'],
 | 
			
		||||
      backgroundColor: ['disabled'],
 | 
			
		||||
      borderColor: ['active', 'disabled'],
 | 
			
		||||
      textColor: ['active', 'disabled'],
 | 
			
		||||
      opacity: ['dark', 'active', 'disabled'],
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  darkMode: 'class',
 | 
			
		||||
  plugins: [typography],
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user