diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-12 07:29:11 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-12 07:29:11 +0300 |
commit | 158507d942137e947a0e78a66e85a475667dd765 (patch) | |
tree | a33aa5ca34d35ab9d5b0902e18e20c348d2d12b6 /lib | |
parent | 85e3b25c04f33a73886d6294a54045b8e71c3545 (diff) |
Add blue theme to GitLab
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/theme.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gitlab/theme.rb b/lib/gitlab/theme.rb index a7c83a880f6..9799e54de5d 100644 --- a/lib/gitlab/theme.rb +++ b/lib/gitlab/theme.rb @@ -5,6 +5,7 @@ module Gitlab MODERN = 3 unless const_defined?(:MODERN) GRAY = 4 unless const_defined?(:GRAY) COLOR = 5 unless const_defined?(:COLOR) + BLUE = 6 unless const_defined?(:BLUE) def self.css_class_by_id(id) themes = { @@ -12,7 +13,8 @@ module Gitlab MARS => "ui_mars", MODERN => "ui_modern", GRAY => "ui_gray", - COLOR => "ui_color" + COLOR => "ui_color", + BLUE => "ui_blue" } id ||= Gitlab.config.gitlab.default_theme |