Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

How to pass DaisyUI primary color to TailwindCSS config file?

$
0
0

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


Viewing all articles
Browse latest Browse all 1541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>