Skip to content

Customizing Alert Type Color #221

Answered by cogor
gianfrancopiana asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, there is currently no convenient way to override colors for each type, but there are plans to add a global configuration where this can be done.
Right now you can use this method, it's not very pretty, but it's better than global color override
https://stackblitz.com/edit/vitejs-vite-hvdkgb?file=src%2Fcomponents%2FMyAlert.vue

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cogor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
🔧 enhancement New feature or request ❓ question Further information is requested
2 participants