The discussion revolves around removing the button gradient effect in Discourse. darkpixlz wants to make the click effect on buttons optional via a setting, as they find it visually unappealing. Falco suggests using a theme-component to overwrite the effect. Don provides a solution by overriding the linear-gradient mixin output with target active classes in SCSS. The provided code snippet demonstrates how to remove the gradient effect for different button types.
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
It looks even worse on some buttons;
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.
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?