solid-styled-components icon indicating copy to clipboard operation
solid-styled-components copied to clipboard

A 1kb Styled Components library for Solid

Results 35 solid-styled-components issues
Sort by recently updated
recently updated
newest added

As I was exploring #29, I came across some minor stuff that I figured would be good to add to the codebase: - Replace `useContext(ThemeContext)` with `useTheme()`. - Removed `"theme"`...

`extractCss` is a synchronous (and global) API -- what's the proper usage of this function when rendering asynchronously or streaming? Over at https://github.com/knpwrs/solid-ssr/blob/main/src/entry.server.tsx#L7-L15= I have code which essentially amounts to:...

```tsx const Svg = styled('svg')($p=>{ return ` ${$p.spin ? ` animation: ${spin} 2s 0s infinite linear; ` : ''} ${$p.pulse ? ` animation: ${spin} 1s infinite steps(8); ` : ''}...

Considering the following styled div: ```ts const Div = styled("div")` color: red; ` ``` The component: ```tsx ``` results in ``, but it should also contain `foo`. Adding a className...

When I pass an object which is already created inside function, the style is not applied. ![image](https://user-images.githubusercontent.com/72854692/171320812-9f50b396-9148-4a67-9eb5-4005767e14a2.png) The background supposed to become red and I should have flexbox layout shown...

I could turn off HMR in Vite, but some may want HMR (I don't). I simply don't have a choice but to [use HMR](https://github.com/nxext/nx-extensions/issues/698). When HMR is on, the styles...

Hi there, I noticed that the css isn't minified in the build. Is there a vite setting I can use to enable that? Thank you.

I seem to have an issue with passing in multiple arguments to `styled`. From what I can tell by the types, it should be possible to do the following ```Typescript...

A lot of elements has class name `go11`. This make a lot of conflicts if element don't has some styles, and I want to apply them to it depending on...

They seem to only be keyed to intrinsic elements. This was something I had borrowed from goober ages ago and I'm positive it isn't right. PRs welcome.

bug
good first issue
help wanted