Skip to content
This repository has been archived by the owner on Mar 21, 2020. It is now read-only.

Framer.js device constructor shorthand for designing with relative points

Notifications You must be signed in to change notification settings

peteschaffner/framer-device

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Device constructor shorthand that defaults to @1x

Quickly setup a device canvas with Screen dimensions that default to relative points, so that you can design @1x. This is great for handing to engineers who will use the source as design specs.

Usage

$ framer myProject &
$ cd myProject
$ npm install --save peteschaffner/framer-device

app.js:

var Device = require('framer-device')

new Device({ deviceType: 'iphone-6-gold' })

About

Framer.js device constructor shorthand for designing with relative points

Resources

Stars

Watchers

Forks

Packages