This repository demonstrates a bug where custom colors defined in tailwind.config.js
are not applied correctly in the HTML. The bg-theme-color
class, which should set the background color to '#f56565', fails to apply the color.
The issue is likely due to an incorrect configuration or a missing step in the Tailwind CSS build process. The custom color is defined, but Tailwind isn't picking it up during the compilation/build stage.
npm install
to install dependencies (if any are required).index.html
in a browser.bg-theme-color
class does not have the expected red background color.The solution is provided in the bugSolution.js
and updated tailwind.config.js
file. Check the solution section for details.