Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Function tailwindCompileRules

    • Compiles theme rules that use @apply into plain CSS with Tailwind's compiler. Unknown classes reject the returned promise with Tailwind's message, such as "Cannot apply unknown utility class g".

      Parameters

      • rules: string

        Theme rules containing @apply.

      Returns Promise<string>

      The compiled rules, preceded by the theme variables they use.