inavac182 / uireact

Themed UI components to speed up react web development
https://uireact.io
2 stars 1 forks source link

Moving from styles-components to SCSS Modules. #346

Closed inavac182 closed 3 months ago

inavac182 commented 3 months ago

With the popularity of JS frameworks that pushes for server components such as Remix and NextJS we want to also evolve with them and move from CSS-in-JS to SCSS Modules, this will allow the library to be used in server components.

In order to do the migration we will have to do a few things:

inavac182 commented 3 months ago

I just merged the initial PR migrating some components to V3, will continue with the rest of them later today

inavac182 commented 3 months ago

All components are migrated now to SCSS, will update docs page, theme generator in another PR.

inavac182 commented 3 months ago

Docs page have been updated to remove styles components in the docs. Next step is to update the theme generator to generate the new CSS file with all theme variables set up.

inavac182 commented 3 months ago

Create theme tool has been updated: https://github.com/inavac182/uireact/commit/8a117d5f7703d54573caa7efba2f0e0a6bb590c3

inavac182 commented 3 months ago

This is completed now 🚀