Skip to content

Instantly share code, notes, and snippets.

@meskarune
Last active July 18, 2021 14:07
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save meskarune/52703855720848586ec869adaeb1ed46 to your computer and use it in GitHub Desktop.
Save meskarune/52703855720848586ec869adaeb1ed46 to your computer and use it in GitHub Desktop.

Jelly Beans Terminal Color Theme

image

Terminal Colors

cursor = #d7d7d7
cursor_foreground = #121212
foreground = #adadad
foreground_bold = #efefef
background = #121212
highlight = #222222

#black
color0 = #1c1c1c
color8 = #3b3b3b
#red
color1 = #d75f5f
color9 = #ffb964
#green
color2 = #72a25a
color10 = #99ad6a
#yellow
color3 = #d8ad4c
color11 = #fad07a
#blue
color4 = #597bc5
color12 = #8197bf
#magenta
color5 = #8787af
color13 = #d7afff
#cyan
color6 = #4a8382
color14 = #8fbfdc
#white
color7 = #adadad
color15 = #e8e8de

Text color script

#!/bin/bash
# display tputcolors and text modes

echo
echo -e "$(tput bold) reg  bld  und  itl   tput-command-colors$(tput sgr0)"

for i in $(seq 1 7); do
  echo " $(tput setaf $i)Text$(tput sgr0) $(tput bold)$(tput setaf $i)Text$(tput sgr0) $(tput sgr 0 1)$(tput setaf $i)Text$(tput sgr0) $(tput sitm)$(tput setaf $i)Text$(tput sgr0)  \$(tput setaf $i)"
done

echo
echo " $(tput bold)Bold$(tput sgr0)                 \$(tput bold)"
echo " $(tput sgr 0 1)Underline$(tput sgr0)            \$(tput sgr 0 1)"
echo " $(tput sitm)Italic$(tput sgr0)               \$(tput sitm)"
echo " Reset                \$(tput sgr0)"
echo

Color Block Script

#!/bin/bash

T='▆ ▆'

echo -e "\n Base    Black    Red    Green  Yellow\
   Blue   Magenta  Cyan    White\n";

for FGs in '    m' '   1m' '  30m' '1;30m' '  31m' '1;31m' '  32m' \
           '1;32m' '  33m' '1;33m' '  34m' '1;34m' '  35m' '1;35m' \
           '  36m' '1;36m' '  37m' '1;37m';
  do FG=${FGs// /}
  echo -en "\033[$FG  $T  "
  for BG in 40m 41m 42m 43m 44m 45m 46m 47m;
    do echo -en "$EINS \033[$FG\033[$BG  $T  \033[0m";
  done
  echo;
done
echo

Extras

Vim editor theme: https://github.com/nanotech/jellybeans.vim

Airline vim panel theme: https://github.com/vim-airline/vim-airline-themes/blob/master/autoload/airline/themes/jellybeans.vim

Brackets editor: https://github.com/jsbalrog/brackets-jellybeans

Atom editor: https://atom.io/themes/jellybeans

Cmus music player: https://github.com/cmus/cmus/blob/master/data/jellybeans.theme

@meskarune
Copy link
Author

meskarune commented Nov 13, 2017

For pantheon terminal:

gsettings set org.pantheon.terminal.settings palette "#1c1c1c:#d75f5f:#72a25a:#d8ad4c:#597bc5:#8787af:#4a8382:#adadad:#3b3b3b:#ffb964:#99ad6a:#fad07a:#8197bf:#d7afff:#8fbfdc:#e8e8de"
gsettings set org.pantheon.terminal.settings background "#121212"
gsettings set org.pantheon.terminal.settings foreground "#adadad"
gsettings set org.pantheon.terminal.settings cursor-color "#d7d7d7"

Remove tab bar for a single tab:

gsettings set org.pantheon.terminal.settings tab-bar-behavior "Hide When Single Tab"

@meskarune
Copy link
Author

@meskarune
Copy link
Author

@DasFranck
Copy link

DasFranck commented Mar 26, 2019

Made this few years ago for VSCode if that interest you: https://marketplace.visualstudio.com/items?itemName=dasfranck.jellybeans

Kudos for the terminal colors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment