mirror of
https://github.com/acid-info/lsd.git
synced 2025-02-02 12:13:26 +00:00
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…
x
Reference in New Issue
Block a user