Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change themes to better reflect Solarized design. Fix generator

  • Loading branch information...
commit 4e6b93563421e164927937e694078cf868484a63 1 parent b3ef1ba
@hayalci authored
View
44 Rakefile
@@ -56,22 +56,17 @@ KONSOLECOMMON = {
}
KATESCHEMACOMMON = {
- 'Color Highlighted Bracket' => SOLARIZED[:orange],
- 'Color MarkType1' => SOLARIZED[:base2],
- 'Color MarkType2' => SOLARIZED[:red],
- 'Color MarkType3' => SOLARIZED[:orange],
+ 'Color MarkType2' => SOLARIZED[:blue],
+ 'Color MarkType3' => SOLARIZED[:violet],
'Color MarkType4' => SOLARIZED[:green],
- 'Color MarkType5' => SOLARIZED[:yellow],
- 'Color MarkType6' => SOLARIZED[:blue],
- 'Color MarkType7' => SOLARIZED[:violet],
- 'Color Selection' => SOLARIZED[:base0],
+ 'Color MarkType5' => SOLARIZED[:cyan],
+ 'Color MarkType6' => SOLARIZED[:orange],
+ 'Color MarkType7' => SOLARIZED[:red],
'Color Spelling Mistake Line' => SOLARIZED[:red],
- 'Color Tab Marker' => SOLARIZED[:base01],
'Color Template Background' => SOLARIZED[:base0],
'Color Template Editable Placeholder' => SOLARIZED[:base01],
'Color Template Focused Editable Placeholder' => SOLARIZED[:base00],
'Color Template Not Editable Placeholder' => SOLARIZED[:base02],
- 'Color Word Wrap Marker' => SOLARIZED[:base01]
#Font=Monospace,10,-1,5,50,0,0,0,0,0
}
@@ -85,7 +80,6 @@ KATESYNTAXCOMMON = {
'Floating Point' => { 'norm' => SOLARIZED[:cyan] },
'Function' => { 'norm' => SOLARIZED[:blue] },
'Keyword' => { 'norm' => SOLARIZED[:green], 'bold' => "1" },
- 'Normal' => { 'norm' => SOLARIZED[:base0] },
'Others' => { 'norm' => SOLARIZED[:orange] },
'Region Marker' => { 'norm' => SOLARIZED[:violet] },
'String' => { 'norm' => SOLARIZED[:cyan] }
@@ -116,12 +110,18 @@ end
task :katedark do
colors = KATESCHEMACOMMON.merge(
'Color Background' => SOLARIZED[:base03],
+ 'Color Highlighted Bracket' => SOLARIZED[:base03],
'Color Highlighted Line' => SOLARIZED[:base02],
'Color Icon Bar' => SOLARIZED[:base02],
- 'Color Line Number' => SOLARIZED[:base01]
+ 'Color Selection' => SOLARIZED[:base02],
+ 'Color Line Number' => SOLARIZED[:base01],
+ 'Color Tab Marker' => SOLARIZED[:base01],
+ 'Color Word Wrap Marker' => SOLARIZED[:base01],
+ 'Color MarkType1' => SOLARIZED[:base00]
)
syntax = KATESYNTAXCOMMON.merge(
- 'Comment' => { 'norm' => SOLARIZED[:base01], 'italic' => "1" }
+ 'Comment' => { 'norm' => SOLARIZED[:base01], 'italic' => "1" },
+ 'Normal' => { 'norm' => SOLARIZED[:base0], 'sel' => SOLARIZED[:base1], 'bgsel' => SOLARIZED[:base02] }
)
write_kate_colorscheme("Solarized Dark", colors, syntax)
end
@@ -129,12 +129,18 @@ end
task :katelight do
colors = KATESCHEMACOMMON.merge(
'Color Background' => SOLARIZED[:base3],
+ 'Color Highlighted Bracket' => SOLARIZED[:base3],
'Color Highlighted Line' => SOLARIZED[:base2],
'Color Icon Bar' => SOLARIZED[:base2],
- 'Color Line Number' => SOLARIZED[:base1]
+ 'Color Selection' => SOLARIZED[:base2],
+ 'Color Line Number' => SOLARIZED[:base1],
+ 'Color Tab Marker' => SOLARIZED[:base1],
+ 'Color Word Wrap Marker' => SOLARIZED[:base1],
+ 'Color MarkType1' => SOLARIZED[:base0]
)
syntax = KATESYNTAXCOMMON.merge(
- 'Comment' => { 'norm' => SOLARIZED[:base1], 'italic' => "1" }
+ 'Comment' => { 'norm' => SOLARIZED[:base1], 'italic' => "1" },
+ 'Normal' => { 'norm' => SOLARIZED[:base00], 'sel' => SOLARIZED[:base01], 'bgsel' => SOLARIZED[:base2] }
)
write_kate_colorscheme("Solarized Light", colors, syntax)
end
@@ -185,7 +191,7 @@ def write_kate_colorscheme(colorscheme, colors, syntax)
f << "[#{colorscheme}]\n"
colors.each do |name, rgb|
- f << "#{name} = #{rgb.join(",")}\n"
+ f << "#{name}=#{rgb.join(",")}\n"
end
f << "\n"
@@ -196,16 +202,16 @@ def write_kate_colorscheme(colorscheme, colors, syntax)
s << "[Default Item Styles - Schema #{colorscheme}]\n"
syntax.each do |name, data|
- s << "#{name} = "
+ s << "#{name}="
s << [
r2h(data['norm']),
- r2h(colors['Color Background']),
+ r2h( data.has_key?('sel') ? data['sel'] : colors['Color Background'] ),
data.has_key?('bold') ? "1" : "",
data.has_key?('italic') ? "1" : "",
data.has_key?('underline') ? "1" : "",
data.has_key?('strike') ? "1" : "", ## XXX
"", # regular background
- r2h( data.has_key?('bgsel') ? data['bgsel'] : data['norm'] ), # selected bacground
+ r2h( data.has_key?('bgsel') ? data['bgsel'] : data['norm'] ), # selected background
"",
"",
"---"
View
40 Solarized Dark.kateschema
@@ -1,22 +1,22 @@
[Solarized Dark]
-Color Template Editable Placeholder = 88,110,117
-Color MarkType1 = 238,232,213
-Color MarkType2 = 220,50,47
-Color MarkType3 = 203,75,22
-Color MarkType4 = 133,153,0
-Color MarkType5 = 181,137,0
-Color MarkType6 = 38,139,210
-Color MarkType7 = 108,113,196
-Color Spelling Mistake Line = 220,50,47
-Color Highlighted Line = 7,54,66
-Color Line Number = 88,110,117
-Color Tab Marker = 88,110,117
-Color Template Background = 131,148,150
-Color Selection = 131,148,150
-Color Background = 0,43,54
-Color Icon Bar = 7,54,66
-Color Highlighted Bracket = 203,75,22
-Color Template Focused Editable Placeholder = 101,123,131
-Color Template Not Editable Placeholder = 7,54,66
-Color Word Wrap Marker = 88,110,117
+Color Template Editable Placeholder=88,110,117
+Color Background=0,43,54
+Color Template Background=131,148,150
+Color Template Not Editable Placeholder=7,54,66
+Color Tab Marker=88,110,117
+Color Line Number=88,110,117
+Color Spelling Mistake Line=220,50,47
+Color Template Focused Editable Placeholder=101,123,131
+Color Highlighted Bracket=0,43,54
+Color Highlighted Line=7,54,66
+Color Selection=7,54,66
+Color Word Wrap Marker=88,110,117
+Color MarkType1=101,123,131
+Color MarkType2=38,139,210
+Color MarkType3=108,113,196
+Color MarkType4=133,153,0
+Color MarkType5=42,161,152
+Color MarkType6=203,75,22
+Color MarkType7=220,50,47
+Color Icon Bar=7,54,66
View
28 Solarized Dark.katesyntax
@@ -1,15 +1,15 @@
[Default Item Styles - Schema Solarized Dark]
-Base-N Integer = ff2aa198,ff002b36,,,,,,ff2aa198,,,---
-Region Marker = ff6c71c4,ff002b36,,,,,,ff6c71c4,,,---
-Function = ff268bd2,ff002b36,,,,,,ff268bd2,,,---
-Alert = ffdc322f,ff002b36,1,,,,,ffdc322f,,,---
-Character = ff2aa198,ff002b36,,,,,,ff2aa198,,,---
-String = ff2aa198,ff002b36,,,,,,ff2aa198,,,---
-Comment = ff586e75,ff002b36,,1,,,,ff586e75,,,---
-Data Type = ffb58900,ff002b36,,,,,,ffb58900,,,---
-Keyword = ff859900,ff002b36,1,,,,,ff859900,,,---
-Error = ffdc322f,ff002b36,,,1,,,ffdc322f,,,---
-Normal = ff839496,ff002b36,,,,,,ff839496,,,---
-Floating Point = ff2aa198,ff002b36,,,,,,ff2aa198,,,---
-Others = ffcb4b16,ff002b36,,,,,,ffcb4b16,,,---
-Decimal/Value = ff2aa198,ff002b36,,,,,,ff2aa198,,,---
+Alert=ffdc322f,ff002b36,1,,,,,ffdc322f,,,---
+Floating Point=ff2aa198,ff002b36,,,,,,ff2aa198,,,---
+Keyword=ff859900,ff002b36,1,,,,,ff859900,,,---
+Others=ffcb4b16,ff002b36,,,,,,ffcb4b16,,,---
+Normal=ff839496,ff93a1a1,,,,,,ff073642,,,---
+Character=ff2aa198,ff002b36,,,,,,ff2aa198,,,---
+Function=ff268bd2,ff002b36,,,,,,ff268bd2,,,---
+Base-N Integer=ff2aa198,ff002b36,,,,,,ff2aa198,,,---
+String=ff2aa198,ff002b36,,,,,,ff2aa198,,,---
+Region Marker=ff6c71c4,ff002b36,,,,,,ff6c71c4,,,---
+Comment=ff586e75,ff002b36,,1,,,,ff586e75,,,---
+Data Type=ffb58900,ff002b36,,,,,,ffb58900,,,---
+Decimal/Value=ff2aa198,ff002b36,,,,,,ff2aa198,,,---
+Error=ffdc322f,ff002b36,,,1,,,ffdc322f,,,---
View
40 Solarized Light.kateschema
@@ -1,22 +1,22 @@
[Solarized Light]
-Color Template Editable Placeholder = 88,110,117
-Color MarkType1 = 238,232,213
-Color MarkType2 = 220,50,47
-Color MarkType3 = 203,75,22
-Color MarkType4 = 133,153,0
-Color MarkType5 = 181,137,0
-Color MarkType6 = 38,139,210
-Color MarkType7 = 108,113,196
-Color Spelling Mistake Line = 220,50,47
-Color Highlighted Line = 238,232,213
-Color Line Number = 147,161,161
-Color Tab Marker = 88,110,117
-Color Template Background = 131,148,150
-Color Selection = 131,148,150
-Color Background = 253,246,227
-Color Icon Bar = 238,232,213
-Color Highlighted Bracket = 203,75,22
-Color Template Focused Editable Placeholder = 101,123,131
-Color Template Not Editable Placeholder = 7,54,66
-Color Word Wrap Marker = 88,110,117
+Color Template Editable Placeholder=88,110,117
+Color Background=253,246,227
+Color Template Background=131,148,150
+Color Template Not Editable Placeholder=7,54,66
+Color Tab Marker=147,161,161
+Color Line Number=147,161,161
+Color Spelling Mistake Line=220,50,47
+Color Template Focused Editable Placeholder=101,123,131
+Color Highlighted Bracket=253,246,227
+Color Highlighted Line=238,232,213
+Color Selection=238,232,213
+Color Word Wrap Marker=147,161,161
+Color MarkType1=131,148,150
+Color MarkType2=38,139,210
+Color MarkType3=108,113,196
+Color MarkType4=133,153,0
+Color MarkType5=42,161,152
+Color MarkType6=203,75,22
+Color MarkType7=220,50,47
+Color Icon Bar=238,232,213
View
28 Solarized Light.katesyntax
@@ -1,15 +1,15 @@
[Default Item Styles - Schema Solarized Light]
-Base-N Integer = ff2aa198,fffdf6e3,,,,,,ff2aa198,,,---
-Region Marker = ff6c71c4,fffdf6e3,,,,,,ff6c71c4,,,---
-Function = ff268bd2,fffdf6e3,,,,,,ff268bd2,,,---
-Alert = ffdc322f,fffdf6e3,1,,,,,ffdc322f,,,---
-Character = ff2aa198,fffdf6e3,,,,,,ff2aa198,,,---
-String = ff2aa198,fffdf6e3,,,,,,ff2aa198,,,---
-Comment = ff93a1a1,fffdf6e3,,1,,,,ff93a1a1,,,---
-Data Type = ffb58900,fffdf6e3,,,,,,ffb58900,,,---
-Keyword = ff859900,fffdf6e3,1,,,,,ff859900,,,---
-Error = ffdc322f,fffdf6e3,,,1,,,ffdc322f,,,---
-Normal = ff839496,fffdf6e3,,,,,,ff839496,,,---
-Floating Point = ff2aa198,fffdf6e3,,,,,,ff2aa198,,,---
-Others = ffcb4b16,fffdf6e3,,,,,,ffcb4b16,,,---
-Decimal/Value = ff2aa198,fffdf6e3,,,,,,ff2aa198,,,---
+Alert=ffdc322f,fffdf6e3,1,,,,,ffdc322f,,,---
+Floating Point=ff2aa198,fffdf6e3,,,,,,ff2aa198,,,---
+Keyword=ff859900,fffdf6e3,1,,,,,ff859900,,,---
+Others=ffcb4b16,fffdf6e3,,,,,,ffcb4b16,,,---
+Normal=ff657b83,ff586e75,,,,,,ffeee8d5,,,---
+Character=ff2aa198,fffdf6e3,,,,,,ff2aa198,,,---
+Function=ff268bd2,fffdf6e3,,,,,,ff268bd2,,,---
+Base-N Integer=ff2aa198,fffdf6e3,,,,,,ff2aa198,,,---
+String=ff2aa198,fffdf6e3,,,,,,ff2aa198,,,---
+Region Marker=ff6c71c4,fffdf6e3,,,,,,ff6c71c4,,,---
+Comment=ff93a1a1,fffdf6e3,,1,,,,ff93a1a1,,,---
+Data Type=ffb58900,fffdf6e3,,,,,,ffb58900,,,---
+Decimal/Value=ff2aa198,fffdf6e3,,,,,,ff2aa198,,,---
+Error=ffdc322f,fffdf6e3,,,1,,,ffdc322f,,,---
View
2  Solarized_Colors
@@ -2,8 +2,8 @@ KDE RGB Palette
#
0 43 54 base03
7 54 66 base02
-101 123 131 base00
88 110 117 base01
+101 123 131 base00
131 148 150 base0
147 161 161 base1
238 232 213 base2
Please sign in to comment.
Something went wrong with that request. Please try again.