svg-icons 3.5.0 → 3.6.0
raw patch · 2 files changed
+49/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ SvgIcons.Icons.Tools: wrench :: Svg
Files
- src/SvgIcons/Icons/Tools.hs +48/−1
- svg-icons.cabal +1/−1
src/SvgIcons/Icons/Tools.hs view
@@ -12,6 +12,7 @@ , lock , key1 , bell + , wrench ) where import Text.Blaze.Svg11 ((!)) @@ -35,6 +36,7 @@ > , (,) "lock" lock > , (,) "key1" key1 > , (,) "bell" bell +> , (,) "wrench" wrench > ] -} svgTools :: [ (String , S.Svg) ] @@ -46,6 +48,7 @@ , (,) "lock" lock , (,) "key1" key1 , (,) "bell" bell + , (,) "wrench" wrench ] @@ -322,4 +325,48 @@ S.z m (-x2) y1 aa r2 r2 0 True False x2 y1 - S.z+ S.z + + + +{- | + + + + + +-} +wrench :: S.Svg +wrench = + S.path + ! A.class_ "HaskellSvgIcons__wrench" + ! A.d dirs + ! A.strokeLinejoin "round" + where + x0 = 0 + x1 = 0.3 + x2 = 0.2 + x3 = (x1 + x2)/2 + y0 = -0.35 + y1 = -0.6 + y2 = -0.95 + y3 = 0 + y4 = 0.7 + r1 = 0.55 + r2 = x3 + r3 = 0.1 + dirs = mkPath $ do + m x0 y0 + l (-x1) y1 + l (-x1) y2 + aa r1 r1 0 False False (-x2) y3 + l (-x3) y4 + aa r2 r2 0 True False x3 y4 + l x2 y3 + aa r1 r1 0 False False x1 y2 + l x1 y1 + S.z + m (x0 - r3) y4 + aa r3 r3 0 True True (x0 - r3) (y4 + 0.0001) + S.z +
svg-icons.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: svg-icons -version: 3.5.0 +version: 3.6.0 homepage: https://github.com/RamiroPastor/SvgIcons license: BSD-3-Clause license-file: LICENSE