mirror of https://github.com/acid-info/lsd.git
fix(lsd-react): load global and baseline styles before user styles
This commit is contained in:
parent
3030769c3e
commit
0fb32830df
|
@ -17,9 +17,9 @@ export const ThemeProvider: React.FC<ThemeProviderProps> = ({
|
|||
<ResizeObserverProvider>
|
||||
<PortalProvider>
|
||||
<ThemeContext.Provider value={{ theme }}>
|
||||
<EmotionThemeProvider theme={theme}>{children}</EmotionThemeProvider>
|
||||
<CSSBaseline theme={theme} />
|
||||
<Global styles={theme.globalStyles} />
|
||||
<EmotionThemeProvider theme={theme}>{children}</EmotionThemeProvider>
|
||||
</ThemeContext.Provider>
|
||||
</PortalProvider>
|
||||
</ResizeObserverProvider>
|
||||
|
|
Loading…
Reference in New Issue