Add section on dimness

This commit is contained in:
The Magician 2023-11-07 12:48:19 +00:00
parent fc883ad9b5
commit 06f94a5ca1
1 changed files with 14 additions and 1 deletions

View File

@ -299,7 +299,20 @@ section_bright_colors() {
section_dim_colors() { section_dim_colors() {
title "Code 2; Dim Color" title "Code 2; Dim Color"
printf "TODO\n" printf "Code 2 is the \"dim color\" attribute.\n"
printf "Like code 1 for boldness/brightness, the actual result of this code varies depending on the terminal emulator used; some display a dimmer version of the selected color, others display the text in a lighter font weight, and others do both.\n"
printf "Below is a listing on the standard eight colors with dimness enabled.\n"
newline
subtitle "A Listing of Dim Colors"
printf "\e[2;30m\\\e[2;30m Dim black\e[0m\n"
printf "\e[2;31m\\\e[2;31m Dim red\e[0m\n"
printf "\e[2;32m\\\e[2;32m Dim green\e[0m\n"
printf "\e[2;33m\\\e[2;33m Dim brown\e[0m\n"
printf "\e[2;34m\\\e[2;34m Dim blue\e[0m\n"
printf "\e[2;35m\\\e[2;35m Dim purple\e[0m\n"
printf "\e[2;36m\\\e[2;36m Dim cyan\e[0m\n"
printf "\e[2;37m\\\e[2;37m Dim grey\e[0m\n"
} }
section_italics() { section_italics() {