Module
Style.Declaration.Value
- Package
- purescript-style
- Repository
- paulyoung/purescript-style
#Value Source
type Value = Variant (Auto + Bold + Bolder + Border + BorderColor + BorderStyle + BorderWidth + BorderRadius + BoxShadow + Center + Ch + Cm + Color_ + CurrentColor + Dashed + Dotted + Double + Em + Ex + Groove + Hidden + In + Inherit + Initial + Inset + Invert + Justify + JustifyAll + Large + Larger + Left + Lighter + Margin + Medium + Mm + None + Normal + Number_ + Outline + Outset + Padding + Pc + Pct + Pt + Px + Rem + Ridge + Right + Small + Smaller + Solid + Thick + Thin + Transparent + Unset + Vh + Vmax + Vmin + Vw + XLarge + XSmall + XxLarge + XxSmall + Zero + ())
#CurrentColor Source
type CurrentColor v = (currentColor :: Unit | v)
#_currentColor Source
_currentColor :: SProxy "currentColor"
#currentColor Source
currentColor :: forall v. Variant (CurrentColor v)
#renderCurrentColor Source
renderCurrentColor :: forall v. (Variant v -> String) -> Variant (CurrentColor v) -> String
#JustifyAll Source
type JustifyAll v = (justifyAll :: Unit | v)
#_justifyAll Source
_justifyAll :: SProxy "justifyAll"
#justifyAll Source
justifyAll :: forall v. Variant (JustifyAll v)
#renderJustifyAll Source
renderJustifyAll :: forall v. (Variant v -> String) -> Variant (JustifyAll v) -> String
#Transparent Source
type Transparent v = (transparent :: Unit | v)
#_transparent Source
_transparent :: SProxy "transparent"
#transparent Source
transparent :: forall v. Variant (Transparent v)
#renderTransparent Source
renderTransparent :: forall v. (Variant v -> String) -> Variant (Transparent v) -> String
#BackgroundColorValue Source
type BackgroundColorValue = Variant (BackgroundColorFields ())
#BackgroundColorFields Source
type BackgroundColorFields r = ColorFields + GlobalFields + r
#BorderRadiusValue Source
type BorderRadiusValue = Variant (BorderRadiusFields ())
#BorderRadiusFields Source
type BorderRadiusFields r = GlobalFields + LengthFields + Pct + Zero + r
#BoxShadowValue Source
type BoxShadowValue = Variant (BoxShadowFields ())
#BoxShadowFields Source
type BoxShadowFields r = BoxShadow + GlobalFields + r
#ColorValue Source
type ColorValue = Variant (ColorValueFields ())
#ColorValueFields Source
type ColorValueFields r = ColorFields + GlobalFields + r
#FontSizeValue Source
type FontSizeValue = Variant (FontSizeValueFields ())
#FontSizeValueFields Source
type FontSizeValueFields r = AbsoluteSizeFields + GlobalFields + LengthFields + Pct + RelativeSizeFields + Zero + r
#FontWeightValue Source
type FontWeightValue = Variant (FontWeightValueFields ())
#HeightValue Source
type HeightValue = Variant (HeightValueFields ())
#HeightValueFields Source
type HeightValueFields r = Auto + GlobalFields + LengthFields + Pct + Zero + r
#TextAlignValue Source
type TextAlignValue = Variant (TextAlignValueFields ())
#TextAlignValueFields Source
type TextAlignValueFields r = Center + GlobalFields + Justify + JustifyAll + Left + Right + r
#WidthValue Source
type WidthValue = Variant (WidthValueFields ())
#WidthValueFields Source
type WidthValueFields r = Auto + GlobalFields + LengthFields + Pct + Zero + r
#BorderRep Source
type BorderRep = { color :: BorderColorValue, style :: BorderStyleValue, width :: BorderWidthValue }
#BorderColor Source
type BorderColor v = (borderColor :: BorderColorRep | v)
#BorderColorRep Source
type BorderColorRep = { bottom :: BorderColorValue, left :: BorderColorValue, right :: BorderColorValue, top :: BorderColorValue }
#BorderColorValue Source
type BorderColorValue = Variant (BorderColorFields ())
#BorderColorFields Source
type BorderColorFields r = ColorFields + GlobalFields + r
#_borderColor Source
_borderColor :: SProxy "borderColor"
#borderColor Source
borderColor :: forall v. BorderColorRep -> Variant (BorderColor v)
#renderBorderColorFields Source
renderBorderColorFields :: forall v. (Variant v -> String) -> Variant (BorderColorFields v) -> String
#renderBorderColor Source
renderBorderColor :: forall v. (Variant v -> String) -> Variant (BorderColor v) -> String
#BorderStyle Source
type BorderStyle v = (borderStyle :: BorderStyleRep | v)
#BorderStyleRep Source
type BorderStyleRep = { bottom :: BorderStyleValue, left :: BorderStyleValue, right :: BorderStyleValue, top :: BorderStyleValue }
#BorderStyleValue Source
type BorderStyleValue = Variant (BorderStyleFields ())
#_borderStyle Source
_borderStyle :: SProxy "borderStyle"
#borderStyle Source
borderStyle :: forall v. BorderStyleRep -> Variant (BorderStyle v)
#renderBorderStyleFields Source
renderBorderStyleFields :: forall v. (Variant v -> String) -> Variant (BorderStyleFields v) -> String
#renderBorderStyle Source
renderBorderStyle :: forall v. (Variant v -> String) -> Variant (BorderStyle v) -> String
#BorderWidth Source
type BorderWidth v = (borderWidth :: BorderWidthRep | v)
#BorderWidthRep Source
type BorderWidthRep = { bottom :: BorderWidthValue, left :: BorderWidthValue, right :: BorderWidthValue, top :: BorderWidthValue }
#BorderWidthValue Source
type BorderWidthValue = Variant (BorderWidthFields ())
#BorderWidthFields Source
type BorderWidthFields r = GlobalFields + LengthFields + BorderWidthKeywordFields + Zero + r
#_borderWidth Source
_borderWidth :: SProxy "borderWidth"
#borderWidth Source
borderWidth :: forall v. BorderWidthRep -> Variant (BorderWidth v)
#renderBorderWidthFields Source
renderBorderWidthFields :: forall v. (Variant v -> String) -> Variant (BorderWidthFields v) -> String
#renderBorderWidth Source
renderBorderWidth :: forall v. (Variant v -> String) -> Variant (BorderWidth v) -> String
#BorderRadius Source
type BorderRadius v = (borderRadius :: BorderRadiusRep | v)
#BorderRadiusRep Source
type BorderRadiusRep = { bottomLeft :: BorderRadiusValue, bottomRight :: BorderRadiusValue, topLeft :: BorderRadiusValue, topRight :: BorderRadiusValue }
#_borderRadius Source
_borderRadius :: SProxy "borderRadius"
#borderRadius Source
borderRadius :: forall v. BorderRadiusRep -> Variant (BorderRadius v)
#renderBorderRadiusFields Source
renderBorderRadiusFields :: forall v. (Variant v -> String) -> Variant (BorderRadiusFields v) -> String
#renderBorderRadius Source
renderBorderRadius :: forall v. (Variant v -> String) -> Variant (BorderRadius v) -> String
#BoxShadow Source
type BoxShadow v = (boxShadow :: Array BoxShadowRep | v)
#BoxShadowRep Source
type BoxShadowRep = { blurRadius :: Variant (LengthFields_ ()), color :: Variant (ColorFields ()), inset :: Boolean, offsetX :: Variant (LengthFields_ ()), offsetY :: Variant (LengthFields_ ()), spreadRadius :: Variant (LengthFields_ ()) }
#boxShadow_' Source
boxShadow_' :: Boolean -> Variant (LengthFields_ ()) -> Variant (LengthFields_ ()) -> Variant (LengthFields_ ()) -> Variant (LengthFields_ ()) -> Variant (ColorFields ()) -> BoxShadowRep
#boxShadow_ Source
boxShadow_ :: Boolean -> Variant (LengthFields_ ()) -> Variant (LengthFields_ ()) -> Variant (LengthFields_ ()) -> Variant (LengthFields_ ()) -> Color -> BoxShadowRep
#_boxShadow Source
_boxShadow :: SProxy "boxShadow"
#MarginRep Source
type MarginRep = { bottom :: MarginValue, left :: MarginValue, right :: MarginValue, top :: MarginValue }
#MarginValue Source
type MarginValue = Variant (MarginFields ())
#MarginFields Source
type MarginFields r = Auto + GlobalFields + LengthFields + Pct + Zero + r
#renderMarginFields Source
renderMarginFields :: forall v. (Variant v -> String) -> Variant (MarginFields v) -> String
#Outline Source
type Outline v = (outline :: OutlineRep | v)
#OutlineRep Source
type OutlineRep = { color :: OutlineColorValue, style :: OutlineStyleValue, width :: OutlineWidthValue }
#OutlineColorValue Source
type OutlineColorValue = Variant (OutlineColorFields ())
#OutlineColorFields Source
type OutlineColorFields r = ColorFields + GlobalFields + Invert + r
#renderOutlineColorFields Source
renderOutlineColorFields :: forall v. (Variant v -> String) -> Variant (OutlineColorFields v) -> String
#OutlineStyleValue Source
type OutlineStyleValue = Variant (OutlineStyleFields ())
#renderOutlineStyleFields Source
renderOutlineStyleFields :: forall v. (Variant v -> String) -> Variant (OutlineStyleFields v) -> String
#OutlineWidthValue Source
type OutlineWidthValue = Variant (OutlineWidthFields ())
#OutlineWidthFields Source
type OutlineWidthFields r = GlobalFields + LengthFields + OutlineWidthKeywordFields + Zero + r
#renderOutlineWidthFields Source
renderOutlineWidthFields :: forall v. (Variant v -> String) -> Variant (OutlineWidthFields v) -> String
#Padding Source
type Padding v = (padding :: PaddingRep | v)
#PaddingRep Source
type PaddingRep = { bottom :: PaddingValue, left :: PaddingValue, right :: PaddingValue, top :: PaddingValue }
#PaddingValue Source
type PaddingValue = Variant (PaddingFields ())
#PaddingFields Source
type PaddingFields r = GlobalFields + LengthFields + Pct + Zero + r
#renderPaddingFields Source
renderPaddingFields :: forall v. (Variant v -> String) -> Variant (PaddingFields v) -> String
#renderAbsoluteLengthFields Source
renderAbsoluteLengthFields :: forall v. (Variant v -> String) -> Variant (AbsoluteLengthFields v) -> String
#renderAbsoluteSizeFields Source
renderAbsoluteSizeFields :: forall v. (Variant v -> String) -> Variant (AbsoluteSizeFields v) -> String
#renderBorderWidthKeywordFields Source
renderBorderWidthKeywordFields :: forall v. (Variant v -> String) -> Variant (BorderWidthKeywordFields v) -> String
#ColorFields Source
type ColorFields r = Color_ + CurrentColor + Transparent + r
#renderColorFields Source
renderColorFields :: forall v. (Variant v -> String) -> Variant (ColorFields v) -> String
#renderFontRelativeLengthFields Source
renderFontRelativeLengthFields :: forall v. (Variant v -> String) -> Variant (FontRelativeLengthFields v) -> String
#renderFontWeightKeywordFields Source
renderFontWeightKeywordFields :: forall v. (Variant v -> String) -> Variant (FontWeightKeywordFields v) -> String
#FontWeightKeywordRelativeFields Source
type FontWeightKeywordRelativeFields r = Bolder + Lighter + r
#renderFontWeightKeywordRelativeFields Source
renderFontWeightKeywordRelativeFields :: forall v. (Variant v -> String) -> Variant (FontWeightKeywordRelativeFields v) -> String
#renderGlobalFields Source
renderGlobalFields :: forall v. (Variant v -> String) -> Variant (GlobalFields v) -> String
#renderLengthFields Source
renderLengthFields :: forall v. (Variant v -> String) -> Variant (LengthFields v) -> String
#LengthFields_ Source
type LengthFields_ r = LengthFields + Zero + r
#renderLengthFields_ Source
renderLengthFields_ :: forall v. (Variant v -> String) -> Variant (LengthFields_ v) -> String
#renderOutlineWidthKeyword Source
renderOutlineWidthKeyword :: forall v. (Variant v -> String) -> Variant (OutlineWidthKeywordFields v) -> String
#renderRelativeSizeFields Source
renderRelativeSizeFields :: forall v. (Variant v -> String) -> Variant (RelativeSizeFields v) -> String
#renderViewportPercentageLengthFields Source
renderViewportPercentageLengthFields :: forall v. (Variant v -> String) -> Variant (ViewportPercentageLengthFields v) -> String