reanimate-1.1.2.0: Animation library based on SVGs.

Safe HaskellNone
LanguageHaskell2010

Reanimate.External

Contents

Synopsis

Documentation

type URL = String Source #

Resource address

type SHA256 = String Source #

Resource hash

zipArchive :: URL -> SHA256 -> FilePath Source #

Download and unpack zip archive. The returned path is the unpacked folder.

tarball :: URL -> SHA256 -> FilePath Source #

Download and unpack tarball. The returned path is the unpacked folder.

External Icon Datasets

simpleIcon :: String -> SVG Source #

Icons from https://simpleicons.org/. Version 3.11.0. License: CC0

let icon = "cplusplus" in mkGroup
[ mkBackgroundPixel (promotePixel $ simpleIconColor icon)
, withFillOpacity 1 $ simpleIcon icon ]

simpleIconColor :: String -> PixelRGB8 Source #

Simple Icons svgs do not contain color. Instead, each icon has an associated color value.

simpleIcons :: [String] Source #

Complete list of all Simple Icons.

:: String -> SVG Source #

Icons from https://svgporn.com/. Version 2018.01. License: CC0

svgLogo "cassandra"

svgLogos :: [String] Source #

Complete list of all SVG Icons.