Material-ui: @material-ui/styles does not provide default theme

Created on 12 Apr 2019  路  3Comments  路  Source: mui-org/material-ui

this, in itself is not a bug, however, any code relying on the @material-ui/styles instead of the styles export from mui/core will break. why not just add a default style so things don't needlessly break? the package is already 400kb its not like it matters... not breaking things trumps some arbitrary size constraint

question

All 3 comments

@material-ui/styles is completely independent from @material-ui/core. A default theme is added in the exported style functions in core.

belief isn't reality

Was this page helpful?
0 / 5 - 0 ratings