Home > Software design >  Change default color of button in Next.js
Change default color of button in Next.js

Time:04-28

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.

CodePudding user response:

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

button {color:green !important;}
<button>Change my color</button>

  • Related