glirc-2.33.1: Console IRC client

Copyright(c) Eric Mertens 2016
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Client.Configuration.Colors

Description

This module defines the top-level configuration information for the client.

Synopsis

Documentation

colorSpec :: ValueSpec Color Source #

Parse a color. Support formats are:

  • Number between 0-255
  • Name of color
  • RGB values of color as a list

attrSpec :: ValueSpec Attr Source #

Parse a text attribute. This value should be a sections with the fg and/or bg attributes. Otherwise it should be a color entry that will be used for the foreground color. An empty sections value will result in defAttr