This file contains 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
//https://thomas-lowry.github.io/figma-plugin-ds/#onboarding | |
figma.showUI(__html__) | |
var specFrame | |
var rowHeight = 51 | |
figma.ui.resize(300,480) | |
var hexToRgbColor |
This file contains 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
function drawCurve(x1,y1,x2,y2,) { | |
var rect = figma.createFrame() | |
rect.resize(500, 100) | |
setFillColor(rect,"FFFFFF" ) | |
// hexToRgbColor = hexToRgb("F6F6F6") | |
// rect.fills = [{type: 'SOLID', |
This file contains 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
{ | |
"firstKeyTime": 0, | |
"lastKeyTime": 0.66666666666667, | |
"layers": [ | |
{ | |
"name": "Button Login", | |
"index": 1, | |
"props": [ | |
{ | |
"name": "Scale", |
This file contains 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
var curve = figma.createVector() | |
var startX = 0 + " " | |
var startY = 100 + " " | |
var controlPointX1 = (100 * 0.5) + " " | |
var controlPointY1 = (100 * 0) + " " | |
var controlPointX2 = (100 * 0.14) + " " | |
var controlPointY2 = (100 * .99) + " " | |
var endX = 100 + " " | |
var endY = 0 |
This file contains 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
{"poster": {"title": "Its Goona bethe new poser","description": "Museum Quality Poster. Thick, durable, matte perfection, shouting out your message.","units_in_stock": 100,"credits": "avadh","price": "890.0","productUrl": "www.poster.com","shippingDetails": "Rates provided during checkout, ships withing 3-5 days"}} |