colortest: Remove bold colors, add light ones

This commit is contained in:
Salt 2020-10-08 02:53:40 -05:00
parent 2c3d0f307b
commit d0846d2b5b

View File

@ -40,22 +40,19 @@ done
println
# Content
for (( fg=30; fg <=37; fg++ )); do
for (( bold=0; bold<=1; bold++ )); do
headerstring="${fg}m"
[ "$bold" == "1" ] && headerstring="$bold;$headerstring"
printf "%8s" "$headerstring"
for fg in $(seq 30 1 37) "" $(seq 90 1 97); do
[ -z "$fg" ] && println && continue
headerstring="${fg}m"
printf "%8s$spacer" "$headerstring"
# No background
printc $fg 0
printf "$spacer"
# All backgrounds
for (( bg=40; bg<=47; bg++)); do
printc $fg $bg
printf "$spacer"
# No background
printc $fg 0
printf "$spacer"
# All backgrounds
for (( bg=40; bg<=47; bg++)); do
printc $fg $bg
printf "$spacer"
done
println
done
println
done
println