Skip to content
Advertisement

Change default color of button in Next.js

I am having a problem changing default color of buttons in Next.JS Web Application. It’s button text color is grey when I see it in google chrome in Desktop, but looks blue when I open it using my Mobile chrome browser. I want to make the button text color as grey in both of them. The way of customizing the button text color using styles is not the way I want, because I want to make the default color of all button texts (my customized button, or button inside node modules) to be same. Please help me! Thanks.

Advertisement

Answer

I dont have your code but this might work then let me know

button {color:green !important;}
<button>Change my color</button>
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement