Are other customizations working? Is the file named the default tailwind.config.js? Is the structure of the exported module correct?
Jun 5, 2020
5
Level 13
Tailwindcss extending colors not working
I wanna add custom color in gray category with new range 950 but its not working
extend: {
colors: {
gray: {
'950': '#222'
}
}
}
Level 122
you might need to merge the new colour with the existing ones using the spread operator
https://tailwindcss.com/docs/customizing-colors#overriding-a-single-shade
Please or to participate in this conversation.