Imagine 100+ buttons in your project. Now you have to add a simple change to all of them. Rather than find and replace, you simply have to make that change at one place.
this is not worth SH. this does not tell how to make the background color blue or what ever the developer wants it to be.
Going to the vendor\Jetstream\components\button.blade.php file and changing the bg-gray-800 to indigo and the hover:bg-gray-700 and all the other color grays to indigo and then running the npm run dev caused the button to disappear and only when you click where it should be do you get the border color of indigo to show up otherwise it is blank the space is being taken up but you can’t see a thing.
MY FIX FOR THIS PROBLEM WAS.
In the tailwind.config.js file add the following:
Const colors = require(‘tailwindcss/colors’)
Then in the extend:{
Colors: {
Transparent: ‘transparent’,
Current: ‘currentColor’,
Black: colors.black,
White: colors.white
Gray: colors.trueGray,
Indigo: colors.indigo,
Red: colors.rose,
Yellow: colors.amber,
EXE.