svg-icons 0.4.0.1 → 0.4.0.2
raw patch · 2 files changed
+8/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- src/Icons.hs +5/−2
- svg-icons.cabal +3/−3
src/Icons.hs view
@@ -81,7 +81,7 @@ == Composing Icons -As said before, all icons aim to be composable (mix icons in the same svg element). +As said before, all icons aim to be composable (mixing icons in the same svg element). Again, this is achieved by not wrapping them in the @\<svg\>@ tag in their definitions, and leaving the outmost tag of every icon (usually a @path@ or a @g@ element) free of any transform attribute (and free of almost every other attribute too). Even those icons that @@ -93,7 +93,7 @@ (remember that svg transformations are correctly applied from right to left, as it should be because it's just function composition) ->{-# LANGUAGE OverloadedStrings #-} +>\{\-\# LANGUAGE OverloadedStrings \#\-\} > >import Text.Blaze.Svg11 ((!)) >import Text.Blaze.Svg11 as S @@ -181,7 +181,10 @@ >exampleIcons :: [(String , Svg)] >exampleIcons = > [ (,) "iconExample1" iconExample1 +> , (,) "iconExample2" iconExample2 +> , (,) "iconExample3" iconExample3 > ] + -} exampleIcons :: [(String , Svg)] exampleIcons =
svg-icons.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: svg-icons -version: 0.4.0.1 +version: 0.4.0.2 homepage: https://github.com/RamiroPastor/SvgIcons license: BSD-3-Clause license-file: LICENSE @@ -15,8 +15,8 @@ Svg icons made with the blaze-svg package. You can use them in your Haskell project or use the rendering module to get standalone svg files or React (jsx) files. - - Please check module `Icons` for instructions on + . + Please check the module `Icons` for instructions on how to use this package.