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

SvgIcons.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="100px"
  • width="100px"

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"