When this package is consumed, and a developer uses e.g.:
import {Provider, teamsDarkTheme} from '@fluentui/react-northstar'
import {List} from '@fluentui/teams'
export default () => (
<Provider theme={teamsDarkTheme}>
<List \>
</Provider>
)
The local theme applied for List receives {fontSizes: {}} instead of the expected dark theme. This only occurs when a consumer uses the built & packaged HVC library.
For now, the package applies the default theme if a proper global theme isn't received by the local theme, however this package should work with whatever theme the consumer supplies through the provider.
When this package is consumed, and a developer uses e.g.:
The local theme applied for
List
receives{fontSizes: {}}
instead of the expected dark theme. This only occurs when a consumer uses the built & packaged HVC library.For now, the package applies the default theme if a proper global theme isn't received by the local theme, however this package should work with whatever theme the consumer supplies through the provider.