Ascii: Fix colors on light terminals

This commit is contained in:
Dylan Araps 2016-10-27 08:20:20 +11:00
parent 466e92b2d4
commit b8502a8b44
2 changed files with 23 additions and 21 deletions

View file

@ -1,20 +1,22 @@
"\ "\
${c3}...... ${c2} -\`\`\`\`\`\`\`\`\`\`\`
.'${c1}D${c3}lddddddddddd'. \`-+/------------.\`
.'ddd${c1}XM${c3}xdddddddddddddd. .---:mNo---------------.
.dddddx${c1}MMM0${c3};dddddddddddddd. .-----yMMMy:---------------.
'dddddl${c1}MMMMMN${c3}cddddddddddddddd. \`------oMMMMMm/----------------\`
ddddddc${c1}WMMMMMMW${c3}lddddddddddddddd. .------/MMMMMMMN+----------------.
ddddddc${c1}WMMMMMMMMO${c3}ddoddddddddddddd. .------/NMMMMMMMMm-+/--------------.
.ddddd:${c1}NMMMMMMMMMK${c3}dd${c1}NX${c3}od;c${c1}lxl${c3}dddddd \`------/NMMMMMMMMMN-:mh/-------------\`
dddddc${c1}WMMMMMMMMMMNN${c3}dd${c1}MMXl${c3};d${c1}00xl;${c3}ddd. .-----/NMMMMMMMMMMM:-+MMd//oso/:-----.
ddddl${c1}WMMMMMMMMMMMMM${c3}d;${c1}MMMM0${c3}:dl${c1}XMMXk:${c3}' -----/NMMMMMMMMMMMM+--mMMMh::smMmyo:--
dddo${c1}WMMMMMMMMMMMMMM${c3}dd${c1}MMMMMW${c3}od${c3};${c1}XMMMOd ----+NMMMMMMMMMMMMMo--yMMMMNo-:yMMMMd/.
${c3}.dd${c1}MMMMMMMMMMMMMMMM${c3}d:${c1}MMMMMMM${c3}kd${c1}lMKll .--oMMMMMMMMMMMMMMMy--yMMMMMMh:-yMMMy-\`
${c3}.;dk0${c1}KXNWWMMMMMMMMM${c3}dx${c1}MMMMMMM${c3}Xl;lxK; \`-sMMMMMMMMMMMMMMMMh--dMMMMMMMd:/Ny+y.
${c3} 'dddddddd;:cclodcddxddolloxO0O${c1}d' \`-/+osyhhdmmNNMMMMMm-/MMMMMMMmh+/ohm+
${c1} ckkxxxddddddddxxkOOO000Okdool. .------------:://+-/++++++${c1}oshddys:
${c2}.lddddxxxxxxddddooooooooood -hhhhyyyyyyyyyyyhhhhddddhysssso-
.:oooooooooooooooooooc' \`:ossssssyysssssssssssssssso:\`
.,:looooooooooc;. \`:+ssssssssssssssssssss+-
\`-/+ssssssssssso+/-\`
\`.-----..\`
" "

View file

@ -2471,7 +2471,7 @@ colors() {
;; ;;
"Solus"*) "Solus"*)
setcolors 7 4 0 setcolors 4 7
;; ;;
"Trisquel"* | "NixOS"* | "Zorin"*) "Trisquel"* | "NixOS"* | "Zorin"*)
@ -2549,8 +2549,8 @@ setcolors() {
color() { color() {
case "$1" in case "$1" in
[0-7]) printf "%b%s" "${reset}\033[3${1}m" ;; [0-6]) printf "%b%s" "${reset}\033[3${1}m" ;;
"fg") printf "%b%s" "$reset" ;; 7 | "fg") printf "%b%s" "$reset" ;;
*) printf "%b%s" "\033[38;5;${1}m" ;; *) printf "%b%s" "\033[38;5;${1}m" ;;
esac esac
} }