You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
createGlobalStyle components are unable to use themes.
To Reproduce
import{ThemeProvider,createGlobalStyle}from'@xstyled/styled-components';consttheme={colors: {background: '#000',}}constGlobalStyle=createGlobalStyle` body { background-color: background; // Does not work, generates CSS: `background-color: background` instead of #000 }`<ThemeProvidertheme={theme}><><GlobalStyle/><App/></></ThemeProvider>
The text was updated successfully, but these errors were encountered:
馃悰 Bug Report
createGlobalStyle
components are unable to use themes.To Reproduce
The text was updated successfully, but these errors were encountered: