You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be totally OK for fresh projects. But in my case, where I'm migrating gradually from Tailwind to PandaCSS with ParkUI this style is too aggressive and takes over styling where I'm not expecting it.
There is a similar problem with Preflight, but it can be scoped with a class name. But in this case, I can't scope it with PandaCSS config, so must manually override the preset after it was created with createPreset
Perhaps this global styles config can either respect preflight scoping or it can be overwritten on createPreset function call.
Or, it should not be global in the first place.
wdyt?
The text was updated successfully, but these errors were encountered:
Global styles that set border colour are too aggressive:
park-ui/packages/panda/src/global-css.ts
Line 18 in 53235fb
This may be totally OK for fresh projects. But in my case, where I'm migrating gradually from Tailwind to PandaCSS with ParkUI this style is too aggressive and takes over styling where I'm not expecting it.
There is a similar problem with Preflight, but it can be scoped with a class name. But in this case, I can't scope it with PandaCSS config, so must manually override the preset after it was created with
createPreset
Perhaps this global styles config can either respect preflight scoping or it can be overwritten on
createPreset
function call.Or, it should not be global in the first place.
wdyt?
The text was updated successfully, but these errors were encountered: