preact-styled-components
This is a fork from stereobooster's unstyled-components as I wish I could have found it adapted for preact.
![](https://github.com/stereobooster/unstyled-components/blob/master/unstyled-components.png?raw=true)
This is not styled-components.
Installation
npm i preact-styled-components
yarn add preact-styled-components
Example
;;; const Title = color: "hotpink" background: propsthemebackground; const StyledTest = <ThemeProvider theme= background: "#000" > <Title color="lightgreen">This is lightgreen</Title> </ThemeProvider>;
Why?
...