{-# LANGUAGE OverloadedStrings #-}
module Miso.CSS
(
module Miso.CSS.Types
, style_
, styleInline_
, sheet_
, selector_
, renderStyleSheet
, alignContent
, alignItems
, alignSelf
, animationDelay
, animationDirection
, animationDuration
, animationFillMode
, animationIterationCount
, animation
, animationName
, animationPlayState
, animationTimingFunction
, aspectRatio
, backgroundClip
, backgroundColor
, backgroundImage
, background
, backgroundOrigin
, backgroundPosition
, backgroundRepeat
, backgroundSize
, borderBottomColor
, borderBottomLeftRadius
, borderBottom
, borderBottomRightRadius
, borderBottomStyle
, borderBottomWidth
, borderCollapse
, borderColor
, borderEndEndRadius
, borderEndStartRadius
, borderInlineEndColor
, borderInlineEndStyle
, borderInlineEndWidth
, borderInlineStartColor
, borderInlineStartStyle
, borderInlineStartWidth
, borderLeftColor
, borderLeft
, borderLeftStyle
, borderLeftWidth
, border
, borderRadius
, borderRightColor
, borderRight
, borderRightStyle
, borderRightWidth
, borderStartEndRadius
, borderStartStartRadius
, borderStyle
, borderTopColor
, borderTopLeftRadius
, borderTop
, borderTopRightRadius
, borderTopStyle
, borderTopWidth
, borderWidth
, bottom
, boxShadow
, boxSizing
, clipPath
, accentColor
, appearance
, backdropFilter
, caretColor
, color
, columnGap
, cursor
, direction
, display
, fill
, filter
, flexBasis
, flexDirection
, flexFlow
, flexGrow
, flex
, flexShrink
, flexWrap
, fontFamily
, fontSize
, fontStretch
, fontStyle
, fontVariant
, fontWeight
, gap
, gridAutoColumns
, gridAutoFlow
, gridAutoRows
, gridColumn
, gridColumnEnd
, gridColumnSpan
, gridColumnStart
, gridRow
, gridRowEnd
, gridRowSpan
, gridRowStart
, gridTemplateColumns
, gridTemplateRows
, height
, imageRendering
, insetInlineEnd
, insetInlineStart
, justifyContent
, justifyItems
, justifySelf
, left
, letterSpacing
, linearCrossGravity
, linearDirection
, linearGravity
, linearLayoutGravity
, linearWeight
, linearWeightSum
, lineHeight
, marginBottom
, marginInlineEnd
, marginInlineStart
, marginLeft
, margin
, marginRight
, marginTop
, maskImage
, mask
, maxHeight
, maxWidth
, minHeight
, minWidth
, mixBlendMode
, objectFit
, objectPosition
, opacity
, order
, outline
, outlineColor
, outlineOffset
, outlineStyle
, outlineWidth
, overflow
, overflowX
, overflowY
, overscrollBehavior
, paddingBottom
, paddingInlineEnd
, paddingInlineStart
, paddingLeft
, padding
, paddingRight
, paddingTop
, perspective
, pointerEvents
, position
, relativeAlignBottom
, relativeAlignInlineEnd
, relativeAlignInlineStart
, relativeAlignLeft
, relativeAlignRight
, relativeAlignTop
, relativeBottomOf
, relativeCenter
, relativeId
, relativeInlineEndOf
, relativeInlineStartOf
, relativeLayoutOnce
, relativeLeftOf
, relativeRightOf
, relativeTopOf
, resize
, right
, rowGap
, scrollBehavior
, stroke
, strokeWidth
, textAlign
, textDecoration
, textIndent
, textOverflow
, textShadow
, textStrokeColor
, textStroke
, textStrokeWidth
, textTransform
, top
, transform
, transforms
, transformOrigin
, translate
, translateX
, translateY
, translateZ
, translate3d
, rotate
, rotateX
, rotateY
, rotateZ
, rotate3d
, scale
, scaleXY
, scale3d
, scaleX
, scaleY
, scaleZ
, perspectiveFn
, matrix3d
, skew
, skewX
, skewY
, transitionDelay
, transitionDuration
, transition
, transition_
, transitionProperty
, transitionTimingFunction
, cubicBezier
, userSelect
, verticalAlign
, visibility
, whiteSpace
, width
, willChange
, wordBreak
, xAutoFontSize
, xAutoFontSizePresetSizes
, xHandleColor
, xHandleSize
, zIndex
, module Miso.CSS.Color
, px
, ppx
, pct
, pt
, vw
, vh
, deg
, turn
, rad
, rpx
, rem
, em
, s
, ms
, url
, matrix
, keyframes_
, from_
, to_
, at
, media_
, rule_
, screen_
, print_
, all_
, and_
, or_
, not_
, minWidth_
, maxWidth_
, minHeight_
, maxHeight_
, orientation_
, prefersColorScheme_
, prefersReducedMotion_
, hover_
) where
import qualified Data.Map as M
import Miso.String (MisoString)
import qualified Miso.String as MS
import Miso.CSS.Color
import Miso.CSS.Types
import Miso.Property
import Miso.Types (Attribute)
import qualified Miso.Types as MT
import Miso.Util ((=:))
import Prelude hiding (filter, rem)
pt :: Int -> MisoString
pt :: Int -> Text
pt Int
x = Int -> Text
forall str. ToMisoString str => str -> Text
MS.ms Int
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"pt"
px :: Int -> MisoString
px :: Int -> Text
px Int
x = Int -> Text
forall str. ToMisoString str => str -> Text
MS.ms Int
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"px"
deg :: Double -> MisoString
deg :: Double -> Text
deg Double
x = Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"deg"
turn :: Double -> MisoString
turn :: Double -> Text
turn Double
x = Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"turn"
rad :: Double -> MisoString
rad :: Double -> Text
rad Double
x = Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"rad"
rpx :: Double -> MisoString
rpx :: Double -> Text
rpx Double
x = Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"rpx"
rem :: Double -> MisoString
rem :: Double -> Text
rem Double
x = Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"rem"
em :: Double -> MisoString
em :: Double -> Text
em Double
x = Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"em"
vh :: Double -> MisoString
vh :: Double -> Text
vh Double
x = Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"vh"
vw :: Double -> MisoString
vw :: Double -> Text
vw Double
x = Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"vw"
s :: Double -> MisoString
s :: Double -> Text
s Double
x = Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"s"
ms :: Double -> MisoString
ms :: Double -> Text
ms Double
x = Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"ms"
url :: MisoString -> MisoString
url :: Text -> Text
url Text
x = Text
"url(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
matrix
:: Double
-> Double
-> Double
-> Double
-> Double
-> Double
-> MisoString
matrix :: Double -> Double -> Double -> Double -> Double -> Double -> Text
matrix Double
a Double
b Double
c Double
d Double
tx Double
ty = Text
"matrix(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
values Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
where
values :: Text
values =
Text -> [Text] -> Text
MS.intercalate Text
","
[ Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
a
, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
b
, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
c
, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
d
, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
tx
, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
ty
]
pct :: Double -> MisoString
pct :: Double -> Text
pct Double
x = Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"%"
ppx :: Double -> MisoString
ppx :: Double -> Text
ppx Double
x = Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"ppx"
selector_ :: MisoString -> [Style] -> Styles
selector_ :: Text -> [Style] -> Styles
selector_ Text
k [Style]
v = (Text, [Style]) -> Styles
Styles (Text
k,[Style]
v)
sheet_ :: [Styles] -> StyleSheet
sheet_ :: [Styles] -> StyleSheet
sheet_ = [Styles] -> StyleSheet
StyleSheet
style_ :: [Style] -> Attribute model action
style_ :: forall model action. [Style] -> Attribute model action
style_ = Map Text Text -> Attribute model action
forall model action. Map Text Text -> Attribute model action
MT.Styles (Map Text Text -> Attribute model action)
-> ([Style] -> Map Text Text) -> [Style] -> Attribute model action
forall b c a. (b -> c) -> (a -> b) -> a -> c
. [Style] -> Map Text Text
forall k a. Ord k => [(k, a)] -> Map k a
M.fromList
styleInline_ :: MisoString -> Attribute model action
styleInline_ :: forall model action. Text -> Attribute model action
styleInline_ = Text -> Text -> Attribute model action
forall model action. Text -> Text -> Attribute model action
textProp Text
"style"
renderStyles :: Int -> Styles -> MisoString
renderStyles :: Int -> Styles -> Text
renderStyles Int
indent (Styles (Text
sel,[Style]
styles)) = [Text] -> Text
MS.unlines
[ Text
sel Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
" {" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Int -> Text -> Text
MS.replicate Int
indent Text
" "
, Text -> [Text] -> Text
MS.intercalate Text
"\n"
[ [Text] -> Text
forall a. Monoid a => [a] -> a
mconcat
[ Int -> Text -> Text
MS.replicate (Int
indent Int -> Int -> Int
forall a. Num a => a -> a -> a
+ Int
2) Text
" " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
k
, Text
" : "
, Text
v
, Text
";"
]
| (Text
k,Text
v) <- [Style]
styles
]
, Int -> Text -> Text
MS.replicate Int
indent Text
" " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"}"
]
renderStyles Int
indent (KeyFrame Text
name [(Text, [Style])]
frames) = Text -> [Text] -> Text
MS.intercalate Text
" "
[ Text
"@keyframes"
, Text
name
, Text
"{\n"
, Text -> [Text] -> Text
MS.intercalate Text
"\n "
[ Int -> Styles -> Text
renderStyles (Int
indent Int -> Int -> Int
forall a. Num a => a -> a -> a
+ Int
2) ((Text, [Style]) -> Styles
Styles (Text, [Style])
frame)
| (Text, [Style])
frame <- [(Text, [Style])]
frames
]
, Text
"}\n"
]
renderStyles Int
indent (Media Text
name [(Text, [Style])]
frames) = Text -> [Text] -> Text
MS.intercalate Text
" "
[ Text
"@media"
, Text
name
, Text
"{\n"
, Text -> [Text] -> Text
MS.intercalate Text
"\n "
[ Int -> Styles -> Text
renderStyles (Int
indent Int -> Int -> Int
forall a. Num a => a -> a -> a
+ Int
2) ((Text, [Style]) -> Styles
Styles (Text, [Style])
frame)
| (Text, [Style])
frame <- [(Text, [Style])]
frames
]
, Text
"}\n"
]
renderStyleSheet :: StyleSheet -> MisoString
renderStyleSheet :: StyleSheet -> Text
renderStyleSheet StyleSheet
styleSheet = Text -> [Text] -> Text
MS.intercalate Text
"\n"
[ Int -> Styles -> Text
renderStyles Int
0 Styles
styles
| Styles
styles <- StyleSheet -> [Styles]
getStyleSheet StyleSheet
styleSheet
]
keyframes_ :: MisoString -> [KeyframeStop] -> Styles
keyframes_ :: Text -> [KeyframeStop] -> Styles
keyframes_ Text
name [KeyframeStop]
stops = Text -> [(Text, [Style])] -> Styles
KeyFrame Text
name ((KeyframeStop -> (Text, [Style]))
-> [KeyframeStop] -> [(Text, [Style])]
forall a b. (a -> b) -> [a] -> [b]
map KeyframeStop -> (Text, [Style])
getKeyframeStop [KeyframeStop]
stops)
from_ :: [Style] -> KeyframeStop
from_ :: [Style] -> KeyframeStop
from_ [Style]
styles = (Text, [Style]) -> KeyframeStop
KeyframeStop (Text
"from", [Style]
styles)
to_ :: [Style] -> KeyframeStop
to_ :: [Style] -> KeyframeStop
to_ [Style]
styles = (Text, [Style]) -> KeyframeStop
KeyframeStop (Text
"to", [Style]
styles)
at :: MisoString -> [Style] -> KeyframeStop
at :: Text -> [Style] -> KeyframeStop
at Text
stop [Style]
styles = (Text, [Style]) -> KeyframeStop
KeyframeStop (Text
stop, [Style]
styles)
media_ :: MediaQuery -> [MediaRule] -> Styles
media_ :: MediaQuery -> [MediaRule] -> Styles
media_ (MediaQuery Text
q) [MediaRule]
rules = Text -> [(Text, [Style])] -> Styles
Media Text
q ((MediaRule -> (Text, [Style])) -> [MediaRule] -> [(Text, [Style])]
forall a b. (a -> b) -> [a] -> [b]
map MediaRule -> (Text, [Style])
getMediaRule [MediaRule]
rules)
rule_ :: MisoString -> [Style] -> MediaRule
rule_ :: Text -> [Style] -> MediaRule
rule_ Text
sel [Style]
styles = (Text, [Style]) -> MediaRule
MediaRule (Text
sel, [Style]
styles)
screen_ :: MediaQuery
screen_ :: MediaQuery
screen_ = Text -> MediaQuery
MediaQuery Text
"screen"
print_ :: MediaQuery
print_ :: MediaQuery
print_ = Text -> MediaQuery
MediaQuery Text
"print"
all_ :: MediaQuery
all_ :: MediaQuery
all_ = Text -> MediaQuery
MediaQuery Text
"all"
and_ :: MediaQuery -> MediaQuery -> MediaQuery
and_ :: MediaQuery -> MediaQuery -> MediaQuery
and_ (MediaQuery Text
a) (MediaQuery Text
b) = Text -> MediaQuery
MediaQuery (Text
a Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
" and " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
b)
or_ :: MediaQuery -> MediaQuery -> MediaQuery
or_ :: MediaQuery -> MediaQuery -> MediaQuery
or_ (MediaQuery Text
a) (MediaQuery Text
b) = Text -> MediaQuery
MediaQuery (Text
a Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
", " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
b)
not_ :: MediaQuery -> MediaQuery
not_ :: MediaQuery -> MediaQuery
not_ (MediaQuery Text
q) = Text -> MediaQuery
MediaQuery (Text
"not " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
q)
minWidth_ :: MisoString -> MediaQuery
minWidth_ :: Text -> MediaQuery
minWidth_ Text
x = Text -> MediaQuery
MediaQuery (Text
"(min-width: " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")")
maxWidth_ :: MisoString -> MediaQuery
maxWidth_ :: Text -> MediaQuery
maxWidth_ Text
x = Text -> MediaQuery
MediaQuery (Text
"(max-width: " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")")
minHeight_ :: MisoString -> MediaQuery
minHeight_ :: Text -> MediaQuery
minHeight_ Text
x = Text -> MediaQuery
MediaQuery (Text
"(min-height: " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")")
maxHeight_ :: MisoString -> MediaQuery
maxHeight_ :: Text -> MediaQuery
maxHeight_ Text
x = Text -> MediaQuery
MediaQuery (Text
"(max-height: " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")")
orientation_ :: MisoString -> MediaQuery
orientation_ :: Text -> MediaQuery
orientation_ Text
x = Text -> MediaQuery
MediaQuery (Text
"(orientation: " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")")
prefersColorScheme_ :: MisoString -> MediaQuery
prefersColorScheme_ :: Text -> MediaQuery
prefersColorScheme_ Text
x = Text -> MediaQuery
MediaQuery (Text
"(prefers-color-scheme: " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")")
prefersReducedMotion_ :: MisoString -> MediaQuery
prefersReducedMotion_ :: Text -> MediaQuery
prefersReducedMotion_ Text
x = Text -> MediaQuery
MediaQuery (Text
"(prefers-reduced-motion: " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")")
hover_ :: MisoString -> MediaQuery
hover_ :: Text -> MediaQuery
hover_ Text
x = Text -> MediaQuery
MediaQuery (Text
"(hover: " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")")
alignContent :: MisoString -> Style
alignContent :: Text -> Style
alignContent Text
x = Text
"align-content" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
alignItems :: MisoString -> Style
alignItems :: Text -> Style
alignItems Text
x = Text
"align-items" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
alignSelf :: MisoString -> Style
alignSelf :: Text -> Style
alignSelf Text
x = Text
"align-self" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
animationDelay :: MisoString -> Style
animationDelay :: Text -> Style
animationDelay Text
x = Text
"animation-delay" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
animationDirection :: MisoString -> Style
animationDirection :: Text -> Style
animationDirection Text
x = Text
"animation-direction" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
animationDuration :: MisoString -> Style
animationDuration :: Text -> Style
animationDuration Text
x = Text
"animation-duration" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
animationFillMode :: MisoString -> Style
animationFillMode :: Text -> Style
animationFillMode Text
x = Text
"animation-fill-mode" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
animationIterationCount :: MisoString -> Style
animationIterationCount :: Text -> Style
animationIterationCount Text
x = Text
"animation-iteration-count" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
animation :: MisoString -> Style
animation :: Text -> Style
animation Text
x = Text
"animation" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
animationName :: MisoString -> Style
animationName :: Text -> Style
animationName Text
x = Text
"animation-name" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
animationPlayState :: MisoString -> Style
animationPlayState :: Text -> Style
animationPlayState Text
x = Text
"animation-play-state" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
animationTimingFunction :: MisoString -> Style
animationTimingFunction :: Text -> Style
animationTimingFunction Text
x = Text
"animation-timing-function" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
aspectRatio :: MisoString -> Style
aspectRatio :: Text -> Style
aspectRatio Text
x = Text
"aspect-ratio" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
backgroundClip :: MisoString -> Style
backgroundClip :: Text -> Style
backgroundClip Text
x = Text
"background-clip" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
backgroundColor :: Color -> Style
backgroundColor :: Color -> Style
backgroundColor Color
x = Text
"background-color" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
backgroundImage :: MisoString -> Style
backgroundImage :: Text -> Style
backgroundImage Text
x = Text
"background-image" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
background :: MisoString -> Style
background :: Text -> Style
background Text
x = Text
"background" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
backgroundOrigin :: MisoString -> Style
backgroundOrigin :: Text -> Style
backgroundOrigin Text
x = Text
"background-origin" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
backgroundPosition :: MisoString -> Style
backgroundPosition :: Text -> Style
backgroundPosition Text
x = Text
"background-position" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
backgroundRepeat :: MisoString -> Style
backgroundRepeat :: Text -> Style
backgroundRepeat Text
x = Text
"background-repeat" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
backgroundSize :: MisoString -> Style
backgroundSize :: Text -> Style
backgroundSize Text
x = Text
"background-size" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderBottomColor :: Color -> Style
borderBottomColor :: Color -> Style
borderBottomColor Color
x = Text
"border-bottom-color" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
borderBottomLeftRadius :: MisoString -> Style
borderBottomLeftRadius :: Text -> Style
borderBottomLeftRadius Text
x = Text
"border-bottom-left-radius" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderBottom :: MisoString -> Style
borderBottom :: Text -> Style
borderBottom Text
x = Text
"border-bottom" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderBottomRightRadius :: MisoString -> Style
borderBottomRightRadius :: Text -> Style
borderBottomRightRadius Text
x = Text
"border-bottom-right-radius" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderBottomStyle :: MisoString -> Style
borderBottomStyle :: Text -> Style
borderBottomStyle Text
x = Text
"border-bottom-style" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderBottomWidth :: MisoString -> Style
borderBottomWidth :: Text -> Style
borderBottomWidth Text
x = Text
"border-bottom-width" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderCollapse :: MisoString -> Style
borderCollapse :: Text -> Style
borderCollapse Text
x = Text
"border-collapse" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderColor :: Color -> Style
borderColor :: Color -> Style
borderColor Color
x = Text
"border-color" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
borderEndEndRadius :: MisoString -> Style
borderEndEndRadius :: Text -> Style
borderEndEndRadius Text
x = Text
"border-end-end-radius" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderEndStartRadius :: MisoString -> Style
borderEndStartRadius :: Text -> Style
borderEndStartRadius Text
x = Text
"border-end-start-radius" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderInlineEndColor :: Color -> Style
borderInlineEndColor :: Color -> Style
borderInlineEndColor Color
x = Text
"border-inline-end-color" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
borderInlineEndStyle :: MisoString -> Style
borderInlineEndStyle :: Text -> Style
borderInlineEndStyle Text
x = Text
"border-inline-end-style" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderInlineEndWidth :: MisoString -> Style
borderInlineEndWidth :: Text -> Style
borderInlineEndWidth Text
x = Text
"border-inline-end-width" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderInlineStartColor :: Color -> Style
borderInlineStartColor :: Color -> Style
borderInlineStartColor Color
x = Text
"border-inline-start-color" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
borderInlineStartStyle :: MisoString -> Style
borderInlineStartStyle :: Text -> Style
borderInlineStartStyle Text
x = Text
"border-inline-start-style" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderInlineStartWidth :: MisoString -> Style
borderInlineStartWidth :: Text -> Style
borderInlineStartWidth Text
x = Text
"border-inline-start-width" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderLeftColor :: Color -> Style
borderLeftColor :: Color -> Style
borderLeftColor Color
x = Text
"border-left-color" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
borderLeft :: MisoString -> Style
borderLeft :: Text -> Style
borderLeft Text
x = Text
"border-left" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderLeftStyle :: MisoString -> Style
borderLeftStyle :: Text -> Style
borderLeftStyle Text
x = Text
"border-left-style" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderLeftWidth :: MisoString -> Style
borderLeftWidth :: Text -> Style
borderLeftWidth Text
x = Text
"border-left-width" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
border :: MisoString -> Style
border :: Text -> Style
border Text
x = Text
"border" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderRadius :: MisoString -> Style
borderRadius :: Text -> Style
borderRadius Text
x = Text
"border-radius" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderRightColor :: Color -> Style
borderRightColor :: Color -> Style
borderRightColor Color
x = Text
"border-right-color" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
borderRight :: MisoString -> Style
borderRight :: Text -> Style
borderRight Text
x = Text
"border-right" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderRightStyle :: MisoString -> Style
borderRightStyle :: Text -> Style
borderRightStyle Text
x = Text
"border-right-style" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderRightWidth :: MisoString -> Style
borderRightWidth :: Text -> Style
borderRightWidth Text
x = Text
"border-right-width" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderStartEndRadius :: MisoString -> Style
borderStartEndRadius :: Text -> Style
borderStartEndRadius Text
x = Text
"border-start-end-radius" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderStartStartRadius :: MisoString -> Style
borderStartStartRadius :: Text -> Style
borderStartStartRadius Text
x = Text
"border-start-start-radius" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderStyle :: MisoString -> Style
borderStyle :: Text -> Style
borderStyle Text
x = Text
"border-style" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderTopColor :: Color -> Style
borderTopColor :: Color -> Style
borderTopColor Color
x = Text
"border-top-color" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
borderTopLeftRadius :: MisoString -> Style
borderTopLeftRadius :: Text -> Style
borderTopLeftRadius Text
x = Text
"border-top-left-radius" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderTop :: MisoString -> Style
borderTop :: Text -> Style
borderTop Text
x = Text
"border-top" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderTopRightRadius :: MisoString -> Style
borderTopRightRadius :: Text -> Style
borderTopRightRadius Text
x = Text
"border-top-right-radius" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderTopStyle :: MisoString -> Style
borderTopStyle :: Text -> Style
borderTopStyle Text
x = Text
"border-top-style" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderTopWidth :: MisoString -> Style
borderTopWidth :: Text -> Style
borderTopWidth Text
x = Text
"border-top-width" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
borderWidth :: MisoString -> Style
borderWidth :: Text -> Style
borderWidth Text
x = Text
"border-width" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
bottom :: MisoString -> Style
bottom :: Text -> Style
bottom Text
x = Text
"bottom" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
boxShadow :: MisoString -> Style
boxShadow :: Text -> Style
boxShadow Text
x = Text
"box-shadow" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
boxSizing :: MisoString -> Style
boxSizing :: Text -> Style
boxSizing Text
x = Text
"box-sizing" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
clipPath :: MisoString -> Style
clipPath :: Text -> Style
clipPath Text
x = Text
"clip-path" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
accentColor :: Color -> Style
accentColor :: Color -> Style
accentColor Color
x = Text
"accent-color" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
appearance :: MisoString -> Style
appearance :: Text -> Style
appearance Text
x = Text
"appearance" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
backdropFilter :: MisoString -> Style
backdropFilter :: Text -> Style
backdropFilter Text
x = Text
"backdrop-filter" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
caretColor :: Color -> Style
caretColor :: Color -> Style
caretColor Color
x = Text
"caret-color" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
color :: Color -> Style
color :: Color -> Style
color Color
x = Text
"color" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
columnGap :: MisoString -> Style
columnGap :: Text -> Style
columnGap Text
x = Text
"column-gap" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
direction :: MisoString -> Style
direction :: Text -> Style
direction Text
x = Text
"direction" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
display :: MisoString -> Style
display :: Text -> Style
display Text
x = Text
"display" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
fill :: Color -> Style
fill :: Color -> Style
fill Color
x = Text
"fill" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
filter :: MisoString -> Style
filter :: Text -> Style
filter Text
x = Text
"filter" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
flexBasis :: MisoString -> Style
flexBasis :: Text -> Style
flexBasis Text
x = Text
"flex-basis" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
flexDirection :: MisoString -> Style
flexDirection :: Text -> Style
flexDirection Text
x = Text
"flex-direction" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
flexFlow :: MisoString -> Style
flexFlow :: Text -> Style
flexFlow Text
x = Text
"flex-flow" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
flexGrow :: Double -> Style
flexGrow :: Double -> Style
flexGrow Double
x = Text
"flex-grow" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x
flex :: MisoString -> Style
flex :: Text -> Style
flex Text
x = Text
"flex" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
flexShrink :: Double -> Style
flexShrink :: Double -> Style
flexShrink Double
x = Text
"flex-shrink" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x
flexWrap :: MisoString -> Style
flexWrap :: Text -> Style
flexWrap Text
x = Text
"flex-wrap" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
fontFamily :: MisoString -> Style
fontFamily :: Text -> Style
fontFamily Text
x = Text
"font-family" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
fontSize :: MisoString -> Style
fontSize :: Text -> Style
fontSize Text
x = Text
"font-size" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
fontStretch :: MisoString -> Style
fontStretch :: Text -> Style
fontStretch Text
x = Text
"font-stretch" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
fontStyle :: MisoString -> Style
fontStyle :: Text -> Style
fontStyle Text
x = Text
"font-style" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
fontVariant :: MisoString -> Style
fontVariant :: Text -> Style
fontVariant Text
x = Text
"font-variant" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
fontWeight :: MisoString -> Style
fontWeight :: Text -> Style
fontWeight Text
x = Text
"font-weight" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
cursor :: MisoString -> Style
cursor :: Text -> Style
cursor Text
x = Text
"cursor" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
gap :: MisoString -> Style
gap :: Text -> Style
gap Text
x = Text
"gap" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
gridAutoColumns :: MisoString -> Style
gridAutoColumns :: Text -> Style
gridAutoColumns Text
x = Text
"grid-auto-columns" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
gridAutoFlow :: MisoString -> Style
gridAutoFlow :: Text -> Style
gridAutoFlow Text
x = Text
"grid-auto-flow" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
gridAutoRows :: MisoString -> Style
gridAutoRows :: Text -> Style
gridAutoRows Text
x = Text
"grid-auto-rows" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
gridColumn :: MisoString -> Style
gridColumn :: Text -> Style
gridColumn Text
x = Text
"grid-column" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
gridColumnEnd :: MisoString -> Style
gridColumnEnd :: Text -> Style
gridColumnEnd Text
x = Text
"grid-column-end" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
gridColumnSpan :: MisoString -> Style
gridColumnSpan :: Text -> Style
gridColumnSpan Text
x = Text
"grid-column-span" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
gridColumnStart :: MisoString -> Style
gridColumnStart :: Text -> Style
gridColumnStart Text
x = Text
"grid-column-start" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
gridRow :: MisoString -> Style
gridRow :: Text -> Style
gridRow Text
x = Text
"grid-row" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
gridRowEnd :: MisoString -> Style
gridRowEnd :: Text -> Style
gridRowEnd Text
x = Text
"grid-row-end" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
gridRowSpan :: MisoString -> Style
gridRowSpan :: Text -> Style
gridRowSpan Text
x = Text
"grid-row-span" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
gridRowStart :: MisoString -> Style
gridRowStart :: Text -> Style
gridRowStart Text
x = Text
"grid-row-start" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
gridTemplateColumns :: MisoString -> Style
gridTemplateColumns :: Text -> Style
gridTemplateColumns Text
x = Text
"grid-template-columns" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
gridTemplateRows :: MisoString -> Style
gridTemplateRows :: Text -> Style
gridTemplateRows Text
x = Text
"grid-template-rows" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
height :: MisoString -> Style
height :: Text -> Style
height Text
x = Text
"height" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
imageRendering :: MisoString -> Style
imageRendering :: Text -> Style
imageRendering Text
x = Text
"image-rendering" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
insetInlineEnd :: MisoString -> Style
insetInlineEnd :: Text -> Style
insetInlineEnd Text
x = Text
"inset-inline-end" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
insetInlineStart :: MisoString -> Style
insetInlineStart :: Text -> Style
insetInlineStart Text
x = Text
"inset-inline-start" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
justifyContent :: MisoString -> Style
justifyContent :: Text -> Style
justifyContent Text
x = Text
"justify-content" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
justifyItems :: MisoString -> Style
justifyItems :: Text -> Style
justifyItems Text
x = Text
"justify-items" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
justifySelf :: MisoString -> Style
justifySelf :: Text -> Style
justifySelf Text
x = Text
"justify-self" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
left :: MisoString -> Style
left :: Text -> Style
left Text
x = Text
"left" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
letterSpacing :: MisoString -> Style
letterSpacing :: Text -> Style
letterSpacing Text
x = Text
"letter-spacing" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
linearCrossGravity :: MisoString -> Style
linearCrossGravity :: Text -> Style
linearCrossGravity Text
x = Text
"linear-cross-gravity" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
linearDirection :: MisoString -> Style
linearDirection :: Text -> Style
linearDirection Text
x = Text
"linear-direction" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
linearGravity :: MisoString -> Style
linearGravity :: Text -> Style
linearGravity Text
x = Text
"linear-gravity" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
linearLayoutGravity :: MisoString -> Style
linearLayoutGravity :: Text -> Style
linearLayoutGravity Text
x = Text
"linear-layout-gravity" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
linearWeight :: MisoString -> Style
linearWeight :: Text -> Style
linearWeight Text
x = Text
"linear-weight" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
linearWeightSum :: MisoString -> Style
linearWeightSum :: Text -> Style
linearWeightSum Text
x = Text
"linear-weight-sum" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
lineHeight :: MisoString -> Style
lineHeight :: Text -> Style
lineHeight Text
x = Text
"line-height" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
marginBottom :: MisoString -> Style
marginBottom :: Text -> Style
marginBottom Text
x = Text
"margin-bottom" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
marginInlineEnd :: MisoString -> Style
marginInlineEnd :: Text -> Style
marginInlineEnd Text
x = Text
"margin-inline-end" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
marginInlineStart :: MisoString -> Style
marginInlineStart :: Text -> Style
marginInlineStart Text
x = Text
"margin-inline-start" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
marginLeft :: MisoString -> Style
marginLeft :: Text -> Style
marginLeft Text
x = Text
"margin-left" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
margin :: MisoString -> Style
margin :: Text -> Style
margin Text
x = Text
"margin" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
marginRight :: MisoString -> Style
marginRight :: Text -> Style
marginRight Text
x = Text
"margin-right" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
marginTop :: MisoString -> Style
marginTop :: Text -> Style
marginTop Text
x = Text
"margin-top" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
maskImage :: MisoString -> Style
maskImage :: Text -> Style
maskImage Text
x = Text
"mask-image" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
mask :: MisoString -> Style
mask :: Text -> Style
mask Text
x = Text
"mask" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
maxHeight :: MisoString -> Style
maxHeight :: Text -> Style
maxHeight Text
x = Text
"max-height" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
maxWidth :: MisoString -> Style
maxWidth :: Text -> Style
maxWidth Text
x = Text
"max-width" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
minHeight :: MisoString -> Style
minHeight :: Text -> Style
minHeight Text
x = Text
"min-height" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
minWidth :: MisoString -> Style
minWidth :: Text -> Style
minWidth Text
x = Text
"min-width" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
mixBlendMode :: MisoString -> Style
mixBlendMode :: Text -> Style
mixBlendMode Text
x = Text
"mix-blend-mode" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
objectFit :: MisoString -> Style
objectFit :: Text -> Style
objectFit Text
x = Text
"object-fit" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
objectPosition :: MisoString -> Style
objectPosition :: Text -> Style
objectPosition Text
x = Text
"object-position" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
opacity :: Double -> Style
opacity :: Double -> Style
opacity Double
x = Text
"opacity" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x
order :: Int -> Style
order :: Int -> Style
order Int
x = Text
"order" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Int -> Text
forall str. ToMisoString str => str -> Text
MS.ms Int
x
outline :: MisoString -> Style
outline :: Text -> Style
outline Text
x = Text
"outline" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
outlineColor :: Color -> Style
outlineColor :: Color -> Style
outlineColor Color
x = Text
"outline-color" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
outlineOffset :: MisoString -> Style
outlineOffset :: Text -> Style
outlineOffset Text
x = Text
"outline-offset" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
outlineStyle :: MisoString -> Style
outlineStyle :: Text -> Style
outlineStyle Text
x = Text
"outline-style" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
outlineWidth :: MisoString -> Style
outlineWidth :: Text -> Style
outlineWidth Text
x = Text
"outline-width" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
overflow :: MisoString -> Style
overflow :: Text -> Style
overflow Text
x = Text
"overflow" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
overflowX :: MisoString -> Style
overflowX :: Text -> Style
overflowX Text
x = Text
"overflow-x" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
overflowY :: MisoString -> Style
overflowY :: Text -> Style
overflowY Text
x = Text
"overflow-y" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
overscrollBehavior :: MisoString -> Style
overscrollBehavior :: Text -> Style
overscrollBehavior Text
x = Text
"overscroll-behavior" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
paddingBottom :: MisoString -> Style
paddingBottom :: Text -> Style
paddingBottom Text
x = Text
"padding-bottom" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
paddingInlineEnd :: MisoString -> Style
paddingInlineEnd :: Text -> Style
paddingInlineEnd Text
x = Text
"padding-inline-end" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
paddingInlineStart :: MisoString -> Style
paddingInlineStart :: Text -> Style
paddingInlineStart Text
x = Text
"padding-inline-start" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
paddingLeft :: MisoString -> Style
paddingLeft :: Text -> Style
paddingLeft Text
x = Text
"padding-left" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
padding :: MisoString -> Style
padding :: Text -> Style
padding Text
x = Text
"padding" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
paddingRight :: MisoString -> Style
paddingRight :: Text -> Style
paddingRight Text
x = Text
"padding-right" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
paddingTop :: MisoString -> Style
paddingTop :: Text -> Style
paddingTop Text
x = Text
"padding-top" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
perspective :: MisoString -> Style
perspective :: Text -> Style
perspective Text
x = Text
"perspective" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
pointerEvents :: MisoString -> Style
pointerEvents :: Text -> Style
pointerEvents Text
x = Text
"pointer-events" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
position :: MisoString -> Style
position :: Text -> Style
position Text
x = Text
"position" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeAlignBottom :: MisoString -> Style
relativeAlignBottom :: Text -> Style
relativeAlignBottom Text
x = Text
"relative-align-bottom" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeAlignInlineEnd :: MisoString -> Style
relativeAlignInlineEnd :: Text -> Style
relativeAlignInlineEnd Text
x = Text
"relative-align-inline-end" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeAlignInlineStart :: MisoString -> Style
relativeAlignInlineStart :: Text -> Style
relativeAlignInlineStart Text
x = Text
"relative-align-inline-start" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeAlignLeft :: MisoString -> Style
relativeAlignLeft :: Text -> Style
relativeAlignLeft Text
x = Text
"relative-align-left" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeAlignRight :: MisoString -> Style
relativeAlignRight :: Text -> Style
relativeAlignRight Text
x = Text
"relative-align-right" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeAlignTop :: MisoString -> Style
relativeAlignTop :: Text -> Style
relativeAlignTop Text
x = Text
"relative-align-top" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeBottomOf :: MisoString -> Style
relativeBottomOf :: Text -> Style
relativeBottomOf Text
x = Text
"relative-bottom-of" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeCenter :: MisoString -> Style
relativeCenter :: Text -> Style
relativeCenter Text
x = Text
"relative-center" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeId :: MisoString -> Style
relativeId :: Text -> Style
relativeId Text
x = Text
"relative-id" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeInlineEndOf :: MisoString -> Style
relativeInlineEndOf :: Text -> Style
relativeInlineEndOf Text
x = Text
"relative-inline-end-of" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeInlineStartOf :: MisoString -> Style
relativeInlineStartOf :: Text -> Style
relativeInlineStartOf Text
x = Text
"relative-inline-start-of" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeLayoutOnce :: MisoString -> Style
relativeLayoutOnce :: Text -> Style
relativeLayoutOnce Text
x = Text
"relative-layout-once" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeLeftOf :: MisoString -> Style
relativeLeftOf :: Text -> Style
relativeLeftOf Text
x = Text
"relative-left-of" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeRightOf :: MisoString -> Style
relativeRightOf :: Text -> Style
relativeRightOf Text
x = Text
"relative-right-of" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
relativeTopOf :: MisoString -> Style
relativeTopOf :: Text -> Style
relativeTopOf Text
x = Text
"relative-top-of" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
resize :: MisoString -> Style
resize :: Text -> Style
resize Text
x = Text
"resize" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
right :: MisoString -> Style
right :: Text -> Style
right Text
x = Text
"right" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
rowGap :: MisoString -> Style
rowGap :: Text -> Style
rowGap Text
x = Text
"row-gap" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
scrollBehavior :: MisoString -> Style
scrollBehavior :: Text -> Style
scrollBehavior Text
x = Text
"scroll-behavior" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
stroke :: Color -> Style
stroke :: Color -> Style
stroke Color
x = Text
"stroke" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
strokeWidth :: MisoString -> Style
strokeWidth :: Text -> Style
strokeWidth Text
x = Text
"stroke-width" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
textAlign :: MisoString -> Style
textAlign :: Text -> Style
textAlign Text
x = Text
"text-align" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
textDecoration :: MisoString -> Style
textDecoration :: Text -> Style
textDecoration Text
x = Text
"text-decoration" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
textIndent :: MisoString -> Style
textIndent :: Text -> Style
textIndent Text
x = Text
"text-indent" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
textOverflow :: MisoString -> Style
textOverflow :: Text -> Style
textOverflow Text
x = Text
"text-overflow" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
textShadow :: MisoString -> Style
textShadow :: Text -> Style
textShadow Text
x = Text
"text-shadow" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
textStrokeColor :: Color -> Style
textStrokeColor :: Color -> Style
textStrokeColor Color
x = Text
"text-stroke-color" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
textStroke :: MisoString -> Style
textStroke :: Text -> Style
textStroke Text
x = Text
"text-stroke" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
textStrokeWidth :: MisoString -> Style
textStrokeWidth :: Text -> Style
textStrokeWidth Text
x = Text
"text-stroke-width" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
textTransform :: MisoString -> Style
textTransform :: Text -> Style
textTransform Text
x = Text
"text-transform" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
top :: MisoString -> Style
top :: Text -> Style
top Text
x = Text
"top" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
transform :: MisoString -> Style
transform :: Text -> Style
transform Text
x = Text
"transform" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
transforms :: [TransformFn] -> Style
transforms :: [TransformFn] -> Style
transforms [TransformFn]
fns = Text
"transform" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text -> [Text] -> Text
MS.intercalate Text
" " ((TransformFn -> Text) -> [TransformFn] -> [Text]
forall a b. (a -> b) -> [a] -> [b]
map TransformFn -> Text
renderTransformFn [TransformFn]
fns)
transformOrigin :: MisoString -> Style
transformOrigin :: Text -> Style
transformOrigin Text
x = Text
"transform-origin" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
translate :: MisoString -> MisoString -> TransformFn
translate :: Text -> Text -> TransformFn
translate Text
x Text
y = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"translate(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"," Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
y Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
translateX :: MisoString -> TransformFn
translateX :: Text -> TransformFn
translateX Text
x = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"translateX(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
translateY :: MisoString -> TransformFn
translateY :: Text -> TransformFn
translateY Text
y = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"translateY(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
y Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
translateZ :: MisoString -> TransformFn
translateZ :: Text -> TransformFn
translateZ Text
z = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"translateZ(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
z Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
translate3d :: MisoString -> MisoString -> MisoString -> TransformFn
translate3d :: Text -> Text -> Text -> TransformFn
translate3d Text
x Text
y Text
z = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"translate3d(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text -> [Text] -> Text
MS.intercalate Text
"," [Text
x, Text
y, Text
z] Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
rotate :: MisoString -> TransformFn
rotate :: Text -> TransformFn
rotate Text
a = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"rotate(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
a Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
rotateX :: MisoString -> TransformFn
rotateX :: Text -> TransformFn
rotateX Text
a = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"rotateX(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
a Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
rotateY :: MisoString -> TransformFn
rotateY :: Text -> TransformFn
rotateY Text
a = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"rotateY(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
a Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
rotateZ :: MisoString -> TransformFn
rotateZ :: Text -> TransformFn
rotateZ Text
a = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"rotateZ(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
a Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
rotate3d :: Double -> Double -> Double -> MisoString -> TransformFn
rotate3d :: Double -> Double -> Double -> Text -> TransformFn
rotate3d Double
x Double
y Double
z Text
a = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"rotate3d(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text -> [Text] -> Text
MS.intercalate Text
"," [Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
y, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
z, Text
a] Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
scale :: Double -> TransformFn
scale :: Double -> TransformFn
scale Double
n = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"scale(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
n Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
scaleXY :: Double -> Double -> TransformFn
scaleXY :: Double -> Double -> TransformFn
scaleXY Double
x Double
y = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"scale(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"," Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
y Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
scale3d :: Double -> Double -> Double -> TransformFn
scale3d :: Double -> Double -> Double -> TransformFn
scale3d Double
x Double
y Double
z = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"scale3d(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text -> [Text] -> Text
MS.intercalate Text
"," [Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
x, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
y, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
z] Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
scaleX :: Double -> TransformFn
scaleX :: Double -> TransformFn
scaleX Double
n = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"scaleX(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
n Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
scaleY :: Double -> TransformFn
scaleY :: Double -> TransformFn
scaleY Double
n = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"scaleY(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
n Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
scaleZ :: Double -> TransformFn
scaleZ :: Double -> TransformFn
scaleZ Double
n = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"scaleZ(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
n Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
perspectiveFn :: MisoString -> TransformFn
perspectiveFn :: Text -> TransformFn
perspectiveFn Text
d = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"perspective(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
d Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
matrix3d
:: (Double, Double, Double, Double)
-> (Double, Double, Double, Double)
-> (Double, Double, Double, Double)
-> (Double, Double, Double, Double)
-> TransformFn
matrix3d :: (Double, Double, Double, Double)
-> (Double, Double, Double, Double)
-> (Double, Double, Double, Double)
-> (Double, Double, Double, Double)
-> TransformFn
matrix3d (Double
a1,Double
b1,Double
c1,Double
d1) (Double
a2,Double
b2,Double
c2,Double
d2) (Double
a3,Double
b3,Double
c3,Double
d3) (Double
a4,Double
b4,Double
c4,Double
d4) =
Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"matrix3d(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
values Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
where
values :: Text
values = Text -> [Text] -> Text
MS.intercalate Text
","
[ Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
a1, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
b1, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
c1, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
d1
, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
a2, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
b2, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
c2, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
d2
, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
a3, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
b3, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
c3, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
d3
, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
a4, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
b4, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
c4, Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms Double
d4
]
skew :: MisoString -> MisoString -> TransformFn
skew :: Text -> Text -> TransformFn
skew Text
x Text
y = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"skew(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
x Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
"," Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
y Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
skewX :: MisoString -> TransformFn
skewX :: Text -> TransformFn
skewX Text
a = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"skewX(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
a Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
skewY :: MisoString -> TransformFn
skewY :: Text -> TransformFn
skewY Text
a = Text -> TransformFn
TransformFn (Text -> TransformFn) -> Text -> TransformFn
forall a b. (a -> b) -> a -> b
$ Text
"skewY(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
a Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
transitionDelay :: MisoString -> Style
transitionDelay :: Text -> Style
transitionDelay Text
x = Text
"transition-delay" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
transitionDuration :: MisoString -> Style
transitionDuration :: Text -> Style
transitionDuration Text
x = Text
"transition-duration" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
transition :: MisoString -> Style
transition :: Text -> Style
transition Text
x = Text
"transition" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
transition_ :: MisoString -> MisoString -> MisoString -> Style
transition_ :: Text -> Text -> Text -> Style
transition_ Text
property Text
duration Text
timing =
Text
"transition" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: (Text
property Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
" " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
duration Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
" " Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
timing)
transitionProperty :: MisoString -> Style
transitionProperty :: Text -> Style
transitionProperty Text
x = Text
"transition-property" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
transitionTimingFunction :: MisoString -> Style
transitionTimingFunction :: Text -> Style
transitionTimingFunction Text
x = Text
"transition-timing-function" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
cubicBezier :: Double -> Double -> Double -> Double -> MisoString
cubicBezier :: Double -> Double -> Double -> Double -> Text
cubicBezier Double
a Double
b Double
c Double
d =
Text
"cubic-bezier(" Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text -> [Text] -> Text
MS.intercalate Text
"," ((Double -> Text) -> [Double] -> [Text]
forall a b. (a -> b) -> [a] -> [b]
map Double -> Text
forall str. ToMisoString str => str -> Text
MS.ms [Double
a, Double
b, Double
c, Double
d]) Text -> Text -> Text
forall a. Semigroup a => a -> a -> a
<> Text
")"
userSelect :: MisoString -> Style
userSelect :: Text -> Style
userSelect Text
x = Text
"user-select" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
verticalAlign :: MisoString -> Style
verticalAlign :: Text -> Style
verticalAlign Text
x = Text
"vertical-align" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
visibility :: MisoString -> Style
visibility :: Text -> Style
visibility Text
x = Text
"visibility" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
whiteSpace :: MisoString -> Style
whiteSpace :: Text -> Style
whiteSpace Text
x = Text
"white-space" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
width :: MisoString -> Style
width :: Text -> Style
width Text
x = Text
"width" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
willChange :: MisoString -> Style
willChange :: Text -> Style
willChange Text
x = Text
"will-change" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
wordBreak :: MisoString -> Style
wordBreak :: Text -> Style
wordBreak Text
x = Text
"word-break" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
xAutoFontSize :: MisoString -> Style
xAutoFontSize :: Text -> Style
xAutoFontSize Text
x = Text
"-x-auto-font-size" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
xAutoFontSizePresetSizes :: MisoString -> Style
xAutoFontSizePresetSizes :: Text -> Style
xAutoFontSizePresetSizes Text
x = Text
"-x-auto-font-size-preset-sizes" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
xHandleColor :: Color -> Style
xHandleColor :: Color -> Style
xHandleColor Color
x = Text
"-x-handle-color" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Color -> Text
renderColor Color
x
xHandleSize :: MisoString -> Style
xHandleSize :: Text -> Style
xHandleSize Text
x = Text
"-x-handle-size" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Text
x
zIndex :: Int -> Style
zIndex :: Int -> Style
zIndex Int
x = Text
"z-index" Text -> Text -> Style
forall k v. k -> v -> (k, v)
=: Int -> Text
forall str. ToMisoString str => str -> Text
MS.ms Int
x