Comments (2)
since box-shadow
properties can be sizes
or colors
, it would require more code for stitches to figure out which exactly value you want to interpolate here, f.e. boxShadow: 0 0 $md $brand-50
should understand $md
is var(--stitches-sizes-md)
and $brand-50
is var(--stitches-colors-brand-50)
. So you need to provide a hint, boxShadow: "0 0 0 1px $colors$default-brand-50"
from stitches.
Oh, ok, thank you :) appreciate it
from stitches.
Related Issues (20)
- Variants which contain numeric strings (e.g. "-12") and number keys (e.g. 12) are assigned a 'number' type when generating a union using the VariantProps type
- A Simplified Responsive Variants Api
- Vendor prefix is stripped from WebkitBackgroundClip
- when using prefix, theme tokens in globalCSS aren't prefixed HOT 2
- Theme token not being parsed when overriding CSS prop (Next.js) HOT 1
- styled components not passing variants
- please consider using css string props like emotion HOT 2
- Is this project dead? HOT 2
- Container queries support HOT 2
- Chat about the future for stitches HOT 44
- When a responsive variant matches the @initial variant, the initial one is not applied. HOT 1
- reset function returned from createStitches is not in docs
- costum propreties like variants and sizes : example costum proprety
- export type of `css` function HOT 2
- (Feature request): Ability for child element to opt out of theme
- Dynamic props in styled
- Project Dead? HOT 1
- How to add `!important` automatically HOT 1
- Not compatible with `moduleResolution: "Bundler"`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stitches.