0.1.4-rc.3
Pre-release
Pre-release
·
10 commits
to main
since this release
0.1.4-rc.3
Changed
- Stylesheet split for host-theme inheritance #259
mix auix.gen.stylesheetnow writes three files instead of one:auix-variables.css— all:root/--auix-*custom-property declarations (sizes, colors, shadows, palette variants).auix-rules.css— all.auix-*component rules that consume those variables.auix-stylesheet.css— back-compat shim that re-imports the two files above. Existing hosts importing only this file continue to work unchanged.
- On first run the task also copies
assets/css/auix-bridge-daisyui.cssinto the host project — a small CSS file that maps daisyUI v5 tokens (--color-primary,--color-base-100,--radius-field, …) onto--auix-*variables so Aurora UIX components follow the host theme automatically. The file is treated as user-editable and is not overwritten on subsequent runs; pass--forceto refresh it from the library version. - Hosts using Tailwind v4 + daisyUI import the files in this order in
app.css:@import "auix-variables.css"; @import "auix-bridge-daisyui.css"; :root { /* optional per-host overrides */ } @import "auix-rules.css";
- Added
guides/advanced/writing_a_bridge.md— a guide for authoring a custom bridge for any design system other than daisyUI. ThemeHelpergained two new public functions:generate_variables_stylesheet/0andgenerate_rules_stylesheet/0.