From 169f2f520a4a56b462a2e873e06c8f3db59fd723 Mon Sep 17 00:00:00 2001 From: levasseur Date: Mon, 4 Oct 2021 17:14:53 +0200 Subject: [PATCH] dev.md: improve information on color codes --- doc/dev.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/dev.md b/doc/dev.md index ad48c1c..41025af 100644 --- a/doc/dev.md +++ b/doc/dev.md @@ -102,7 +102,7 @@ The first parameter is the header type, having those possible values: - Anything else will be treated as the message and will lose alignment. The second parameter is the message to display. - + ### 3.2. Other functionalities Using that script will declare some easy to remember variables containing Bash color codes: @@ -110,12 +110,14 @@ color codes: - Standard codes depending on your environment: DEFAULTFG, DEFAULTBG, DEFAULTCOL=*${DEFAULTBG}${DEFAULTFG}* - Regular colors: Black, Red, Green, Yellow, Blue, Purple, Cyan, White - - Bold: BBlack, BRed, BGreen, BYellow, BBlue, BPurple, BCyan, BWhite + - Bold (only available in graphical console or some non standard console + fonts): BBlack, BRed, BGreen, BYellow, BBlue, BPurple, BCyan, BWhite - Underline: UBlack, URed, UGreen, UYellow, UBlue, UPurple, UCyan, UWhite - Background: On_Black, On_Red, On_Green, On_Yellow, On_Blue, On_Purple, On_Cyan, On_White - High intensity: IBlack, IRed, IGreen, IYellow, IBlue, IPurple, ICyan, IWhite - - Bold high intensity: BIBlack, BIRed, BIGreen, BIYellow, BIBlue, BIPurple, + - Bold high intensity (only available in graphical console or some non standard + console fonts): BIBlack, BIRed, BIGreen, BIYellow, BIBlue, BIPurple, BICyan, BIWhite - High intensity backgrounds: On_IBlack, On_IRed, On_IGreen, On_IYellow, On_IBlue, On_IPurple, On_ICyan, On_IWhite