title: Does anybody know how to pass tailwind colors to a scss variable
body: <p>I need to pass the entire colors section of the tailwind configuration file to a scss variable, but I can't find a solution. I tried to find a solution on the web but it seems that no one but me has ever had to do such a thing.</p>
  <p>I've tried with</p>
  <p><code>$gray:(</code><br />
  <code>50: theme(&quot;colors.gray.50&quot;),</code><br />
  <code>200: theme(&quot;colors.gray.200&quot;),</code><br />
  <code>500: theme(&quot;colors.gray.500&quot;),</code><br />
  <code>700: theme(&quot;colors.gray.700&quot;),</code><br />
  <code>900: theme(&quot;colors.gray.900&quot;),</code><br />
  <code>)</code></p>
  <p>and it works but I need something like</p>
  <p><code>$gray: theme(&quot;colors.gray&quot;)</code><br />
  <code>$red: theme(&quot;colors.red&quot;)</code></p>
  <p>or better something like <code>$colors: theme(&quot;colors&quot;)</code></p>