Add section on bold colors
This commit is contained in:
parent
6d99cb9453
commit
ac95852c15
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue