anthonyleung-dev / react-material-web

This project aims to provide React components based on the Material Web design guidelines originally from https://github.com/material-components/material-web.
MIT License
10 stars 1 forks source link

Optional CSS import #3

Closed dgadelha closed 1 month ago

dgadelha commented 4 months ago

The default exported file in src/index.tsx imports the CSS file containing fonts (Roboto, Material Symbols) and additional styles. This import is currently mandatory, but it would be beneficial to make it optional.

https://github.com/anthonyleung-dev/react-material-web/blob/3d006c60489105c74899c8661a7afb088e078166/src/index.tsx#L1

Here's why:

Possible solutions:

Thanks for working on this!

anthonyleung-dev commented 4 months ago

Thank you for your comment! Let me try to update it on next version.