barrier-0.1.1: Shields.io style badge generator

Safe HaskellNone
LanguageHaskell2010

Graphics.Badge.Barrier.Internal

Documentation

data BadgeConfig #

Constructors

BadgeConfig 

class Badge a where #

Minimal complete definition

badge

Methods

badge :: a -> BadgeConfig -> Svg #

Instances

makeBadge :: Badge b => b -> Text -> Text -> Svg #

type Lens' s a = forall f. Functor f => (a -> f a) -> s -> f s #

class HasLeftColor a where #

Minimal complete definition

left

Methods

left :: Lens' a Color #

class HasRightColor a where #

Minimal complete definition

right

Methods

right :: Lens' a Color #