Skip to content

Instantly share code, notes, and snippets.

@steveck-chung
Last active September 19, 2019 01:42
Show Gist options
  • Save steveck-chung/890e8b358f0527597a67e83fc54602de to your computer and use it in GitHub Desktop.
Save steveck-chung/890e8b358f0527597a67e83fc54602de to your computer and use it in GitHub Desktop.
Multi-style text
{
"elements": {
"1:3": {
"absoluteRotation": 0,
"currStateId": "fake-cuid",
"id": "1:3",
"isMask": false,
"locked": false,
"name": "Multi style text with left-bottom alignment Apply more text properties for testing",
"parentId": "1:2",
"screenId": "1:2",
"stateIds": ["fake-cuid"],
"type": "TEXT",
"visible": true
}
},
"states": {
"fake-cuid": {
"blendMode": "NORMAL",
"borders": [],
"boundingBox": {
"height": 402.77935791015625,
"width": 504,
"x": -350,
"y": -223
},
"characterStyleOverrides": [29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48],
"effects": [],
"elemId": "1:3",
"fills": [{
"blendMode": "NORMAL",
"color": {
"a": 1,
"b": 0,
"g": 0,
"r": 0
},
"type": "SOLID",
"visible": true
}],
"height": 266.0537109375,
"id": "fake-cuid",
"innerShadows": [],
"name": "Default state",
"opacity": 1,
"pivot": [0.5, 0.5, 0.5],
"rotation": 0,
"shadows": [],
"styleOverrideTable": {
"27": {
"fills": [{
"blendMode": "NORMAL",
"color": {
"a": 1,
"b": 0.12593752145767212,
"g": 0.12593752145767212,
"r": 0.9750000238418579
},
"opacity": 1,
"type": "SOLID"
}],
"fontFamily": "Roboto",
"fontPostScriptName": "Roboto-Bold",
"fontWeight": 700,
"letterSpacing": 0,
"lineHeightPx": 50,
"paragraphIndent": 30,
"paragraphSpacing": 80
},
"28": {
"paragraphSpacing": 80
},
"29": {
"letterSpacing": 0,
"lineHeightPx": 50,
"paragraphIndent": 30,
"paragraphSpacing": 80,
"textDecoration": "UNDERLINE"
},
"48": {
"fills": [{
"blendMode": "NORMAL",
"gradient": {
"handlePositions": [{
"x": 0.5,
"y": 0.49999999999999994
}, {
"x": 0.5,
"y": 0.9999999999999999
}, {
"x": 0,
"y": 0.5
}],
"stops": [{
"color": {
"a": 1,
"b": 0.8958333134651184,
"g": 0.291145920753479,
"r": 0.2239583134651184
},
"position": 0
}, {
"color": {
"a": 1,
"b": 0.8478645086288452,
"g": 0.9291666746139526,
"r": 0.25164926052093506
},
"position": 1
}]
},
"opacity": 1,
"type": "GRADIENT_RADIAL"
}],
"letterSpacing": 0,
"paragraphSpacing": 80
}
},
"textStyle": {
"fontFamily": "Roboto",
"fontPostScriptName": "",
"fontSize": 36,
"fontWeight": 400,
"letterSpacing": 1.8,
"lineHeightPx": 50,
"paragraphIndent": 30,
"paragraphSpacing": 60,
"textAlignHorizontal": "RIGHT",
"textAlignVertical": "BOTTOM"
},
"transform": [
[0.9367060661315918, 0.35011669993400574, 63],
[-0.35011669993400574, 0.9367060661315918, 186.56524658203125]
],
"wrapGeometry": [],
"distortGeometry": [],
"type": "TEXT_STATE",
"width": 438.6116027832031,
"x": 63,
"y": 33,
"z": 0
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment