I have a custom keyframe set in my tailwindcss config file.
keyframes: {
'grow-right-shorten-left': {
'0%': { boxShadow: '30px 0px 100px -80px rgba(34, 211, 238, 0.4)' },
'50%': { boxShadow: '30px 0px 100px -60px rgba(34, 211, 238, 0.4)' },
'100%': { boxShadow: '30px 0px 100px -80px rgba(34, 211, 238, 0.4)' },
}
},
Instead of passing in the hardcoded RGBA color code, I want to extract the primary color that DaisyUI creates for when the theme is updated. Having some hard time with this, any tips are appreciated, thank you!
Ive tried a bunch of ways
New contributor
Felipe Moreira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.