Skip to content

Commit

Permalink
Added new devices
Browse files Browse the repository at this point in the history
  • Loading branch information
nvh committed Nov 6, 2017
1 parent f622504 commit a03d1f7
Show file tree
Hide file tree
Showing 41 changed files with 85 additions and 0 deletions.
Binary file added extras/DeviceResources/apple-iphone-se-gold.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
85 changes: 85 additions & 0 deletions framer/Components/DeviceComponent.coffee
Expand Up @@ -901,6 +901,25 @@ iPhone6PlusBaseDevice =
width: 3987 width: 3987
height: 6212 height: 6212


iPhoneSEBaseDevice =
deviceImageWidth: 768
deviceImageHeight: 1610
deviceImageCompression: true
screenWidth: 640
screenHeight: 1136
devicePixelRatio: 2
deviceType: "phone"
minStudioVersion: iPhoneXReleaseVersion
hands:
"iphone-hands-2":
width: 2098
height: 3269
offset: 19
"iphone-hands-1":
width: 2098
height: 3269
offset: 19

iPhone5BaseDevice = iPhone5BaseDevice =
deviceImageWidth: 768 deviceImageWidth: 768
deviceImageHeight: 1612 deviceImageHeight: 1612
Expand Down Expand Up @@ -1208,6 +1227,15 @@ AppleWatch38BlackLeatherDevice =
minStudioVersion: newDeviceMinVersion minStudioVersion: newDeviceMinVersion
maxStudioVersion: redesignMaxVersion maxStudioVersion: redesignMaxVersion


SonySmartwatch3Base =
deviceImageWidth: 444
deviceImageHeight: 780
deviceImageCompression: true
screenWidth: 320
screenHeight: 320
devicePixelRatio: 1.5
minStudioVersion: iPhoneXReleaseVersion

AppleMacBook = AppleMacBook =
deviceImageWidth: 3084 deviceImageWidth: 3084
deviceImageHeight: 1860 deviceImageHeight: 1860
Expand Down Expand Up @@ -1248,6 +1276,17 @@ AppleIMac =
deviceType: "computer" deviceType: "computer"
minStudioVersion: desktopReleaseVersion minStudioVersion: desktopReleaseVersion


AppleThunderboltDisplay =
deviceImageWidth: 2788
deviceImageHeight: 2580
deviceImageCompression: true
screenWidth: 2560
screenHeight: 1440
devicePixelRatio: 1
deviceType: "computer"
minStudioVersion: iPhoneXReleaseVersion


DellXPS = DellXPS =
deviceImageWidth: 5200 deviceImageWidth: 5200
deviceImageHeight: 3040 deviceImageHeight: 3040
Expand All @@ -1267,6 +1306,38 @@ SonyW85OC =
devicePixelRatio: 1 devicePixelRatio: 1
minStudioVersion: desktopReleaseVersion minStudioVersion: desktopReleaseVersion


MicrosoftSurfaceBook =
deviceImageWidth: 4102
deviceImageHeight: 2474
deviceImageCompression: true
screenWidth: 3000
screenHeight: 2000
devicePixelRatio: 2
deviceType: "computer"
minStudioVersion: iPhoneXReleaseVersion

MicrosoftSurfacePro3 =
deviceImageWidth: 2196
deviceImageHeight: 1514
deviceImageCompression: true
screenWidth: 2160
screenHeight: 1440
devicePixelRatio: 1.5
deviceType: "computer"
minStudioVersion: iPhoneXReleaseVersion

MicrosoftSurfacePro4 =
deviceImageWidth: 3064
deviceImageHeight: 2120
deviceImageCompression: true
screenWidth: 2736
screenHeight: 1824
devicePixelRatio: 2
deviceType: "computer"
minStudioVersion: iPhoneXReleaseVersion



########################################################################### ###########################################################################
# OLD DEVICE CONFIGURATIONS # OLD DEVICE CONFIGURATIONS


Expand Down Expand Up @@ -1488,6 +1559,12 @@ Devices =
"apple-iphone-6s-plus-silver": _.clone(iPhone6PlusBaseDevice) "apple-iphone-6s-plus-silver": _.clone(iPhone6PlusBaseDevice)
"apple-iphone-6s-plus-space-gray": _.clone(iPhone6PlusBaseDevice) "apple-iphone-6s-plus-space-gray": _.clone(iPhone6PlusBaseDevice)


# iPhone SE
"apple-iphone-se-gold": _.clone(iPhoneSEBaseDevice)
"apple-iphone-se-silver": _.clone(iPhoneSEBaseDevice)
"apple-iphone-se-space-gray": _.clone(iPhoneSEBaseDevice)
"apple-iphone-se-rose-gold": _.clone(iPhoneSEBaseDevice)

# iPhone 5S # iPhone 5S
"apple-iphone-5s-gold": _.clone(iPhone5BaseDevice) "apple-iphone-5s-gold": _.clone(iPhone5BaseDevice)
"apple-iphone-5s-silver": _.clone(iPhone5BaseDevice) "apple-iphone-5s-silver": _.clone(iPhone5BaseDevice)
Expand Down Expand Up @@ -1580,6 +1657,10 @@ Devices =
"apple-watch-42mm-sport-space-gray-black-closed": _.clone(AppleWatch42Device) "apple-watch-42mm-sport-space-gray-black-closed": _.clone(AppleWatch42Device)
"apple-watch-42mm-stainless-steel-black-leather-closed": _.clone(AppleWatch42Device) "apple-watch-42mm-stainless-steel-black-leather-closed": _.clone(AppleWatch42Device)


# Sony SmartWatch 3
"sony-smartwatch-3-black": _.clone(SonySmartwatch3Base)
"sony-smartwatch-3-white": _.clone(SonySmartwatch3Base)

# NEXUS # NEXUS
"google-nexus-4": _.clone(Nexus4BaseDevice) "google-nexus-4": _.clone(Nexus4BaseDevice)
"google-nexus-5x": _.clone(Nexus5BaseDevice) "google-nexus-5x": _.clone(Nexus5BaseDevice)
Expand Down Expand Up @@ -1633,6 +1714,10 @@ Devices =


# Desktops # Desktops
"apple-imac": _.clone(AppleIMac) "apple-imac": _.clone(AppleIMac)
"apple-thunderbolt-display": _.clone(AppleThunderboltDisplay)
"microsoft-surface-book": _.clone(MicrosoftSurfaceBook)
"microsoft-surface-pro-3": _.clone(MicrosoftSurfacePro3)
"microsoft-surface-pro-4": _.clone(MicrosoftSurfacePro4)


# TV # TV
"sony-w85Oc": _.clone(SonyW85OC) "sony-w85Oc": _.clone(SonyW85OC)
Expand Down

0 comments on commit a03d1f7

Please sign in to comment.