Skip to content

Commit 88c61b3

Browse files
feature/custom-themes
reabasing theming branch onto changes from master
1 parent 9367a04 commit 88c61b3

File tree

2 files changed

+29
-11
lines changed

2 files changed

+29
-11
lines changed

scripts/colors.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env bash
2+
# setting the locale, some users have issues with different locales, this forces the correct one
3+
export LC_ALL=en_US.UTF-8
4+
5+
# Dracula Color Pallette
6+
white='#f8f8f2'
7+
gray='#44475a'
8+
dark_gray='#282a36'
9+
light_purple='#bd93f9'
10+
dark_purple='#6272a4'
11+
cyan='#8be9fd'
12+
green='#50fa7b'
13+
orange='#ffb86c'
14+
red='#ff5555'
15+
pink='#ff79c6'
16+
yellow='#f1fa8c'

scripts/dracula.sh

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,19 @@ main()
3939
show_empty_plugins=$(get_tmux_option "@dracula-show-empty-plugins" true)
4040

4141
# Dracula Color Pallette
42-
white=$(get_tmux_option "@dracula-color-white" "#f8f8f2")
43-
gray=$(get_tmux_option "@dracula-color-gray" "#44475a")
44-
dark_gray=$(get_tmux_option "@dracula-color-dark_gray" "#282a36")
45-
light_purple=$(get_tmux_option "@dracula-color-light_purple" "#bd93f9")
46-
dark_purple=$(get_tmux_option "@dracula-color-dark_purple" "#6272a4")
47-
cyan=$(get_tmux_option "@dracula-color-cyan" "#8be9fd")
48-
green=$(get_tmux_option "@dracula-color-green" "#50fa7b")
49-
orange=$(get_tmux_option "@dracula-color-orange" "#ffb86c")
50-
red=$(get_tmux_option "@dracula-color-red" "#ff5555")
51-
pink=$(get_tmux_option "@dracula-color-pink" "#ff79c6")
52-
yellow=$(get_tmux_option "@dracula-color-yellow" "#f1fa8c")
42+
white="#f8f8f2"
43+
gray="#44475a"
44+
dark_gray="#282a36"
45+
light_purple="#bd93f9"
46+
dark_purple="#6272a4"
47+
cyan="#8be9fd"
48+
green="#50fa7b"
49+
orange="#ffb86c"
50+
red="#ff5555"
51+
pink="#ff79c6"
52+
yellow="#f1fa8c"
53+
54+
source "$(get_tmux_option "@dracula-colors" "$current_dir/colors.sh")"
5355

5456
# Set transparency variables - Colors and window dividers
5557
if $transparent_powerline_bg; then

0 commit comments

Comments
 (0)