GithubHelp home page GithubHelp logo

alibaba / gaiameasure Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 4.0 1.11 MB

该库是Sketch插件中的【导出标注】功能的一部分,通过此项目生成标注模板,产物集成在设计师插件中,通过和插件导出设计稿的数据,生成可供开发参考的标注文件

Home Page: https://www.yuque.com/youku-gaia

License: Apache License 2.0

Shell 0.01% HTML 1.03% CSS 4.12% TypeScript 94.83%
sketch-measure

gaiameasure's Introduction

标注模板

en-US

介绍

该库是Sketch插件中的【导出标注】功能的一部分,通过此项目生成标注模板,产物集成在设计师插件中,通过和插件导出设计稿的数据,生成可供开发参考的标注文件

语雀知识库地址

项目架构基于 Create React App,界面基于 FluentUI

标注示例

特点

  • 支持插件定义的Design Token库,以及显示选中图层特定属性的Design Token
  • 更清晰的标注界面
  • 支持查看选中图层的CSS样式

数据格式

功能

开发

安装依赖

npm run install 

或者

yarn 

启动服务

npm run start

或者

yarn start

编译

npm run build

或者

yarn build

集成到插件

编译后,拷贝 build 目录下的 asset-manifest.jsonindex.htmlsrc/**static/** 文件及子目录到插件的 sketch/assets/export-measure 目录,然后重新编译打包插件

如果index.html文件中有类似如下 <script src="artboards/FF7DA7EF-B893-47CE-8C1F-A042C0011233.js"></script> 的内容,请手动删掉,只保留 <script src="data.js"></script>

行为准则

Alibaba Open Source Code of Conduct

开源协议

Gaia Measure is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

gaiameasure's People

Contributors

alibaba-oss avatar ronghui1219 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.