Comments (1)
Thanks for reporting this @FourwingsY.
Fixing this shortly. In the meantime, you can add a className
property to the utility.
coloredBorder: {
shorthand: 'cb',
className: 'cb',
values: ['red', 'green', 'blue'],
transform(value) {
return {
border: `1px solid ${value}`,
}
},
},
from panda.
Related Issues (20)
- Compiling with vite/rollup produces warnings about the __PURE__ annotations HOT 1
- Merging css props with `css` function doesn't work as the example shows HOT 1
- Reducing the burden on type systems HOT 1
- Multi-Theme Tokens not working as expected HOT 2
- Panda CSS default theme not applying HOT 9
- `bleed` pattern not handling CSS custom properties
- Pattern properties with correct naming are not taken into account into custom component HOT 2
- named containers not generated properly HOT 2
- CSS from recipes not applied on web app consuming a package
- PostCSS warning when Panda rules are not injected
- `panda` emitted package poses importing issues HOT 3
- Storybook HMR issues with recipe import HOT 7
- `v-model` doesn't work on styled JSX components (VueJS) HOT 1
- Could not resolve "@pandacss/dev"
- Cannot create a tree-shakeable component library with Panda CSS
- `styled` fn with components using `as` prop
- strictTokens with keywords
- CSS shorthand properties with multiple tokens/values not working HOT 2
- Atomic output order depends on file compilation order, and so is not deterministic
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 panda.