CSSketch
CSSketch copied to clipboard
Text color properties doesn't work.
Hi, JohnCoates.
When I try to change color for text, but doesn’t work. This plugin not supported text color? Can you check this issue. Thanks.
Sketch version 3.8.2 (Latest) OS El Capitan 10.11.4 (Latest)
//Sass [type="text"] { color:#f00; }
I'm also seeing this issue. Not only does color not update in the Sketch document, it prevents the entire style block from functioning. Example:
[type="text"] {
color: #ff0000;
text-transform: uppercase;
}
I don't see the text-transform: uppercase; applied until I delete the color line.
Here's what I'm seeing in the Console:
6/3/16 4:28:09.359 PM Sketch[74268]: rules: {
"background-color" = "rgb(255, 0, 0)";
"border-bottom-left-radius" = 10px;
"border-bottom-right-radius" = 10px;
"border-top-left-radius" = 10px;
"border-top-right-radius" = 10px;
color = "rgb(255, 0, 0)";
display = block;
"font-family" = Gotham;
"font-size" = 20px;
height = 24px;
left = 0px;
offsetLeft = 0;
offsetParent = "<DOMHTMLElement [LAYER]: 0x11bf9e780 ''>";
offsetTop = 0;
"overflow-x" = auto;
"overflow-y" = auto;
position = absolute;
top = 0px;
width = 163px;
}
6/3/16 4:28:09.359 PM Sketch[74268]: -[MSTextLayer markLayerDirtyOfType:]: unrecognized selector sent to instance 0x7fe8b6d49470
6/3/16 4:28:09.359 PM Sketch[74268]: *** WebKit discarded an uncaught exception in the webView:didFinishLoadForFrame: delegate: <NSInvalidArgumentException> -[MSTextLayer markLayerDirtyOfType:]: unrecognized selector sent to instance 0x7fe8b6d49470
6/3/16 4:28:09.827 PM WindowServer[14470]: send_datagram_available_ping: pid 384 failed to act on a ping it dequeued before timing out.
6/3/16 4:28:13.000 PM syslogd[49]: ASL Sender Statistics
Any resolution?
Ditto. It also prevents many of the example projects from functioning. E.G. the keyboard project won't update styles until you comment out the text color property on line 48 of its Less file. This is a major blocker for the plugin's intended functionality.