mix auix.gen.stylesheet (Aurora UIX v0.1.4-rc.3)

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_colors declarations.
  • 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 --force

Hosts can import the variables file, optionally import the bridge (or a custom replacement), override individual --auix-* vars, and then import the rules file last. Hosts using the legacy single-file import keep working — auix-stylesheet.css is still generated and now just re-imports the two halves above.

Summary

Functions

Runs the stylesheet generator.

Functions

run(args)

@spec run([binary()]) :: any()

Runs the stylesheet generator.