Skip to content

Instantly share code, notes, and snippets.

@neverkas
Forked from ymkins/newt_colors.sh
Created April 26, 2023 19:02
Show Gist options
  • Save neverkas/65b85fac1af0cc7d5bd5a9de3130b4a2 to your computer and use it in GitHub Desktop.
Save neverkas/65b85fac1af0cc7d5bd5a9de3130b4a2 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
## Set newt color palette for dialogs
NEWT_COLORS_0='
root=,blue
'
NEWT_COLORS_1='
root=,blue
checkbox=,blue
entry=,blue
label=blue,
actlistbox=,blue
helpline=,blue
roottext=,blue
emptyscale=blue
disabledentry=blue,
'
NEWT_COLORS_2='
root=green,black
border=green,black
title=green,black
roottext=white,black
window=green,black
textbox=white,black
button=black,green
compactbutton=white,black
listbox=white,black
actlistbox=black,white
actsellistbox=black,green
checkbox=green,black
actcheckbox=black,green
'
NEWT_COLORS_3='
root=white,black
border=black,lightgray
window=lightgray,lightgray
shadow=black,gray
title=black,lightgray
button=black,cyan
actbutton=white,cyan
compactbutton=black,lightgray
checkbox=black,lightgray
actcheckbox=lightgray,cyan
entry=black,lightgray
disentry=gray,lightgray
label=black,lightgray
listbox=black,lightgray
actlistbox=black,cyan
sellistbox=lightgray,black
actsellistbox=lightgray,black
textbox=black,lightgray
acttextbox=black,cyan
emptyscale=,gray
fullscale=,cyan
helpline=white,black
roottext=lightgrey,black
'
export NEWT_COLORS=$NEWT_COLORS_0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment