stitches icon indicating copy to clipboard operation
stitches copied to clipboard

[Not Actively Maintained] CSS-in-JS with near-zero runtime, SSR, multi-variant support, and a best-in-class developer experience.

Results 146 stitches issues
Sort by recently updated
recently updated
newest added

It would be useful to expose a native way to resolve stitches css tokens from `theme`. ```js const color = theme.resolveToken('$colors$neutral400') //'#a3a3a3' ``` This would increase the interoperability with other...

feature

I find dealing with data-attributes clearer for many cases, as it’s more deterministic and doesn’t allow odd states. eg.: on `body.light.dark` what would be the theme? by using `body[data-theme="dark"]` we...

feature

![image](https://user-images.githubusercontent.com/59882993/147614937-40218693-c2fc-43dd-bf01-61f61e8fd38f.png) my storybook preset ![image](https://user-images.githubusercontent.com/59882993/147614967-33d04a76-256d-4da2-aa8d-fc0dae6859e4.png)

awaiting feedback

# Bug report ## Describe the bug CSS component expression is incorrectly typed as a `string` ```js import { css } from '@stitches/react' // expression is typed as a "StyledExpression...

typescript
needs investigation

**Is your feature request related to a problem? Please describe.** Like the existing code base is tested using the unit tests in javascript, but what about the typings? The typescript...

enhancement
typescript

# Bug report ## Describe the bug Function `getCssText` accumulates all styles what it even seen on the project. It happens when using stitches framework on projects with SSR (with...

documentation

# Bug report Hello, If I try to do something like this: ```js space: { 0: "0", 1: "0.25rem", 2: "0.5rem", 3: "0.75rem", 4: "1rem", 5: "1.25rem", 6: "1.5rem", 7:...

awaiting feedback
please add a reproduction

**Is your feature request related to a problem? Please describe.** In general, but mostly when I use component composition, I need to set a responsive defaultVariants. In the example below...

feature

**Is your feature request related to a problem? Please describe.** Add support for stitches CSS variable fallbacks that should work with theme map **Describe the solution you'd like** ```ts css({...

feature

### Discussed in https://github.com/modulz/stitches/discussions/969 Originally posted by **joseDaKing** February 24, 2022 Add custom selector utilities in typescript will yield the wrong type. This wont work because of self refercing type...

enhancement