Command: aura css

The aura css command extends shadcn's capabilities by providing better CSS file management and optimization. It's specifically designed to work with CSS files while maintaining Aura Design System's principles.

Key Command: CSS Link

bash
aura css link

This command performs style organization

  • Scans your /styles folder
  • Identifies all CSS files
  • Automatically adds imports to globals.css

The aura css clean command is designed to optimize your globals.css by removing unused shadcn CSS code, making your stylesheets leaner and more efficient.

bash
aura css clean

It analyzes your globals.css Identifies unused shadcn CSS classes, removes unnecessary style declarations and keeps only the CSS actually used by Aura components and the custom css added

Tip: aura css clean runs each time a component add css files, if you use native shadcn command, after adding or removing components to ensure your CSS stays optimized and free of unused shadcn styles.

Command: aura css | Aura Design System