Adding color swatches to the Color Fieldtype #9468
-
I am new to Tailwind and attempting to define new custom color names and overwrite a few color values for use in the Color Fieldtype. The color swatch values that are predefined in tailwind display as their predefined values (blue, indigo...), and I am unable to display any of the colors I am attempting to generate. I have followed the tailwind instructions of adding my color names as described here: https://tailwindcss.com/docs/customizing-colors#adding-additional-colors
I am running into issues getting these new values to appear on the cp. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The color field doesn't integrate with your tailwind configuration. It just accepts hex codes. You may consider this addon instead: https://statamic.com/addons/krakero/tailwind-fieldtype |
Beta Was this translation helpful? Give feedback.
The color field doesn't integrate with your tailwind configuration. It just accepts hex codes.
You may consider this addon instead: https://statamic.com/addons/krakero/tailwind-fieldtype