-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a list of classNames available? #3671
Comments
Looking into the code might help: The default styles are referenced right there too via imports. |
These are not the classNames though they are the names for the styles API. I am specifically looking for the css-class names which get generated when you render it in the web. <... class='input-selector'> for example. I need this for the styled-components as it targets the actual class names being generated. Right now like I mentioned I can only see what these names are from using the inspect element tool to find them, there should be a documentation specifying what they all are. |
You can apply the The |
@Rall3n but they don't override default styles. |
As @Rall3n mentioned, using I believe this is a pretty comprehensive list of classNames.
In regards to being unable to override default styles, this simply is not accurate though in some cases you might need to add specificity by adding a Here is an example codesandbox showing styles being overridden entirely by classNames. If there are other questions or concerns, I can reopen this, but will close this for now to focus on more current issues. |
I've been looking through the documentation for a page on all the css variables or classNames available to modify the component and style it. I am implementing styled-components so I want to edit the styles using the class names and it's difficult to get them all from the DOM alone as some only pop up when you click it etc and it takes a unreasonable amount of time without documentation on the class names.
Where can i find all the classNames if there is any?
The text was updated successfully, but these errors were encountered: