Merge pull request #313 from sonots/fix_color
Fix color bug: not intense_cyan but bright_cyan
This commit is contained in:
commit
2faa3fb6ff
1 file changed
+3
-3
@@ -44,8 +44,8 @@ class Foreman::Engine::CLI < Foreman::Engine
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
FOREMAN_COLORS = %w( cyan yellow green magenta red blue intense_cyan intense_yellow
|
FOREMAN_COLORS = %w( cyan yellow green magenta red blue bright_cyan bright_yellow
|
||||||
intense_green intense_magenta intense_red, intense_blue )
|
bright_green bright_magenta bright_red bright_blue )
|
||||||
|
|
||||||
def startup
|
def startup
|
||||||
@colors = map_colors
|
@colors = map_colors
|
||||||
@@ -89,7 +89,7 @@ private
|
|||||||
@names.values.each_with_index do |name, index|
|
@names.values.each_with_index do |name, index|
|
||||||
colors[name] = FOREMAN_COLORS[index % FOREMAN_COLORS.length]
|
colors[name] = FOREMAN_COLORS[index % FOREMAN_COLORS.length]
|
||||||
end
|
end
|
||||||
colors["system"] = "intense_white"
|
colors["system"] = "bright_white"
|
||||||
colors
|
colors
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user