Module
Sketch.Types
- Package
- purescript-sketch
- Repository
- iarthstar/purescript-sketch
#ArtboardLayer Source
newtype ArtboardLayerConstructors
ArtboardLayer { background :: Background, exportFormats :: Array ExportFormat, frame :: Frame, id :: String, layers :: Array Layer, name :: String, selected :: Boolean, type :: String }
Instances
#TextLayer Source
#TextStyle Source
newtype TextStyleConstructors
TextStyle { alignment :: String, fontFamily :: String, fontSize :: Number, fontWeight :: Number, id :: String, kerning :: Maybe Number, lineHeight :: Maybe Number, opacity :: Number, shadows :: Maybe (Array Shadow), textColor :: String, textTransform :: String, type :: String, verticalAlignment :: String }
Instances
#GroupLayer Source
newtype GroupLayerConstructors
GroupLayer { frame :: Frame, hidden :: Boolean, id :: String, layers :: Array Layer, locked :: Boolean, name :: String, style :: GroupStyle, type :: String }
Instances
#GroupStyle Source
#ImageLayer Source
newtype ImageLayerConstructors
ImageLayer { frame :: Frame, hidden :: Boolean, id :: String, image :: ImageData, locked :: Boolean, name :: String, style :: ImageStyle, type :: String }
Instances
#ImageStyle Source
#ShapeLayer Source
newtype ShapeLayerConstructors
ShapeLayer { frame :: Frame, hidden :: Boolean, id :: String, locked :: Boolean, name :: String, points :: Array Points, shapeType :: String, style :: ShapeStyle, type :: String }
Instances
#ShapeStyle Source
#ExportFormat Source
newtype ExportFormatConstructors
ExportFormat { fileFormat :: String, size :: String, type :: String }
Instances
#Background Source
newtype BackgroundConstructors
Background { color :: String, enabled :: Boolean, includedInExport :: Boolean }