You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I have been using the Carbon Components React library in my web application. I wanted to override some of the style for the Modal component to fit the visuals of my application. Overriding the classes that were given in documentation (ex. .bx--modal-container) did not work for me. After inspecting my web application, I have seen that .cds--modal-container was the actual name of the CSS class that was used. This means that the documentation in https://v10.carbondesignsystem.com/components/modal/style/ (and possibly other components) needs to be updated to reflect the change in the name of the CSS classes. That would help a lot for new developers that is starting to use the Carbon components and wanting to customize them visually.
Thank you for your time!
The text was updated successfully, but these errors were encountered:
Yeah, the prefix change is expected between v10 and v11. Additionally, v10 has reached it's end of support and we recommend moving to v11 w/ @carbon/react.
Hello!
Recently I have been using the Carbon Components React library in my web application. I wanted to override some of the style for the Modal component to fit the visuals of my application. Overriding the classes that were given in documentation (ex.
.bx--modal-container
) did not work for me. After inspecting my web application, I have seen that.cds--modal-container
was the actual name of the CSS class that was used. This means that the documentation in https://v10.carbondesignsystem.com/components/modal/style/ (and possibly other components) needs to be updated to reflect the change in the name of the CSS classes. That would help a lot for new developers that is starting to use the Carbon components and wanting to customize them visually.Thank you for your time!
The text was updated successfully, but these errors were encountered: