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 is too magical and is hard to debug where it comes from.
What are the requirements?
Pigment CSS should not have shorthand properties or values enabled by default. It should be configured explicitly based on the users.
What are our options?
Pigment CSS needs to expose an API to configure the shorthand. I lean toward following Tailwind config so that users can switch between Tailwind and Pigment CSS.
Proposed solution
Remove shorthand properties from the default behavior and let the users configure it explicitly. The API to configure is the next step to think about.
Resources and benchmarks
No response
Search keywords:
The text was updated successfully, but these errors were encountered:
siriwatknp
changed the title
[RFC] shorthand properties should not be default behavior
[RFC] shorthand properties & values should not be the default behavior
Jun 10, 2024
What's the problem?
produces CSS
width: 100%
.This is too magical and is hard to debug where it comes from.
What are the requirements?
Pigment CSS should not have shorthand properties or values enabled by default. It should be configured explicitly based on the users.
What are our options?
Pigment CSS needs to expose an API to configure the shorthand. I lean toward following Tailwind config so that users can switch between Tailwind and Pigment CSS.
Proposed solution
Remove shorthand properties from the default behavior and let the users configure it explicitly. The API to configure is the next step to think about.
Resources and benchmarks
No response
Search keywords:
The text was updated successfully, but these errors were encountered: