Skip to content

CSS vars not in output compilation? #21

@nikkpylon

Description

@nikkpylon

Hi, when I compile some elements I don't get the associated CSS vars that are necessary, for example:

createTailwindcss({tailwindConfig}).generateStylesFromContent('
      @tailwind base;
      @tailwind components;
      @tailwind utilities;
`, [`<div class='bg-gradient-to-r from-primary-50 to-secondary-50 opacity-20'></div>`])
--tw-gradient-from // not availble in css
--tw-gradient-to // not availble in css

Anyone have an idea how to debug? Thanks for the awesome lib.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions