Hi Christopher, defaultTheme is defined in @types/styled.d.ts and yeah it's a global typescript module.
Thank you for sharing John!
Super useful insights for a not-so-advanced CSS enthusiast like me.
Best, Alex
Isn't styled-components CSS only with parameter passing and nested styling enabled? Or is it more than that?
Kindly checkout my blog too and suggest any improvements.
Christopher Fenos
Addicted to context. Full stack in the fin tech and Ethereum space
Great article, but my question is where is the defaultTheme variable defined in the app.tsx… is it from the global typescript module you made?