rmthemegen 0.0.27 → 0.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,8 +28,19 @@ module RMThemeGen
28
28
  @xmlout[:scheme][0][:attributes][0][:option].each do |o|
29
29
  if @@tokens_for_css.include? o[:name]
30
30
  s+= "#"+ @xmlout[:scheme][0][:name].to_s
31
- # puts o.inspect
32
- s+= " .#{o[:name]} {color: \##{o[:value][0][:option][0][:value]};} "
31
+ s+= " .#{o[:name]} {color: \##{o[:value][0][:option][0][:value]};"
32
+ #fonttype = 0 #bold: 1, #italic: 2, bold & italic: 3
33
+ if o[:value][0][:option][3][:value] == '0'
34
+ #neither bold nor italic
35
+ s+= ""
36
+ elsif o[:value][0][:option][3][:value] == '1'
37
+ s+= "font-weight:bold;"
38
+ elsif o[:value][0][:option][3][:value] == '2'
39
+ s+= "font-style:italic;"
40
+ elsif o[:value][0][:option][3][:value] == '2' #bold and italic
41
+ s+= "font-weight:bold;font-style: italic;"
42
+ end #if
43
+ s+="} "
33
44
  end #if
34
45
  end
35
46
  #these options are all for background values so far (caret row color and selection background)
@@ -1,3 +1,3 @@
1
1
  module Rmthemegen
2
- VERSION = "0.0.27"
2
+ VERSION = "0.0.28"
3
3
  end
data/rmthemegen.gemspec CHANGED
@@ -4,7 +4,7 @@ require "rmthemegen/version"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "rmthemegen"
7
- s.version = "0.0.27"
7
+ s.version = "0.0.28"
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["David Heitzman"]
10
10
  s.email = ["evolvemeans@gmail.com"]
@@ -0,0 +1,17 @@
1
+ <?xml version='1.0' standalone='yes'?>
2
+ <plist version="1.0" />
3
+ <dict>
4
+ <array>
5
+ <dict>
6
+ <key>settings</key>
7
+ <dict>
8
+ <string>#000000</string>
9
+ <string>#FFFFFF</string>
10
+ <key>background</key>
11
+ <key>foreground</key>
12
+ </dict>
13
+ </dict>
14
+ </array>
15
+ <key>name</key>
16
+ <string>grubby_route</string>
17
+ </dict>
@@ -0,0 +1,17 @@
1
+ <?xml version='1.0' standalone='yes'?>
2
+ <plist version="1.0" />
3
+ <dict>
4
+ <array>
5
+ <dict>
6
+ <key>settings</key>
7
+ <dict>
8
+ <string>#000000</string>
9
+ <string>#FFFFFF</string>
10
+ <key>background</key>
11
+ <key>foreground</key>
12
+ </dict>
13
+ </dict>
14
+ </array>
15
+ <key>name</key>
16
+ <string>hostile_wall</string>
17
+ </dict>
@@ -0,0 +1,17 @@
1
+ <?xml version='1.0' standalone='yes'?>
2
+ <plist version="1.0" />
3
+ <dict>
4
+ <array>
5
+ <dict>
6
+ <key>settings</key>
7
+ <dict>
8
+ <string>#000000</string>
9
+ <string>#FFFFFF</string>
10
+ <key>background</key>
11
+ <key>foreground</key>
12
+ </dict>
13
+ </dict>
14
+ </array>
15
+ <key>name</key>
16
+ <string>inc_handsaw</string>
17
+ </dict>
@@ -0,0 +1,17 @@
1
+ <?xml version='1.0' standalone='yes'?>
2
+ <plist version="1.0" />
3
+ <dict>
4
+ <array>
5
+ <dict>
6
+ <key>settings</key>
7
+ <dict>
8
+ <string>#000000</string>
9
+ <string>#FFFFFF</string>
10
+ <key>background</key>
11
+ <key>foreground</key>
12
+ </dict>
13
+ </dict>
14
+ </array>
15
+ <key>name</key>
16
+ <string>indirect_modem</string>
17
+ </dict>
@@ -0,0 +1,17 @@
1
+ <?xml version='1.0' standalone='yes'?>
2
+ <plist version="1.0" />
3
+ <dict>
4
+ <array>
5
+ <dict>
6
+ <key>settings</key>
7
+ <dict>
8
+ <string>#000000</string>
9
+ <string>#FFFFFF</string>
10
+ <key>background</key>
11
+ <key>foreground</key>
12
+ </dict>
13
+ </dict>
14
+ </array>
15
+ <key>name</key>
16
+ <string>strong_lilac</string>
17
+ </dict>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rmthemegen
3
3
  version: !ruby/object:Gem::Version
4
- hash: 41
4
+ hash: 39
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 27
10
- version: 0.0.27
9
+ - 28
10
+ version: 0.0.28
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Heitzman
@@ -175,7 +175,12 @@ files:
175
175
  - test/monoindustrial.tmTheme
176
176
  - test/rmt_attractive_Taiwan.tmTheme
177
177
  - test/rmt_cruel_produce.tmTheme
178
+ - test/rmt_grubby_route.tmTheme
179
+ - test/rmt_hostile_wall.tmTheme
180
+ - test/rmt_inc_handsaw.tmTheme
181
+ - test/rmt_indirect_modem.tmTheme
178
182
  - test/rmt_married_great-grandfather.tmTheme
183
+ - test/rmt_strong_lilac.tmTheme
179
184
  - test/rmt_wide_stone.tmTheme
180
185
  - test/sample_ruby_source
181
186
  - test/test_generate_themes.rb