Skip to content
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

Edit styling of default this.$toast.success('message') ? #211

Open
MaxWeisen opened this issue Oct 1, 2021 · 1 comment
Open

Edit styling of default this.$toast.success('message') ? #211

MaxWeisen opened this issue Oct 1, 2021 · 1 comment

Comments

@MaxWeisen
Copy link

Are we able to edit the styling of the default this.$toast.success('message') and add icons?

OR

Do we have to make a custom toast to accomplish these things?

@malayhm
Copy link

malayhm commented Nov 18, 2022

@MaxWeisen You can customize the styling by overriding the style but to add an icon for an existing type you need to register a custom toast.

Here is an example of overriding the success toast:

.toasted-container .toasted.toasted-primary.success {
    color: #267526;
    background: #DFF7DC;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants