panda icon indicating copy to clipboard operation
panda copied to clipboard

Patterns doesn't work in SvelteKit

Open dcheglakov opened this issue 2 years ago • 0 comments

Description

When I tried to import container pattern to the main layout (or page), I expected to see generated classes for the container, but container classes pos_relative max-w_8xl mx_auto px_4 md:px_6 lg:px_8 is not generated/extracted.

Link to Reproduction

https://stackblitz.com/edit/stackblitz-starters-bwygju?file=src%2Froutes%2F%2Blayout.svelte

Steps to reproduce

  1. Go to home page
  2. Check the classes on the main element in the DevTools
  3. Notice there are styles for the container classes. No Utilities Layer, only Base, Reset etc
  4. Try to use any pattern all of them will be without styles

JS Framework

SvelteKit (TS)

Panda CSS Version

0.3.2

Browser

Google Chrome 114

Operating System

  • [X] macOS
  • [ ] Windows
  • [ ] Linux

Additional Information

No response

dcheglakov avatar Jun 20 '23 20:06 dcheglakov