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 #

Methods

badge :: a -> BadgeConfig -> Svg #

Instances
Badge Flat # 
Instance details

Defined in Graphics.Badge.Barrier.Style.Flat

Methods

badge :: Flat -> BadgeConfig -> Svg #

Badge FlatSquare # 
Instance details

Defined in Graphics.Badge.Barrier.Style.FlatSquare

Methods

badge :: FlatSquare -> BadgeConfig -> Svg #

Badge Plastic # 
Instance details

Defined in Graphics.Badge.Barrier.Style.Plastic

Methods

badge :: Plastic -> BadgeConfig -> Svg #

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 #

Methods

left :: Lens' a Color #

class HasRightColor a where #

Methods

right :: Lens' a Color #