-
Notifications
You must be signed in to change notification settings - Fork 4
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
Discussion for appearance customization #20
Comments
It seems like most things for the toast itself can be accomplished using normal CSS properties. For the action button, you can style it using std-toast [slot="action"] {
color: blue;
text-transform: uppercase;
} We could also expose this as pseudo-element, which would allow e.g. std-toast::part(action) {
color: blue;
text-transform: uppercase;
} but I'm unsure whether that's a good idea. Pseudo-elements are usually for things that are more "hidden" and not just normal elements. I.e. you don't do The close button will probably make sense to style using a pseudo-element, at least using the current design. |
Open discussion for figuring out the shape of the appearance customization, whether we'll use CSS Shadow Parts, CSS custom properties, or some other styling pattern.
The text was updated successfully, but these errors were encountered: