We've moved discussions to Discord

Colors Tailwind 2

Jean Carlo
Hi!

I am trying to add the teal color in config.tailwind.js is something wrong with my config? 

I add to the top
const colors = require('tailwindcss/colors')

And the new teal declaration in the color hash
"code-400": "#fefcf9",
"code-600": "#3c455b",
teal: colors.teal,

Chris Oliver
For anyone that stumbles across this: 

We discussed this one over email and found that adding `teal` as the first item in the array, it worked. 👍
Notifications
You’re not receiving notifications from this thread.