Is generated @utility placement *above* built-in utils guaranteed behavior?
              
              #18583
            
            
                  
                    
                      happycollision
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment 1 reply
-
| I think there is some intentionality to the order of utilities, especially if they may share properties. See #16715 | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed using the TW playground that when I define a utility, the generated CSS always places that utility above any first-party Tailwind utility that also manipulates the same css properties.
This means, effectively, that any simple utility I define can be overridden by any of the TW utilities.
Is this behavior a guarantee? I would love to use this in a similar way to the
componentslayer, with the added benefit of all the IDE support you get with utilities.Beta Was this translation helpful? Give feedback.
All reactions