Skip to content
Snippets Groups Projects
Commit 158507d9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Add blue theme to GitLab

parent 85e3b25c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -80,6 +80,10 @@
&.violet {
background: #548;
}
&.blue {
background: #2980b9;
}
}
}
}
Loading
Loading
/**
* Modern GitLab UI theme
*/
.ui_blue {
@include dark-theme(#BECDE9, #2980b9, #1970a9, #096099);
}
Loading
Loading
@@ -33,6 +33,11 @@
.prev.violet
= f.radio_button :theme_id, 5
Violet
= label_tag do
.prev.blue
= f.radio_button :theme_id, 6
Blue
%br
.clearfix
 
Loading
Loading
Loading
Loading
@@ -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 = {
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment