You can customize the Dracula tmux theme by overriding color variables or setting colors for individual widgets.
Overriding color variables
All Dracula colors can be overridden and new variables can be added using the @dracula-colors option.
Basic usage
Add the following to your tmux configuration:
Better readability
Saving space
set -g @dracula-colors "
# Custom Color Palette
white='#f8f8f2'
gray='#44475a'
dark_gray='#282a36'
light_purple='#bd93f9'
dark_purple='#6272a4'
cyan='#8be9fd'
green='#50fa7b'
orange='#ffb86c'
red='#ff5555'
pink='#ff79c6'
yellow='#f1fa8c'
"
You can format variables on multiple lines for readability or on a single line to save space in your configuration.
Available color variables
The default Dracula color variables are:
Variable Default Value Description white#f8f8f2Primary foreground color gray#44475aSecondary background dark_gray#282a36Primary background light_purple#bd93f9Light purple accent dark_purple#6272a4Dark purple accent cyan#8be9fdCyan accent green#50fa7bGreen accent orange#ffb86cOrange accent red#ff5555Red accent pink#ff79c6Pink accent yellow#f1fa8cYellow accent
You can add new color variables beyond these defaults and use them in your widget color configurations.
Each widget supports custom colors through dedicated options. Widget colors are specified as two values: foreground and background.
set -g @dracula-WIDGET-colors "foreground background"
All widget color options with their default values:
set -g @dracula-attached-clients-colors "cyan dark_gray"
set -g @dracula-battery-colors "pink dark_gray"
set -g @dracula-continuum-colors "cyan dark_gray"
set -g @dracula-cpu-usage-colors "orange dark_gray"
set -g @dracula-custom-plugin-colors "cyan dark_gray"
set -g @dracula-cwd-colors "dark_gray white"
set -g @dracula-fossil-colors "green dark_gray"
set -g @dracula-git-colors "green dark_gray"
set -g @dracula-gpu-power-draw-colors "green dark_gray"
set -g @dracula-gpu-ram-usage-colors "cyan dark_gray"
set -g @dracula-gpu-usage-colors "pink dark_gray"
set -g @dracula-hg-colors "green dark_gray"
set -g @dracula-kubernetes-context-colors "cyan dark_gray"
set -g @dracula-libre-colors "white dark_gray"
set -g @dracula-mpc-colors "green dark_gray"
set -g @dracula-network-bandwidth-colors "cyan dark_gray"
set -g @dracula-network-colors "cyan dark_gray"
set -g @dracula-network-ping-colors "cyan dark_gray"
set -g @dracula-network-vpn-colors "cyan dark_gray"
set -g @dracula-playerctl-colors "green dark_gray"
set -g @dracula-ram-usage-colors "cyan dark_gray"
set -g @dracula-spotify-tui-colors "green dark_gray"
set -g @dracula-ssh-session-colors "green dark_gray"
set -g @dracula-synchronize-panes-colors "cyan dark_gray"
set -g @dracula-terraform-colors "light_purple dark_gray"
set -g @dracula-time-colors "dark_purple white"
set -g @dracula-tmux-ram-usage-colors "cyan dark_gray"
set -g @dracula-weather-colors "orange dark_gray"
Example configuration
Customize specific widgets to match your preferences:
# Make the git widget stand out with pink
set -g @dracula-git-colors "pink dark_gray"
# Use blue for network widgets
set -g @dracula-network-colors "light_purple dark_gray"
set -g @dracula-network-bandwidth-colors "light_purple dark_gray"
# Customize time display
set -g @dracula-time-colors "cyan dark_gray"
Widget color options use the color variable names (like cyan, pink, dark_gray) not hex values. Define your colors in @dracula-colors first, then reference them in widget color options.
Combining approaches
You can combine both color variable overrides and per-widget customization:
# Override color variables
set -g @dracula-colors "
white='#f8f8f2'
cyan='#00d4ff'
green='#00ff87'
pink='#ff00ff'
dark_gray='#1a1a1a'
"
# Customize specific widgets
set -g @dracula-git-colors "green dark_gray"
set -g @dracula-time-colors "pink dark_gray"
set -g @dracula-network-colors "cyan dark_gray"
This gives you complete control over your status bar appearance.