Add a light variant
              
              #1164
            
            
                  
                    
                      nijikokun
                    
                  
                
                  started this conversation in
                Feature Requests
              
            Replies: 0 comments
  
    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.
-
Currently, you can only target
darktheme through class names which can create problems when you want to do important specificity overrides, a solution to this is to create alightvariant which allows you to specify which theme and the!importantspecificity gets applied only that theme. This is useful when writing custom components and dealing with prose overrides.See this stackoverflow issue about how to add light variants.
Beta Was this translation helpful? Give feedback.
All reactions