Search

Customize

The lism-css package lets you customize the CSS you load, the props components accept, and the classes they output. There are four main entry points. Follow the link that matches your goal.

Entry points

What you want to doApproachPage
Switch @layer on/off, use full.css, or otherwise change which pre-built CSS file you loadSwap the CSS file / isFullModeCSS Builds
Extend component props / tokens / traits (recommended path for Vite / Astro)lism.config.js + @lism-css/pluginlism.config.js
Adjust generated classes and breakpoints using SCSS only (for setups without the Vite / Astro plugin)Override SCSS variables such as $breakpoints / $propsSCSS Customization
Remove unused classes from production CSSpurge pluginCSS Purge

If you are using Vite or Astro, the single integrated plugin from @lism-css/plugin enables lism.config.js loading, automatic CSS reflection, and type generation all at once. Start with lism.config.js as your entry point.

© Lism CSS. All rights reserved.