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: {
 | 
					  variants: {
 | 
				
			||||||
    cursor: ['responsive', 'disabled'],
 | 
					    extend: {
 | 
				
			||||||
    backgroundColor: ['dark', 'hover', 'disabled'],
 | 
					      cursor: ['disabled'],
 | 
				
			||||||
    borderColor: ['dark', 'active', 'focus', 'disabled'],
 | 
					      backgroundColor: ['disabled'],
 | 
				
			||||||
    textColor: ['dark', 'hover', 'active', 'disabled'],
 | 
					      borderColor: ['active', 'disabled'],
 | 
				
			||||||
    opacity: ['dark', 'hover', 'active', 'focus', 'disabled'],
 | 
					      textColor: ['active', 'disabled'],
 | 
				
			||||||
 | 
					      opacity: ['dark', 'active', 'disabled'],
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  darkMode: 'class',
 | 
					  darkMode: 'class',
 | 
				
			||||||
  plugins: [typography],
 | 
					  plugins: [typography],
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user