coloration 0.3.1 → 0.3.2

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.
@@ -1,3 +1,3 @@
1
1
  module Coloration
2
- VERSION = "0.3.1".freeze
2
+ VERSION = "0.3.2".freeze
3
3
  end
@@ -24,15 +24,16 @@ module Coloration
24
24
 
25
25
  default_style = Style.new(:fg => @ui["foreground"])
26
26
  search_style = @items["variable"] || @items["entity"] || @items["keyword"] || default_style
27
- border_color = @ui["background"].mix_with(@ui["foreground"], 81)
27
+ border_color = @ui["background"].mix_with(@ui["foreground"], 71)
28
+ bg_line_color = @ui["background"].mix_with(@ui["foreground"], 90)
28
29
 
29
30
  ui_mapping = {
30
31
  "Cursor" => Style.new(:bg => @ui["caret"]),
31
32
  "Visual" => Style.new(:bg => @ui["selection"]),
32
- "CursorLine" => Style.new(:bg => @ui["lineHighlight"]),
33
- "CursorColumn" => Style.new(:bg => @ui["lineHighlight"]),
34
- "ColorColumn" => Style.new(:bg => @ui["lineHighlight"]),
35
- "LineNr" => Style.new(:fg => @ui["foreground"].mix_with(@ui["background"], 50), :bg => @ui["lineHighlight"]),
33
+ "CursorLine" => Style.new(:bg => bg_line_color),
34
+ "CursorColumn" => Style.new(:bg => bg_line_color),
35
+ "ColorColumn" => Style.new(:bg => bg_line_color),
36
+ "LineNr" => Style.new(:fg => @ui["foreground"].mix_with(@ui["background"], 50), :bg => bg_line_color),
36
37
  "VertSplit" => Style.new(:fg => border_color, :bg => border_color),
37
38
  "MatchParen" => @items["keyword"],
38
39
  "StatusLine" => Style.new(:fg => @ui["foreground"], :bg => border_color, :bold => true),
@@ -72,7 +73,7 @@ module Coloration
72
73
  "Keyword" => "keyword",
73
74
  "Label" => "string.other",
74
75
  #"Macro" => [],
75
- "NonText" => Style.new(:fg => @ui["invisibles"], :bg => @ui["lineHighlight"]),
76
+ "NonText" => Style.new(:fg => @ui["invisibles"], :bg => @ui["background"].mix_with(@ui["foreground"], 95)),
76
77
  "Number" => "constant.numeric",
77
78
  "Operator" => "keyword.operator",
78
79
  #"PreCondit" => [],
@@ -81,7 +82,7 @@ module Coloration
81
82
  "Special" => Style.new(:fg => @ui["foreground"]),
82
83
  #"SpecialChar" => [],
83
84
  #"SpecialComment" => [],
84
- "SpecialKey" => Style.new(:fg => @ui["invisibles"], :bg => @ui["lineHighlight"]),
85
+ "SpecialKey" => Style.new(:fg => @ui["invisibles"], :bg => bg_line_color),
85
86
  "Statement" => "keyword.control",
86
87
  "StorageClass" => "storage.type",
87
88
  "String" => "string,string.quoted",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coloration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-22 00:00:00.000000000Z
12
+ date: 2011-10-22 00:00:00.000000000 +02:00
13
+ default_executable:
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: textpow19
16
- requirement: &77037200 !ruby/object:Gem::Requirement
17
+ requirement: &70471280 !ruby/object:Gem::Requirement
17
18
  none: false
18
19
  requirements:
19
20
  - - ! '>='
@@ -21,10 +22,10 @@ dependencies:
21
22
  version: '0.11'
22
23
  type: :runtime
23
24
  prerelease: false
24
- version_requirements: *77037200
25
+ version_requirements: *70471280
25
26
  - !ruby/object:Gem::Dependency
26
27
  name: color-tools
27
- requirement: &77036530 !ruby/object:Gem::Requirement
28
+ requirement: &70471050 !ruby/object:Gem::Requirement
28
29
  none: false
29
30
  requirements:
30
31
  - - ! '>='
@@ -32,10 +33,10 @@ dependencies:
32
33
  version: 1.3.0
33
34
  type: :runtime
34
35
  prerelease: false
35
- version_requirements: *77036530
36
+ version_requirements: *70471050
36
37
  - !ruby/object:Gem::Dependency
37
38
  name: plist
38
- requirement: &77036050 !ruby/object:Gem::Requirement
39
+ requirement: &70470820 !ruby/object:Gem::Requirement
39
40
  none: false
40
41
  requirements:
41
42
  - - ! '>='
@@ -43,7 +44,7 @@ dependencies:
43
44
  version: 3.1.0
44
45
  type: :runtime
45
46
  prerelease: false
46
- version_requirements: *77036050
47
+ version_requirements: *70470820
47
48
  description: Color scheme converters for vim, textmate, kate/kwrite, jedit
48
49
  email: marcin.kulik@gmail.com
49
50
  executables:
@@ -70,6 +71,7 @@ files:
70
71
  - lib/coloration/style.rb
71
72
  - lib/coloration.rb
72
73
  - README.md
74
+ has_rdoc: true
73
75
  homepage: http://github.com/sickill/coloration
74
76
  licenses: []
75
77
  post_install_message:
@@ -90,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
92
  version: '0'
91
93
  requirements: []
92
94
  rubyforge_project:
93
- rubygems_version: 1.8.10
95
+ rubygems_version: 1.6.2
94
96
  signing_key:
95
97
  specification_version: 3
96
98
  summary: Color scheme converters for vim, textmate, kate/kwrite, jedit