seebi / tmux-colors-solarized

A color theme for the tmux terminal multiplexer using Ethan Schoonover’s Solarized color scheme
http://ethanschoonover.com/solarized
1.09k stars 147 forks source link

"bad colour" #4

Closed bukzor closed 10 years ago

bukzor commented 10 years ago

I get errors when trying to use your dark or light themes. My tmux version is probably older than yours. Or something.

$ tmux -V
tmux 1.5

$ tmux source /nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-256.conf 
(no output, works fine)

$ tmux source /nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf 
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 9: bad colour: brightblue
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 14: bad colour: brightred
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 20: bad colour: brightgreen
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 24: bad colour: brightred
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 28: bad colour: brightred

$ tmux source /nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf 
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 9: bad colour: brightyellow
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 14: bad colour: brightred
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 20: bad colour: brightcyan
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 24: bad colour: brightred
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 28: bad colour: brightred
bukzor commented 10 years ago

I used the below reference to translate these names to ansi indexes, but the results are pretty poor. Note that the actual colors resulting from these names varies widely across environments, and in modern terminals can be completely configured by the user, meaning that the quality of results will also vary widely.

For consistent results, these entries should be converted to use the higher (>16) range of colors.

http://en.wikipedia.org/wiki/ANSI_escape_code#Colors

seebi commented 10 years ago

You are right ...

∴ tmux -V
tmux 1.8