纯脚本素描 Sketch Javascript API包装器,用于使用PureScript开发Sketch插件 将purescript-sketch添加到您现有的插件项目中 bower i purescript-sketch 程式码片段 main :: Effect Unit main = do Dom .selectedLayers >>= case _ of Left err -> UI .message " Something went wrong... " Right layers -> do if length lay