Yeah, you should save tailwind.config.js to load changes.
Oct 6, 2022
8
Level 1
Custom color in my tailwind.config.js file not working
Hey everyone! I set a custom color for the yellow 600, but it does not take effect immediately. I have to SAVE (CTRL + S) the tailwind.config.js file,without saving it gives me the yellow[600] from the default color palette.
Code:
theme: {
extend: {
colors: {
yellow: {
600: '#E19A5A',
},
.
.
.
bg: colors.yellow[600],
.
.
.
Level 1
Sorry I may have worded that wrong.. When I build my website I get the wrong color, it doesn't save the new color what I set.
Please or to participate in this conversation.