Is there a way to pass custom value for spacing (or other parameters) to tailwind config schema instead of prescribing all the values i need in tailwind config?
For example, when using custom spacing values in px for HTML element like this:
<div className="mt-15px pb-36px h-500px></div>
I currently use next tailwind config:
...
spacing: {
"15px": "15px",
"36px": "36px",
},
height: {
"500px": "500px"
}
...
Instead i'd like to have something like this if it is possible:
...
spacing: {
"${var}px": "${var}px",
},
height: {
"${var}px": "${var}px"
}
...
Basically to pass any number to tailwind styles for spacing or other similar parameters without the necessity to prescribe it into config.
Is there any way to achieve it?