-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
Description
It looks like text object is no longer saved as a binary blob! It means that we can generate it with JS, which means that we may no longer need a Sketch plugin (in the long run) 🕺
{
"_class": "text",
"do_objectID": "363fb9fc-1f4e-4c53-b11b-9704da8e714f",
"exportOptions": {
"_class": "exportOptions",
"exportFormats": [],
"includedLayerIds": [],
"layerOptions": 0,
"shouldTrim": false
},
"frame": {
"_class": "rect",
"constrainProportions": false,
"height": 24,
"width": 101,
"x": 26,
"y": 0
},
"isFlippedHorizontal": false,
"isFlippedVertical": false,
"isLocked": false,
"isVisible": true,
"layerListExpandedType": 0,
"name": "One two three",
"nameIsFixed": false,
"resizingConstraint": 47,
"resizingType": 0,
"rotation": 0,
"shouldBreakMaskChain": false,
"userInfo": null,
"style": {
"_class": "style",
"endDecorationType": 0,
"miterLimit": 10,
"startDecorationType": 0
},
"attributedString": {
"_class": "attributedString",
"string": "One two three",
"attributes": [
{
"_class": "stringAttribute",
"location": 0,
"length": 13,
"attributes": {
"underlineStyle": 0,
"MSAttributedStringTextTransformAttribute": 0,
"paragraphStyle": {
"_class": "paragraphStyle",
"alignment": 0,
"lineHeightMultiple": 1,
"maximumLineHeight": 24,
"minimumLineHeight": 24
},
"strikethroughStyle": 0,
"kerning": null,
"MSAttributedStringFontAttribute": {
"_class": "fontDescriptor",
"attributes": {
"name": "ProximaNova-Regular",
"size": 16
}
},
"MSAttributedStringColorAttribute": {
"_class": "color",
"alpha": 1,
"blue": 0,
"green": 0,
"red": 0
}
}
}
]
},
"automaticallyDrawOnUnderlyingPath": false,
"dontSynchroniseWithSymbol": false,
"glyphBounds": "{{0, 6}, {101, 12}}",
"lineSpacingBehaviour": 2,
"textBehaviour": 0
}kbav and itsderek23knksmith57, markdalgleish, beatscode, kbav, Chrissy and 2 more