From ac95852c15a92f2bf3b18ab6b301a87e0326a893 Mon Sep 17 00:00:00 2001 From: The Magician Date: Mon, 6 Nov 2023 10:51:34 +0000 Subject: [PATCH] Add section on bold colors --- thebookofcolors | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/thebookofcolors b/thebookofcolors index c0b95a3..806088c 100755 --- a/thebookofcolors +++ b/thebookofcolors @@ -125,7 +125,18 @@ section_reset() { section_bold_colors() { title "Code 1; Bold Color" - printf 'TODO\n' + printf "The SGR attribute \`1\` enables \"boldness\".\n" + printf "The result of using this attribute is highly implementation-dependent -- depending on the terminal used, this can either change the color to a \"bright\" version of the standard color, change the font face to bold, or both.\n" + printf "Here is a table of the colors with the boldness attribute enabled, along with their alternate names:\n" + + printf "\e[1;30m\\\e[1;30m Dark grey\e[0m\n" + printf "\e[1;31m\\\e[1;31m Light red\e[0m\n" + printf "\e[1;32m\\\e[1;32m Light green\e[0m\n" + printf "\e[1;33m\\\e[1;33m Yellow\e[0m\n" + printf "\e[1;34m\\\e[1;34m Light blue\e[0m\n" + printf "\e[1;35m\\\e[1;35m Light purple\e[0m\n" + printf "\e[1;36m\\\e[1;36m Light cyan\e[0m\n" + printf "\e[1;37m\\\e[1;37m White\e[0m\n" } section_background_colors() {