Coder Social home page Coder Social logo

perrysmotors / copy-framer-code Goto Github PK

View Code? Open in Web Editor NEW
203.0 19.0 11.0 236 KB

A Sketch plugin that copies any selected layer to the clipboard as code that can be pasted straight into a Framer prototype.

License: Apache License 2.0

JavaScript 100.00%
sketch-plugin framer-prototype sketch framer

copy-framer-code's People

Contributors

adamkirkwood avatar dependabot[bot] avatar perrysmotors avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

copy-framer-code's Issues

letter spacing for text layers

A copied Text with letterSpacing results in TextLayer with the property letterSpacingCode instead of just letterSpacing as documented in the Framer docs.

 test = new TextLayer
	x: 230
	y: 491
	width: 807
	text: "Test"
	fontSize: 24
	fontFamily: "Segoe Semibold"
	letterSpacingCode: 5.0
	textAlign: "left"
	color: "rgba(58,58,58,1)"

small y offset with TextLayers

I noticed a small y offset with TextLayers. In my example it was off by -3px. Not sure if it is Font and/or FontSize dependent. I'll try to add a proper example later.

Plugin no longer working

Hey guys!

First, thank you so much for putting this awesome plugin together for the sketch community! I've been using it for a few years now.

I think with the latest update with Sketch version 66.1, the plugin no longer works.

I work at Disney and I love the plugin for our prototypes!

Any chance you'd be able to fix this? I wish there was a donation box somewhere. I'd pay for this haha

-Henry

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.