App::Wubot::Util::Colors - color themes for wubot
version 0.4.2
This module handles translating color names to hex color codes.
You can define your own custom colors in ~/wubot/config/colors.yaml
--- names: pink: 6c003f purple: 440066 blue: 002b66 green: 004a00 yellow: 656500 orange: 804c00 red: 620000 brblue: 004d66 darkblue: 110066
The default colors are based on the solarized color schema. For more info, see:
http://ethanschoonover.com/solarized
For a complete list of colors, check out the source code. =head1 SUBROUTINES/METHODS
if there is a hex code defined in the theme for the specified color name, return that hex code.
If called with a hex color or a color name that is not defined in the theme, just returns the text that was passed in.
To install App::Wubot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Wubot
CPAN shell
perl -MCPAN -e shell install App::Wubot
For more information on module installation, please visit the detailed CPAN module installation guide.