Add OneHalfDark theme and script for testing theme
This commit is contained in:
parent
6b378a445a
commit
a83c593a24
4 changed files with 239 additions and 136 deletions
24
ansi-colors.sh
Executable file
24
ansi-colors.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
printf " "
|
||||
for background in $(seq 0 15)
|
||||
do
|
||||
printf " %2d " "${background}"
|
||||
done
|
||||
printf "\n"
|
||||
|
||||
for foreground in $(seq 0 15)
|
||||
do
|
||||
printf "%2d:" "${foreground}"
|
||||
printf "\x1B[38;5;${foreground}m"
|
||||
for background in $(seq 0 15)
|
||||
do
|
||||
printf "\x1B[48;5;${background}m"
|
||||
printf " %2d " "${background}"
|
||||
printf "\x1B[49m"
|
||||
done
|
||||
printf "\x1B[39m"
|
||||
printf "\n"
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue