iTwin / appui

Monorepo for iTwin.js AppUi
MIT License
8 stars 2 forks source link

Start using `CSS` modules #825

Open GerardasB opened 3 months ago

GerardasB commented 3 months ago

Is your feature request related to a problem? Please describe.

Some of the consumers are still targeting internal AppUI class names. Utilizing CSS modules would prevent that.

Describe the Solution you'd like

Start using CSS modules in AppUI components. This can be an incremental effort since some of the components target elements outside of the component scope.

Describe alternatives you've considered

No response

Additional context

Our consumers are already using build tools that support building SCSS files. Most bundlers should support CSS modules out of the box, however, it would be safer to introduce CSS modules with a new major release.