Copyright | (c) Eric Mertens 2016 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module provides names for all of the colors used in the UI.
Synopsis
- data Palette = Palette {
- _palNicks :: Vector Attr
- _palIdOverride :: HashMap Identifier Attr
- _palSelf :: Attr
- _palSelfHighlight :: Attr
- _palTime :: Attr
- _palMeta :: Attr
- _palSigil :: Attr
- _palLabel :: Attr
- _palLatency :: Attr
- _palWindowName :: Attr
- _palError :: Attr
- _palTextBox :: Attr
- _palActivity :: Attr
- _palMention :: Attr
- _palCommand :: Attr
- _palCommandReady :: Attr
- _palCommandPrefix :: Attr
- _palCommandError :: Attr
- _palCommandPlaceholder :: Attr
- _palWindowDivider :: Attr
- _palLineMarker :: Attr
- _palAway :: Attr
- _palMonospace :: Attr
- _palModes :: Attr
- _palJoin :: Attr
- _palPart :: Attr
- _palUsrChg :: Attr
- _palIgnore :: Attr
- data NetworkPalette = NetworkPalette {}
- palNicks :: Lens' Palette (Vector Attr)
- palSelf :: Lens' Palette Attr
- palSelfHighlight :: Lens' Palette Attr
- palTime :: Lens' Palette Attr
- palMeta :: Lens' Palette Attr
- palSigil :: Lens' Palette Attr
- palLabel :: Lens' Palette Attr
- palLatency :: Lens' Palette Attr
- palWindowName :: Lens' Palette Attr
- palError :: Lens' Palette Attr
- palTextBox :: Lens' Palette Attr
- palActivity :: Lens' Palette Attr
- palMention :: Lens' Palette Attr
- palCommand :: Lens' Palette Attr
- palCommandReady :: Lens' Palette Attr
- palCommandPlaceholder :: Lens' Palette Attr
- palCommandPrefix :: Lens' Palette Attr
- palCommandError :: Lens' Palette Attr
- palWindowDivider :: Lens' Palette Attr
- palLineMarker :: Lens' Palette Attr
- palAway :: Lens' Palette Attr
- palMonospace :: Lens' Palette Attr
- palJoin :: Lens' Palette Attr
- palPart :: Lens' Palette Attr
- palModes :: Lens' Palette Attr
- palUsrChg :: Lens' Palette Attr
- palIgnore :: Lens' Palette Attr
- palCModes :: Lens' NetworkPalette (HashMap Char Attr)
- palUModes :: Lens' NetworkPalette (HashMap Char Attr)
- palSnomask :: Lens' NetworkPalette (HashMap Char Attr)
- palIdOverride :: Lens' Palette (HashMap Identifier Attr)
- paletteMap :: [(Text, ReifiedLens' Palette Attr)]
- unifyNetworkPalette :: NetworkPalette -> NetworkPalette -> NetworkPalette
- defaultPalette :: Palette
- defaultNetworkPalette :: NetworkPalette
Palette type
Color palette used for rendering the client UI
Palette | |
|
data NetworkPalette Source #
NetworkPalette | |
|
Instances
Show NetworkPalette Source # | |
Defined in Client.Image.Palette showsPrec :: Int -> NetworkPalette -> ShowS # show :: NetworkPalette -> String # showList :: [NetworkPalette] -> ShowS # |
Lenses
Lenses (Network)
paletteMap :: [(Text, ReifiedLens' Palette Attr)] Source #
List of palette entry names and lenses for accessing that component of the palette.
unifyNetworkPalette :: NetworkPalette -> NetworkPalette -> NetworkPalette Source #
Combine one NetworkPalette with another.
Defaults
defaultPalette :: Palette Source #
Default UI colors