You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That makes sense—I noticed the nodeToSymbol method, but didn’t find anything on the styles or colors.
I personally like being able to infer everything from the markup—the data-sketch-* is just one way to do that. My use case is generating a sketch library from an html page—importing symbols, text-styles, layer-styles, and color swatches all in one go.
🧐 问题描述
How can I create text styles, layer styles, and document colors?
For symbols, how can I create a symbol, and then use an instance of the symbol when importing my existing html?
💻 示例代码
I was digging around in the source code and found related code:
🚑 其他信息
In
html-sketchapp
, the docs show:In
html-sketchapp-cli
, the docs show:data-sketch-*
https://github.com/seek-oss/html-sketchapp-cli#html-sketchapp-cliIf it has not been implemented yet, I think the custom data attributes from
html-sketchapp-cli
are a nice solution:The text was updated successfully, but these errors were encountered: