svg-icons-0.4.0.2: Svg Icons and more
Safe HaskellSafe-Inferred
LanguageHaskell2010

Core.Style

Synopsis

Documentation

stdDims :: Svg -> Svg Source #

stdDims takes some svg content and wraps it with the <svg> tag, with attributes:

  • viewbox="-1 -1 2 2"
  • height="300px"
  • width="300px"

fillStyle :: Svg -> Svg Source #

Handy shortcut for the following attributes:

  • fill="black"
  • stroke="none"
  • stroke-width="0"

fullStyle :: Svg -> Svg Source #

Handy shortcut for the following attributes:

  • fill="silver"
  • stroke="black"
  • stroke-width="0.03"

strkStyle :: Svg -> Svg Source #

Handy shortcut for the following attributes:

  • fill="none"
  • stroke="black"
  • stroke-width="0.04"