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