I modified my tailwind.config.js
to add a new custom color:
module.exports ={
theme: {
extend: {
colors: {
pepegray: { DEFAULT: "#323232" },
}
}
}
}
Now I want my button to change color on hover.
<button className="h-2 w-2 rounded-full bg-silver hover:bg-pepegray m-0.5"></button>
But it doesn't work.
Funny thing is, if I write bg-pepegray
it works. The only place it doesn't work is in the hover.