Coder Social home page Coder Social logo

Comments (9)

astahmer avatar astahmer commented on June 1, 2024 1

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.

segunadebayo avatar segunadebayo commented on June 1, 2024

Hi @bikeclub-caroline,

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.

astahmer avatar astahmer commented on June 1, 2024

you might also want to update your panda version to latest (v0.28.0)

from panda.

bikeclub-caroline avatar bikeclub-caroline commented on June 1, 2024

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.

bikeclub-caroline avatar bikeclub-caroline commented on June 1, 2024

Ok, thanks a lot

from panda.

bikeclub-caroline avatar bikeclub-caroline commented on June 1, 2024

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:
Screenshot 2024-02-02 at 5 27 51 pm
Screenshot 2024-02-02 at 5 29 08 pm

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.

astahmer avatar astahmer commented on June 1, 2024

your panda config and a file containing a reproduction to your issue should be enough

from panda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.