title: How to access tailwind colors from javascript
body: <p>I am using ApexCharts and would like to use my tailwind colors (red-500, etc) to style my chart. I can't use css classes (so can't use theme() in a post-css context).</p>
  <p>I also can't reference the default config because I have extended it already.</p>
  <p>I could import my new config's colors, however this does not seem like a good way to do it (besides, some css classes could be generated with utilities, and would not be accessible this way).
  I have also theorized that I could add a hidden html element to my DOM, get the css property from it and then remove, but this also seems like a bad approach.</p>