Responsiveness in properties

Hi @tpbradley

as discussed before. A small feedback regarding the responsive stuff. Would it be possible to have the response part as a variable like the {{value}}, then in the format it would be easier to handle, Instead of doing a recalculation as mentioned here: link

Use Case
When equal sizing is required

Suggestion

{{device}}w-{{value}} {{device}}h-{{value}}w-12 h-12 md:w-6 md:w-6

@dan … Love the new debugger.

Hi @Beblebroks,

This looks like a bug - it should work in the way you have suggested (but without the need for the {{device}}), so doing "format": "w-{{value}} h-{{value}}" in your properties.json should output something like:

w-12 h-12 md:w-6 md:w-6 lg:w-4 lg:h-4

We’ll take a look and get this fixed up ASAP :slight_smile:

@Beblebroks, check out today’s 0.6.1 release :smile:

1 Like

image

Works :scream:

1 Like