-
-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pattern styles not compiled in monorepo #2310
Comments
you're currently using import { cx } from "@scootch/styled-system/css";
import {
type GridItemProps as StylesGridItemProps,
type HTMLStyledProps,
styled,
} from "@scootch/styled-system/jsx";
import { gridItem } from "@scootch/styled-system/patterns"; so you need to set the |
Aha. Thank you. That was a typo in converting to the minimal reproduction. Changing that does fix the issue in the reproduction. Unfortunately the path is correct in the actual project so there's something else causing the issue there. I'll investigate further and update here. |
Description
When I use patterns in the UI library package in my monorepo, I expect the styles to be generated when running my app but no styles are generated. I have closely followed the example here, but I've amended the reproduction to closely match our project.
Other Panda functions like
css
are generating styles correctly.It looks like I'm having a similar issue to this but as far as I can see I have the paths set up correctly.
Link to Reproduction
https://stackblitz.com/~/github.com/robcostello1/panda-pattern-monorepo
Steps to reproduce
column-span
of 6 (half the page width)column-span
is appliedJS Framework
React (TS)
Panda CSS Version
0.33.0
Browser
Chrome 121
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: