Theme issue with Snackbar action button

I’m not sure if it qualifies as a bug, but we’ve encountered issues with the snackbar styling. Since the action button uses the secondary theme color and cannot be overwritten, it is pretty much unusable if the secondary color is dark. Changing the default button variant to contained helps but doesn’t really solve the issue. Does anybody have any workarounds for this other than building a custom snackbar from scratch?


Hi @Joanna,

We already have a challenge registered for this internally, but it hasn’t been worked on yet. I’ve added a comment to highlight that this issue has come up again, so it’s on the radar. As far as I know, there isn’t a good workaround other than building a custom snackbar from scratch.

1 Like