This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Export from https://www.figma.com/community/plugin/1256972111705530093/export-import-variables | |
import json | |
app_name = "{fill_in}" # Make sure to replace this. | |
def rgba_to_string(rgba): | |
"""Convert RGBA color values to an RGBA string.""" | |
r = int(rgba['r'] * 255) | |
g = int(rgba['g'] * 255) |
OlderNewer