Add solarized themes for iTerm2
Both solarized dark and light are now included in the subdir iTerm2. They are copies from the original repo because it doesn't seem worth to clone a ~10Mb repo just to keep in sync 2 files, considering that solarized hasn't changed much in the past years. The rakefile has been updated to trigger the automatic installation of these two themes only if OS == OSX. The user will still have to set the themes for his/her current profile manually (but that's explained at the end of the installation process).
This commit is contained in:
parent
15f2d9dd92
commit
7f8e2248fe
18
Rakefile
18
Rakefile
@ -24,6 +24,8 @@ task :install => [:submodule_init, :submodules] do
|
||||
|
||||
install_fonts if RUBY_PLATFORM.downcase.include?("darwin")
|
||||
|
||||
install_term_theme if RUBY_PLATFORM.downcase.include?("darwin")
|
||||
|
||||
success_msg("installed")
|
||||
end
|
||||
|
||||
@ -107,6 +109,22 @@ def install_fonts
|
||||
puts
|
||||
end
|
||||
|
||||
def install_term_theme
|
||||
puts "======================================================"
|
||||
puts "Installing iTerm2 solarized theme."
|
||||
puts "======================================================"
|
||||
run %{ /usr/libexec/PlistBuddy -c "Add :'Custom Color Presets':'Solarized Light' dict" ~/Library/Preferences/com.googlecode.iterm2.plist }
|
||||
run %{ /usr/libexec/PlistBuddy -c "Merge 'iTerm2/Solarized Light.itermcolors' :'Custom Color Presets':'Solarized Light'" ~/Library/Preferences/com.googlecode.iterm2.plist }
|
||||
run %{ /usr/libexec/PlistBuddy -c "Add :'Custom Color Presets':'Solarized Dark' dict" ~/Library/Preferences/com.googlecode.iterm2.plist }
|
||||
run %{ /usr/libexec/PlistBuddy -c "Merge 'iTerm2/Solarized Dark.itermcolors' :'Custom Color Presets':'Solarized Dark'" ~/Library/Preferences/com.googlecode.iterm2.plist }
|
||||
|
||||
puts "======================================================"
|
||||
puts "To make sure your profile is using the solarized theme"
|
||||
puts "Please check your settings under:"
|
||||
puts "Preferences> Profiles> [your profile]> Colors> Load Preset.."
|
||||
puts "======================================================"
|
||||
end
|
||||
|
||||
def install_prezto
|
||||
puts
|
||||
puts "Installing Prezto (ZSH Enhancements)..."
|
||||
|
213
iTerm2/Solarized Dark.itermcolors
Normal file
213
iTerm2/Solarized Dark.itermcolors
Normal file
@ -0,0 +1,213 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Ansi 0 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.19370138645172119</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.15575926005840302</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>Ansi 1 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.14145714044570923</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.10840655118227005</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.81926977634429932</real>
|
||||
</dict>
|
||||
<key>Ansi 10 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.38298487663269043</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.35665956139564514</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.27671992778778076</real>
|
||||
</dict>
|
||||
<key>Ansi 11 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.43850564956665039</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.40717673301696777</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.32436618208885193</real>
|
||||
</dict>
|
||||
<key>Ansi 12 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.51685798168182373</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.50962930917739868</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.44058024883270264</real>
|
||||
</dict>
|
||||
<key>Ansi 13 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.72908437252044678</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.33896297216415405</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.34798634052276611</real>
|
||||
</dict>
|
||||
<key>Ansi 14 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.56363654136657715</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.56485837697982788</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.50599193572998047</real>
|
||||
</dict>
|
||||
<key>Ansi 15 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.86405980587005615</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.95794391632080078</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.98943418264389038</real>
|
||||
</dict>
|
||||
<key>Ansi 2 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.020208755508065224</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.54115492105484009</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.44977453351020813</real>
|
||||
</dict>
|
||||
<key>Ansi 3 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.023484811186790466</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.46751424670219421</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.64746475219726562</real>
|
||||
</dict>
|
||||
<key>Ansi 4 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.78231418132781982</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.46265947818756104</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.12754884362220764</real>
|
||||
</dict>
|
||||
<key>Ansi 5 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.43516635894775391</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.10802463442087173</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.77738940715789795</real>
|
||||
</dict>
|
||||
<key>Ansi 6 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.52502274513244629</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.57082360982894897</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.14679534733295441</real>
|
||||
</dict>
|
||||
<key>Ansi 7 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.79781103134155273</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.89001238346099854</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.91611063480377197</real>
|
||||
</dict>
|
||||
<key>Ansi 8 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.15170273184776306</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.11783610284328461</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>Ansi 9 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.073530435562133789</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.21325300633907318</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.74176257848739624</real>
|
||||
</dict>
|
||||
<key>Background Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.15170273184776306</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.11783610284328461</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>Bold Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.56363654136657715</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.56485837697982788</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.50599193572998047</real>
|
||||
</dict>
|
||||
<key>Cursor Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.51685798168182373</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.50962930917739868</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.44058024883270264</real>
|
||||
</dict>
|
||||
<key>Cursor Text Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.19370138645172119</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.15575926005840302</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>Foreground Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.51685798168182373</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.50962930917739868</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.44058024883270264</real>
|
||||
</dict>
|
||||
<key>Selected Text Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.56363654136657715</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.56485837697982788</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.50599193572998047</real>
|
||||
</dict>
|
||||
<key>Selection Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.19370138645172119</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.15575926005840302</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
213
iTerm2/Solarized Light.itermcolors
Normal file
213
iTerm2/Solarized Light.itermcolors
Normal file
@ -0,0 +1,213 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Ansi 0 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.19370138645172119</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.15575926005840302</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>Ansi 1 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.14145712554454803</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.10840645432472229</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.81926983594894409</real>
|
||||
</dict>
|
||||
<key>Ansi 10 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.38298487663269043</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.35665956139564514</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.27671992778778076</real>
|
||||
</dict>
|
||||
<key>Ansi 11 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.43850564956665039</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.40717673301696777</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.32436618208885193</real>
|
||||
</dict>
|
||||
<key>Ansi 12 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.51685798168182373</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.50962930917739868</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.44058024883270264</real>
|
||||
</dict>
|
||||
<key>Ansi 13 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.72908437252044678</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.33896297216415405</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.34798634052276611</real>
|
||||
</dict>
|
||||
<key>Ansi 14 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.56363654136657715</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.56485837697982788</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.50599193572998047</real>
|
||||
</dict>
|
||||
<key>Ansi 15 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.86405980587005615</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.95794391632080078</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.98943418264389038</real>
|
||||
</dict>
|
||||
<key>Ansi 2 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.020208755508065224</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.54115492105484009</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.44977453351020813</real>
|
||||
</dict>
|
||||
<key>Ansi 3 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.023484811186790466</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.46751424670219421</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.64746475219726562</real>
|
||||
</dict>
|
||||
<key>Ansi 4 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.78231418132781982</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.46265947818756104</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.12754884362220764</real>
|
||||
</dict>
|
||||
<key>Ansi 5 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.43516635894775391</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.10802463442087173</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.77738940715789795</real>
|
||||
</dict>
|
||||
<key>Ansi 6 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.52502274513244629</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.57082360982894897</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.14679534733295441</real>
|
||||
</dict>
|
||||
<key>Ansi 7 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.79781103134155273</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.89001238346099854</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.91611063480377197</real>
|
||||
</dict>
|
||||
<key>Ansi 8 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.15170273184776306</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.11783610284328461</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>Ansi 9 Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.073530435562133789</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.21325300633907318</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.74176257848739624</real>
|
||||
</dict>
|
||||
<key>Background Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.86405980587005615</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.95794391632080078</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.98943418264389038</real>
|
||||
</dict>
|
||||
<key>Bold Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.38298487663269043</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.35665956139564514</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.27671992778778076</real>
|
||||
</dict>
|
||||
<key>Cursor Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.43850564956665039</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.40717673301696777</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.32436618208885193</real>
|
||||
</dict>
|
||||
<key>Cursor Text Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.79781103134155273</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.89001238346099854</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.91611063480377197</real>
|
||||
</dict>
|
||||
<key>Foreground Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.43850564956665039</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.40717673301696777</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.32436618208885193</real>
|
||||
</dict>
|
||||
<key>Selected Text Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.38298487663269043</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.35665956139564514</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.27671992778778076</real>
|
||||
</dict>
|
||||
<key>Selection Color</key>
|
||||
<dict>
|
||||
<key>Blue Component</key>
|
||||
<real>0.79781103134155273</real>
|
||||
<key>Green Component</key>
|
||||
<real>0.89001238346099854</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.91611063480377197</real>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
Loading…
Reference in New Issue
Block a user