mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-16 16:16:43 +10:00
Merge branch 'master' into 'master'
Adds new label color suggestions This adds a bunch of label color suggestions   See merge request !289
This commit is contained in:
@@ -14,14 +14,27 @@ module LabelsHelper
|
||||
|
||||
def suggested_colors
|
||||
[
|
||||
'#D9534F',
|
||||
'#F0AD4E',
|
||||
'#0033CC',
|
||||
'#428BCA',
|
||||
'#44AD8E',
|
||||
'#A8D695',
|
||||
'#5CB85C',
|
||||
'#69D100',
|
||||
'#004E00',
|
||||
'#34495E',
|
||||
'#7F8C8D',
|
||||
'#A295D6',
|
||||
'#5843AD',
|
||||
'#8E44AD',
|
||||
'#FFECDB'
|
||||
'#FFECDB',
|
||||
'#AD4363',
|
||||
'#D10069',
|
||||
'#CC0033',
|
||||
'#FF0000',
|
||||
'#D9534F',
|
||||
'#D1D100',
|
||||
'#F0AD4E',
|
||||
'#AD8D43'
|
||||
]
|
||||
end
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
.col-sm-10
|
||||
.input-group
|
||||
.input-group-addon.label-color-preview
|
||||
= f.text_field :color, placeholder: "#AA33EE", class: "form-control"
|
||||
= f.color_field :color, placeholder: "#AA33EE", class: "form-control"
|
||||
.help-block
|
||||
6 character hex values starting with a # sign.
|
||||
%br
|
||||
|
||||
Reference in New Issue
Block a user