# Theme issue with Snackbar action button

**URL:** <https://community.appfarm.io/t/theme-issue-with-snackbar-action-button/1762>\
**Category:** Ask the community\
**Tags:** ui\
**Created:** [March 27, 2025, 2:58pm UTC](https://community.appfarm.io/t/theme-issue-with-snackbar-action-button/1762 "2025-03-27T14:58:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joanna](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/joanna/32/122_2.png) [@Joanna](https://community.appfarm.io/u/Joanna)\
**Post date:** [March 27, 2025, 2:58pm UTC](https://community.appfarm.io/t/theme-issue-with-snackbar-action-button/1762/1 "2025-03-27T14:58:45Z")

</div>

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?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/0/03ec7531d63ff3ba8d0a76604a54da124a1a6977.png)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/e/e2fa8297689ce23a836373343a39611c6100e088.png)

---

<div class="post-metadata">

**Author:** ![Simona](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/simona/32/201_2.png) [@Simona](https://community.appfarm.io/u/Simona)\
**Post date:** [March 28, 2025, 8:45am UTC](https://community.appfarm.io/t/theme-issue-with-snackbar-action-button/1762/2 "2025-03-28T08:45:17Z")

</div>

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.
