Copyright | (c) Eric Mertens 2016 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
This module defines the top-level configuration information for the client.
- colorSpec :: ValueSpecs Color
- attrSpec :: ValueSpecs Attr
Documentation
colorSpec :: ValueSpecs Color Source #
Parse a color. Support formats are:
- Number between 0-255
- Name of color
- RGB values of color as a list
attrSpec :: ValueSpecs 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