click-ui icon indicating copy to clipboard operation
click-ui copied to clipboard

Migrate to SCSS modules and add build-time theming

Open vineethasok opened this issue 4 months ago • 4 comments

Replaces styled-components with SCSS modules across all components, introduces a new theme system with build-time configuration, and adds a Vite plugin for CSS variable generation. Updates Storybook to support the new theming approach, removes legacy theme and style files, and provides migration and build-time config documentation. This results in improved bundle size, faster theme switching, and better tree-shaking support.

vineethasok avatar Oct 01 '25 10:10 vineethasok

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
click-ui Ready Ready Preview Comment Dec 9, 2025 2:32pm

vercel[bot] avatar Oct 01 '25 10:10 vercel[bot]

do we want to migrate to scss? i thought we opted for standard css

serdec avatar Oct 13 '25 10:10 serdec

do we want to migrate to scss? i thought we opted for standard css

I think scss we can add nested content easily. It would be better for DX. The build data contains css and not scss as output

vineethasok avatar Oct 13 '25 10:10 vineethasok

I think scss we can add nested content easily. It would be better for DX. The build data contains css and not scss as output

my preference is strongly for css as overtime it tends to include the best features from scss and doesn't add any other dependency

serdec avatar Oct 13 '25 13:10 serdec