Is there a method for setting/assigning a range of text to a variable? I noticed that even the setRangeBoundVariable(start, end, type, variableId) doesn’t support “color” for the type.
Something like:
figma.currentPage.selectione0].setRangeBoundVariable(0, 5, 'color', 'VariableID:313:879')
Which would then apply that variable to text characters 0-5.