# How do I remove the button gradient effect?

**URL:** <https://meta.discourse.org/t/how-do-i-remove-the-button-gradient-effect/233782>\
**Category:** Development\
**Created:** [July 24, 2022, 4:08am UTC](https://meta.discourse.org/t/how-do-i-remove-the-button-gradient-effect/233782 "2022-07-24T04:08:25Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)\
**Post date:** [July 24, 2022, 4:08am UTC](https://meta.discourse.org/t/how-do-i-remove-the-button-gradient-effect/233782/1 "2022-07-24T04:08:25Z")

</div>

Hi!

Tonight I was looking into making a PR to make the click effect on buttons optional via a setting. I think personally it looks pretty bad, but there are probably people that really like it.  
This is what I mean, you can see it by clicking and holding down on most any button  
 ![image](https://global.discourse-cdn.com/meta/original/4X/d/b/9/db9ad48b92b723d93b6e950e3d25b23f953b579c.png)  
It looks even worse on some buttons;  
 ![image](https://global.discourse-cdn.com/meta/original/4X/4/2/8/428654027a1b27c522f548ce842a92c508c88e8b.png)

I dont think the team is looking to remove it completely, so I was going to look into making a site setting, then accessing it via [the button scss](https://github.com/discourse/discourse/blob/main/app/assets/stylesheets/common/components/buttons.scss).

I dont think there’s an easy file to just make a setting and give it a property. Is there? If not, how do I do it and then get it in the SCSS file?

Thanks for any help!

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-remove-the-button-gradient-effect/233782)._
