|Portability||semi-portable (uses MPTC and type families)|
Support for colours. This module is entirely based on the
package, so we strongly recommend that you at least
import qualified Data.Colour.Names as C
which will import various aliases for creating
Note changing the colours using the functions below do not hinder the use of automatic padding.
Set the foreground colour. Note that the foreground
colour is changed only inside the transformed
Printer, unlike using
"^fg" which may affect
So you may write
and it works like you expect it to.
lime (str "lime") +++ str "black")
Reseting to the defaults
Set the foreground colour to be the default one, which is specified as a parameter to dzen (outside the control of the printers).