Skip to content
This repository

Add solarized themes for iTerm2 #259

Merged
merged 1 commit into from about 1 year ago

4 participants

Fabio Gallonetto Yan Pritzker Joe James Fabio Gallonetto
Fabio Gallonetto
Collaborator

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).

Fabio Gallonetto 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).
7f8e224
Yan Pritzker
Owner
skwp commented March 14, 2013

Nicely done!

Yan Pritzker skwp merged commit 9f9054f into from March 14, 2013
Yan Pritzker skwp closed this March 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 14, 2013
Fabio Gallonetto 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).
7f8e224
This page is out of date. Refresh to see the latest.
18  Rakefile
@@ -24,6 +24,8 @@ task :install => [:submodule_init, :submodules] do
24 24
 
25 25
   install_fonts if RUBY_PLATFORM.downcase.include?("darwin")
26 26
 
  27
+  install_term_theme if RUBY_PLATFORM.downcase.include?("darwin")
  28
+
27 29
   success_msg("installed")
28 30
 end
29 31
 
@@ -107,6 +109,22 @@ def install_fonts
107 109
   puts
108 110
 end
109 111
 
  112
+def install_term_theme
  113
+  puts "======================================================"
  114
+  puts "Installing iTerm2 solarized theme."
  115
+  puts "======================================================"
  116
+  run %{ /usr/libexec/PlistBuddy -c "Add :'Custom Color Presets':'Solarized Light' dict" ~/Library/Preferences/com.googlecode.iterm2.plist }
  117
+  run %{ /usr/libexec/PlistBuddy -c "Merge 'iTerm2/Solarized Light.itermcolors' :'Custom Color Presets':'Solarized Light'" ~/Library/Preferences/com.googlecode.iterm2.plist }
  118
+  run %{ /usr/libexec/PlistBuddy -c "Add :'Custom Color Presets':'Solarized Dark' dict" ~/Library/Preferences/com.googlecode.iterm2.plist }
  119
+  run %{ /usr/libexec/PlistBuddy -c "Merge 'iTerm2/Solarized Dark.itermcolors' :'Custom Color Presets':'Solarized Dark'" ~/Library/Preferences/com.googlecode.iterm2.plist }
  120
+
  121
+  puts "======================================================"
  122
+  puts "To make sure your profile is using the solarized theme"
  123
+  puts "Please check your settings under:"
  124
+  puts "Preferences> Profiles> [your profile]> Colors> Load Preset.."
  125
+  puts "======================================================"
  126
+end
  127
+
110 128
 def install_prezto
111 129
   puts
112 130
   puts "Installing Prezto (ZSH Enhancements)..."
213  iTerm2/Solarized Dark.itermcolors
... ...
@@ -0,0 +1,213 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>Ansi 0 Color</key>
  6
+	<dict>
  7
+		<key>Blue Component</key>
  8
+		<real>0.19370138645172119</real>
  9
+		<key>Green Component</key>
  10
+		<real>0.15575926005840302</real>
  11
+		<key>Red Component</key>
  12
+		<real>0.0</real>
  13
+	</dict>
  14
+	<key>Ansi 1 Color</key>
  15
+	<dict>
  16
+		<key>Blue Component</key>
  17
+		<real>0.14145714044570923</real>
  18
+		<key>Green Component</key>
  19
+		<real>0.10840655118227005</real>
  20
+		<key>Red Component</key>
  21
+		<real>0.81926977634429932</real>
  22
+	</dict>
  23
+	<key>Ansi 10 Color</key>
  24
+	<dict>
  25
+		<key>Blue Component</key>
  26
+		<real>0.38298487663269043</real>
  27
+		<key>Green Component</key>
  28
+		<real>0.35665956139564514</real>
  29
+		<key>Red Component</key>
  30
+		<real>0.27671992778778076</real>
  31
+	</dict>
  32
+	<key>Ansi 11 Color</key>
  33
+	<dict>
  34
+		<key>Blue Component</key>
  35
+		<real>0.43850564956665039</real>
  36
+		<key>Green Component</key>
  37
+		<real>0.40717673301696777</real>
  38
+		<key>Red Component</key>
  39
+		<real>0.32436618208885193</real>
  40
+	</dict>
  41
+	<key>Ansi 12 Color</key>
  42
+	<dict>
  43
+		<key>Blue Component</key>
  44
+		<real>0.51685798168182373</real>
  45
+		<key>Green Component</key>
  46
+		<real>0.50962930917739868</real>
  47
+		<key>Red Component</key>
  48
+		<real>0.44058024883270264</real>
  49
+	</dict>
  50
+	<key>Ansi 13 Color</key>
  51
+	<dict>
  52
+		<key>Blue Component</key>
  53
+		<real>0.72908437252044678</real>
  54
+		<key>Green Component</key>
  55
+		<real>0.33896297216415405</real>
  56
+		<key>Red Component</key>
  57
+		<real>0.34798634052276611</real>
  58
+	</dict>
  59
+	<key>Ansi 14 Color</key>
  60
+	<dict>
  61
+		<key>Blue Component</key>
  62
+		<real>0.56363654136657715</real>
  63
+		<key>Green Component</key>
  64
+		<real>0.56485837697982788</real>
  65
+		<key>Red Component</key>
  66
+		<real>0.50599193572998047</real>
  67
+	</dict>
  68
+	<key>Ansi 15 Color</key>
  69
+	<dict>
  70
+		<key>Blue Component</key>
  71
+		<real>0.86405980587005615</real>
  72
+		<key>Green Component</key>
  73
+		<real>0.95794391632080078</real>
  74
+		<key>Red Component</key>
  75
+		<real>0.98943418264389038</real>
  76
+	</dict>
  77
+	<key>Ansi 2 Color</key>
  78
+	<dict>
  79
+		<key>Blue Component</key>
  80
+		<real>0.020208755508065224</real>
  81
+		<key>Green Component</key>
  82
+		<real>0.54115492105484009</real>
  83
+		<key>Red Component</key>
  84
+		<real>0.44977453351020813</real>
  85
+	</dict>
  86
+	<key>Ansi 3 Color</key>
  87
+	<dict>
  88
+		<key>Blue Component</key>
  89
+		<real>0.023484811186790466</real>
  90
+		<key>Green Component</key>
  91
+		<real>0.46751424670219421</real>
  92
+		<key>Red Component</key>
  93
+		<real>0.64746475219726562</real>
  94
+	</dict>
  95
+	<key>Ansi 4 Color</key>
  96
+	<dict>
  97
+		<key>Blue Component</key>
  98
+		<real>0.78231418132781982</real>
  99
+		<key>Green Component</key>
  100
+		<real>0.46265947818756104</real>
  101
+		<key>Red Component</key>
  102
+		<real>0.12754884362220764</real>
  103
+	</dict>
  104
+	<key>Ansi 5 Color</key>
  105
+	<dict>
  106
+		<key>Blue Component</key>
  107
+		<real>0.43516635894775391</real>
  108
+		<key>Green Component</key>
  109
+		<real>0.10802463442087173</real>
  110
+		<key>Red Component</key>
  111
+		<real>0.77738940715789795</real>
  112
+	</dict>
  113
+	<key>Ansi 6 Color</key>
  114
+	<dict>
  115
+		<key>Blue Component</key>
  116
+		<real>0.52502274513244629</real>
  117
+		<key>Green Component</key>
  118
+		<real>0.57082360982894897</real>
  119
+		<key>Red Component</key>
  120
+		<real>0.14679534733295441</real>
  121
+	</dict>
  122
+	<key>Ansi 7 Color</key>
  123
+	<dict>
  124
+		<key>Blue Component</key>
  125
+		<real>0.79781103134155273</real>
  126
+		<key>Green Component</key>
  127
+		<real>0.89001238346099854</real>
  128
+		<key>Red Component</key>
  129
+		<real>0.91611063480377197</real>
  130
+	</dict>
  131
+	<key>Ansi 8 Color</key>
  132
+	<dict>
  133
+		<key>Blue Component</key>
  134
+		<real>0.15170273184776306</real>
  135
+		<key>Green Component</key>
  136
+		<real>0.11783610284328461</real>
  137
+		<key>Red Component</key>
  138
+		<real>0.0</real>
  139
+	</dict>
  140
+	<key>Ansi 9 Color</key>
  141
+	<dict>
  142
+		<key>Blue Component</key>
  143
+		<real>0.073530435562133789</real>
  144
+		<key>Green Component</key>
  145
+		<real>0.21325300633907318</real>
  146
+		<key>Red Component</key>
  147
+		<real>0.74176257848739624</real>
  148
+	</dict>
  149
+	<key>Background Color</key>
  150
+	<dict>
  151
+		<key>Blue Component</key>
  152
+		<real>0.15170273184776306</real>
  153
+		<key>Green Component</key>
  154
+		<real>0.11783610284328461</real>
  155
+		<key>Red Component</key>
  156
+		<real>0.0</real>
  157
+	</dict>
  158
+	<key>Bold Color</key>
  159
+	<dict>
  160
+		<key>Blue Component</key>
  161
+		<real>0.56363654136657715</real>
  162
+		<key>Green Component</key>
  163
+		<real>0.56485837697982788</real>
  164
+		<key>Red Component</key>
  165
+		<real>0.50599193572998047</real>
  166
+	</dict>
  167
+	<key>Cursor Color</key>
  168
+	<dict>
  169
+		<key>Blue Component</key>
  170
+		<real>0.51685798168182373</real>
  171
+		<key>Green Component</key>
  172
+		<real>0.50962930917739868</real>
  173
+		<key>Red Component</key>
  174
+		<real>0.44058024883270264</real>
  175
+	</dict>
  176
+	<key>Cursor Text Color</key>
  177
+	<dict>
  178
+		<key>Blue Component</key>
  179
+		<real>0.19370138645172119</real>
  180
+		<key>Green Component</key>
  181
+		<real>0.15575926005840302</real>
  182
+		<key>Red Component</key>
  183
+		<real>0.0</real>
  184
+	</dict>
  185
+	<key>Foreground Color</key>
  186
+	<dict>
  187
+		<key>Blue Component</key>
  188
+		<real>0.51685798168182373</real>
  189
+		<key>Green Component</key>
  190
+		<real>0.50962930917739868</real>
  191
+		<key>Red Component</key>
  192
+		<real>0.44058024883270264</real>
  193
+	</dict>
  194
+	<key>Selected Text Color</key>
  195
+	<dict>
  196
+		<key>Blue Component</key>
  197
+		<real>0.56363654136657715</real>
  198
+		<key>Green Component</key>
  199
+		<real>0.56485837697982788</real>
  200
+		<key>Red Component</key>
  201
+		<real>0.50599193572998047</real>
  202
+	</dict>
  203
+	<key>Selection Color</key>
  204
+	<dict>
  205
+		<key>Blue Component</key>
  206
+		<real>0.19370138645172119</real>
  207
+		<key>Green Component</key>
  208
+		<real>0.15575926005840302</real>
  209
+		<key>Red Component</key>
  210
+		<real>0.0</real>
  211
+	</dict>
  212
+</dict>
  213
+</plist>
213  iTerm2/Solarized Light.itermcolors
... ...
@@ -0,0 +1,213 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>Ansi 0 Color</key>
  6
+	<dict>
  7
+		<key>Blue Component</key>
  8
+		<real>0.19370138645172119</real>
  9
+		<key>Green Component</key>
  10
+		<real>0.15575926005840302</real>
  11
+		<key>Red Component</key>
  12
+		<real>0.0</real>
  13
+	</dict>
  14
+	<key>Ansi 1 Color</key>
  15
+	<dict>
  16
+		<key>Blue Component</key>
  17
+		<real>0.14145712554454803</real>
  18
+		<key>Green Component</key>
  19
+		<real>0.10840645432472229</real>
  20
+		<key>Red Component</key>
  21
+		<real>0.81926983594894409</real>
  22
+	</dict>
  23
+	<key>Ansi 10 Color</key>
  24
+	<dict>
  25
+		<key>Blue Component</key>
  26
+		<real>0.38298487663269043</real>
  27
+		<key>Green Component</key>
  28
+		<real>0.35665956139564514</real>
  29
+		<key>Red Component</key>
  30
+		<real>0.27671992778778076</real>
  31
+	</dict>
  32
+	<key>Ansi 11 Color</key>
  33
+	<dict>
  34
+		<key>Blue Component</key>
  35
+		<real>0.43850564956665039</real>
  36
+		<key>Green Component</key>
  37
+		<real>0.40717673301696777</real>
  38
+		<key>Red Component</key>
  39
+		<real>0.32436618208885193</real>
  40
+	</dict>
  41
+	<key>Ansi 12 Color</key>
  42
+	<dict>
  43
+		<key>Blue Component</key>
  44
+		<real>0.51685798168182373</real>
  45
+		<key>Green Component</key>
  46
+		<real>0.50962930917739868</real>
  47
+		<key>Red Component</key>
  48
+		<real>0.44058024883270264</real>
  49
+	</dict>
  50
+	<key>Ansi 13 Color</key>
  51
+	<dict>
  52
+		<key>Blue Component</key>
  53
+		<real>0.72908437252044678</real>
  54
+		<key>Green Component</key>
  55
+		<real>0.33896297216415405</real>
  56
+		<key>Red Component</key>
  57
+		<real>0.34798634052276611</real>
  58
+	</dict>
  59
+	<key>Ansi 14 Color</key>
  60
+	<dict>
  61
+		<key>Blue Component</key>
  62
+		<real>0.56363654136657715</real>
  63
+		<key>Green Component</key>
  64
+		<real>0.56485837697982788</real>
  65
+		<key>Red Component</key>
  66
+		<real>0.50599193572998047</real>
  67
+	</dict>
  68
+	<key>Ansi 15 Color</key>
  69
+	<dict>
  70
+		<key>Blue Component</key>
  71
+		<real>0.86405980587005615</real>
  72
+		<key>Green Component</key>
  73
+		<real>0.95794391632080078</real>
  74
+		<key>Red Component</key>
  75
+		<real>0.98943418264389038</real>
  76
+	</dict>
  77
+	<key>Ansi 2 Color</key>
  78
+	<dict>
  79
+		<key>Blue Component</key>
  80
+		<real>0.020208755508065224</real>
  81
+		<key>Green Component</key>
  82
+		<real>0.54115492105484009</real>
  83
+		<key>Red Component</key>
  84
+		<real>0.44977453351020813</real>
  85
+	</dict>
  86
+	<key>Ansi 3 Color</key>
  87
+	<dict>
  88
+		<key>Blue Component</key>
  89
+		<real>0.023484811186790466</real>
  90
+		<key>Green Component</key>
  91
+		<real>0.46751424670219421</real>
  92
+		<key>Red Component</key>
  93
+		<real>0.64746475219726562</real>
  94
+	</dict>
  95
+	<key>Ansi 4 Color</key>
  96
+	<dict>
  97
+		<key>Blue Component</key>
  98
+		<real>0.78231418132781982</real>
  99
+		<key>Green Component</key>
  100
+		<real>0.46265947818756104</real>
  101
+		<key>Red Component</key>
  102
+		<real>0.12754884362220764</real>
  103
+	</dict>
  104
+	<key>Ansi 5 Color</key>
  105
+	<dict>
  106
+		<key>Blue Component</key>
  107
+		<real>0.43516635894775391</real>
  108
+		<key>Green Component</key>
  109
+		<real>0.10802463442087173</real>
  110
+		<key>Red Component</key>
  111
+		<real>0.77738940715789795</real>
  112
+	</dict>
  113
+	<key>Ansi 6 Color</key>
  114
+	<dict>
  115
+		<key>Blue Component</key>
  116
+		<real>0.52502274513244629</real>
  117
+		<key>Green Component</key>
  118
+		<real>0.57082360982894897</real>
  119
+		<key>Red Component</key>
  120
+		<real>0.14679534733295441</real>
  121
+	</dict>
  122
+	<key>Ansi 7 Color</key>
  123
+	<dict>
  124
+		<key>Blue Component</key>
  125
+		<real>0.79781103134155273</real>
  126
+		<key>Green Component</key>
  127
+		<real>0.89001238346099854</real>
  128
+		<key>Red Component</key>
  129
+		<real>0.91611063480377197</real>
  130
+	</dict>
  131
+	<key>Ansi 8 Color</key>
  132
+	<dict>
  133
+		<key>Blue Component</key>
  134
+		<real>0.15170273184776306</real>
  135
+		<key>Green Component</key>
  136
+		<real>0.11783610284328461</real>
  137
+		<key>Red Component</key>
  138
+		<real>0.0</real>
  139
+	</dict>
  140
+	<key>Ansi 9 Color</key>
  141
+	<dict>
  142
+		<key>Blue Component</key>
  143
+		<real>0.073530435562133789</real>
  144
+		<key>Green Component</key>
  145
+		<real>0.21325300633907318</real>
  146
+		<key>Red Component</key>
  147
+		<real>0.74176257848739624</real>
  148
+	</dict>
  149
+	<key>Background Color</key>
  150
+	<dict>
  151
+		<key>Blue Component</key>
  152
+		<real>0.86405980587005615</real>
  153
+		<key>Green Component</key>
  154
+		<real>0.95794391632080078</real>
  155
+		<key>Red Component</key>
  156
+		<real>0.98943418264389038</real>
  157
+	</dict>
  158
+	<key>Bold Color</key>
  159
+	<dict>
  160
+		<key>Blue Component</key>
  161
+		<real>0.38298487663269043</real>
  162
+		<key>Green Component</key>
  163
+		<real>0.35665956139564514</real>
  164
+		<key>Red Component</key>
  165
+		<real>0.27671992778778076</real>
  166
+	</dict>
  167
+	<key>Cursor Color</key>
  168
+	<dict>
  169
+		<key>Blue Component</key>
  170
+		<real>0.43850564956665039</real>
  171
+		<key>Green Component</key>
  172
+		<real>0.40717673301696777</real>
  173
+		<key>Red Component</key>
  174
+		<real>0.32436618208885193</real>
  175
+	</dict>
  176
+	<key>Cursor Text Color</key>
  177
+	<dict>
  178
+		<key>Blue Component</key>
  179
+		<real>0.79781103134155273</real>
  180
+		<key>Green Component</key>
  181
+		<real>0.89001238346099854</real>
  182
+		<key>Red Component</key>
  183
+		<real>0.91611063480377197</real>
  184
+	</dict>
  185
+	<key>Foreground Color</key>
  186
+	<dict>
  187
+		<key>Blue Component</key>
  188
+		<real>0.43850564956665039</real>
  189
+		<key>Green Component</key>
  190
+		<real>0.40717673301696777</real>
  191
+		<key>Red Component</key>
  192
+		<real>0.32436618208885193</real>
  193
+	</dict>
  194
+	<key>Selected Text Color</key>
  195
+	<dict>
  196
+		<key>Blue Component</key>
  197
+		<real>0.38298487663269043</real>
  198
+		<key>Green Component</key>
  199
+		<real>0.35665956139564514</real>
  200
+		<key>Red Component</key>
  201
+		<real>0.27671992778778076</real>
  202
+	</dict>
  203
+	<key>Selection Color</key>
  204
+	<dict>
  205
+		<key>Blue Component</key>
  206
+		<real>0.79781103134155273</real>
  207
+		<key>Green Component</key>
  208
+		<real>0.89001238346099854</real>
  209
+		<key>Red Component</key>
  210
+		<real>0.91611063480377197</real>
  211
+	</dict>
  212
+</dict>
  213
+</plist>
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.