stitches
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.
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...
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...
 my storybook preset 
# 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...
**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...
# 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...
# 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:...
**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...
**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({...
### 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...