mix auix. gen. stylesheet
(Aurora UIX v0.1.4-rc.4)
Copy Markdown
Finds registered themes along with the configured theme name and generates the Aurora UIX stylesheet in three files:
assets/css/auix-variables.css—:root/:root_colorsdeclarations.assets/css/auix-rules.css—.auix-*component rules.assets/css/auix-stylesheet.css— back-compat shim that re-imports the two files above.
Also copies the daisyUI bridge file (assets/css/auix-bridge-daisyui.css)
on first run. On subsequent runs the bridge is left untouched so host
applications can customise their token mappings freely. Pass --force to
overwrite an existing bridge.
Usage
mix auix.gen.stylesheet
mix auix.gen.stylesheet --forceThe three files use CSS cascade layers (auix.variables → auix.bridge → auix.rules)
so that a bridge's :root, :host selector always wins over the higher-specificity
theme selectors in the variables file, regardless of source order. Any CSS written
outside all layers in the host's own app.css still wins over everything, so
one-off overrides continue to work as expected.
Hosts can import the variables file, optionally import the bridge (or a
custom replacement wrapping its overrides in @layer auix.bridge { … }),
and then import the rules file last. Hosts using the legacy single-file import
keep working — auix-stylesheet.css is still generated and re-imports both halves.