This is a cva example but would migrate to WindStitches if it would work.
I am trying to create a medium input but when iconLeading is true I would like the padding to end up like this pr-3 pl-10 which is the result of px-3 + pl-10.
Would WindStitches be aware a px-3 is applied and to override only the left part of the padding?
Would the following be possible?
This is a
cva
example but would migrate to WindStitches if it would work.I am trying to create a
medium
input but wheniconLeading
istrue
I would like the padding to end up like thispr-3 pl-10
which is the result ofpx-3
+pl-10
.Would WindStitches be aware a
px-3
is applied and to override only the left part of the padding?