Sonho theme

Sonho is a medium-to-high contrast theme that conveys a relaxed, rather playful mood. It comes in light and dark variants, while using a single 16-colour palette.

Packages or ports of it are available for Vim and Atom (deprecated as of 2019-05-04), as well as the Xfce4, RXVT-Unicode (urxvt), and XTERM terminal emulators.

UPDATE 2019-05-04: Prot16 is not actively maintained. The themes for Vim and terminal emulators should still work though. Users are encouraged to use my Tempus themes instead.


Dark base

4a3638 5a4648 8A7668 99aabc

Light base

fff0f2 efe0e2 8896bb 677468

Accent values

cd4679 d9766d 11bf8c 479cb5
dd619f d9a652 38a8b9 a77ccf

Vim themes

All Prot16 themes (including Sonho) are bundled together as a plugin for Vim. To install them, use your favourite plugin manager. With vim-plug:

Plug 'protesilaos/prot16-vim'

Then specify your choice in .vimrc. Use either the light or dark variant:

" the light variant
colorscheme prot16-sonho_light

" or the dark variant
colorscheme prot16-sonho_dark

Terminal emulators

For Sonho, the following terminal emulators are supported thus far:

Palette specs

# Palette variables and values

dbg=4a3638 # Dark background
dhl=5a4648 # Dark background highlight
dt2=8A7668 # Dark background secondary text
dt1=99aabc # Dark background primary text

lbg=fff0f2 # Light background
lhl=efe0e2 # Light background highlight
lt2=8896bb # Light background secondary text
lt1=677468 # Light background primary text

red=cd4679 # Red variant
ora=d9766d # Orange variant
yel=d9a652 # Yellow variant
gre=11bf8c # Green variant

cya=38a8b9 # Cyan variant
blu=479cb5 # Blue variant
vio=a77ccf # Violet variant
mag=dd619f # Magenta variant

Use these if your terminal has no pre-made theme available.

# Terminal colour codes
# corresponding to the palette
# followed by termcol description

dbg=0      # black
red=1      # red
gre=2      # green
yel=3      # yellow
blu=4      # blue
mag=5      # magenta
cya=6      # cyan
lhl=7      # white
dhl=8      # brblack
ora=9      # brred
lt1=10     # brgreen
dt2=11     # bryellow
lt2=12     # brblue
vio=13     # brmagenta
dt1=14     # brcyan
lbg=15     # brwhite

Related projects

Note that this theme is part of the wider Prot16 collection. The Prot16 git repo includes all files (except the Atom packages) for each and every item.

Wish to contribute? Work can be done to port the themes to other applications. The program that handles the process is the Prot16 Generator (a bash script to build themes on demand or to work with other scripts in automating the process).

Application-specific Prot16 repositories: