The main idea behind this task is that styles are unified and not hard coded especially things related to colors/fonts.
result: instead of using #dbeafe to reference a color in the component. I can use a variable primary-color or custom tailwind class/color that make it.
Hardcoded: text-red-500
Globalized: text-error
Below is a very long and maybe not accurate AI explanation that you can get an idea from or just ignore and do your own research.
The main idea behind this task is that styles are unified and not hard coded especially things related to colors/fonts.
result: instead of using
#dbeafeto reference a color in the component. I can use a variableprimary-coloror custom tailwind class/color that make it.Hardcoded:
text-red-500Globalized:
text-errorBelow is a very long and maybe not accurate AI explanation that you can get an idea from or just ignore and do your own research.