-
Hey there! As always, really appreciate all the hard-work going into twind v1. I was looking into two aspects of the current beta and was hoping to get a bit of clarification:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is a builtin feature of twind. If a rule uses the
Something like that will be added. I'm still thinking about the DX for this. |
Beta Was this translation helpful? Give feedback.
This is a builtin feature of twind. If a rule uses the
fromTheme
helper it automatically supports arbitrary values. Here is the example for padding: https://github.com/tw-in-js/twind/blob/next/packages/preset-tailwind/src/rules.ts#L246. The basic idea is if a value is not foun…