Comments (9)
if you use another custom preset then it's needed to explicitly import the built-in one
https://panda-css.com/docs/customization/presets#which-panda-presets-will-be-included-
if you don't use a custom preset then you don't need to do anything !
from panda.
Could you attach a valid reproduction? The attached repro doesn't reflect the code snippet you shared.
From the look of things, I sense you have a custom preset or theme, but it's hard to tell.
Consider adding this to your panda config
include: ["@pandacss/preset-base"]
from panda.
you might also want to update your panda version to latest (v0.28.0)
from panda.
Hello, updating to the latest version worked for me. thanks! I haven't added include: ["@pandacss/preset-base"]
Do I need it, what does it do? Thank you
from panda.
Ok, thanks a lot
from panda.
Hello,
Sorry is it possible to reopen this ticket, please. I thought my problem was solved but, when I add a chakra-ui default theme measurement, it actually converts it to px. ie: margin set to "2" will show margin: "2px" in the DOM:
If you need me to update the link to reproduction with my files, could you indicate which files you want me to copy?
Thank You very much
from panda.
your panda config and a file containing a reproduction to your issue should be enough
from panda.
Related Issues (20)
- defineKeyframes type error HOT 4
- Responsive rule insertion order in HMR updates HOT 1
- Themed recipes does not support the usage of `.raw()` HOT 2
- Semantic tokens should be type checked HOT 2
- Compiling with vite/rollup produces warnings about the __PURE__ annotations HOT 1
- Custom Utility with Shorthand not extracted 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
- `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
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.