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

    Function themeCssParse

    • Reads a theme file into top-level comments, commented scaffolds, and active rules. Themes are flat by contract (no at-rules or nesting), which keeps this parser small and lets the theme checker and editor share it.

      Parameters

      • text: string

        Contents of a theme or template file.

      Returns ThemeCss

      The nodes in file order, keeping their exact text so themeCssSerialize reproduces the input.