Practic Base UI Theme Editor - v1.0.0
    Preparing search index...
    • Apply edits to a theme file and return the edited file, exactly as the editor would save it: template rules keep their place, and removing one comments it back into its scaffold. Lets a script or CI job produce theme variants without the UI.

      Parameters

      • css: string

        Theme file to edit.

      • edits: ThemeCssEdits

        Declarations to set (null removes one) per selector, or null to remove a rule.

      Returns string