Change pipeline charts colors to match legend

This commit is contained in:
Annabel Dunstone Gray 2018-01-05 14:39:52 -07:00
parent bce886b776
commit 5abc168215
No known key found for this signature in database
GPG key ID: 7C8C78A372AD7A2D
3 changed files with 16 additions and 8 deletions

View file

@ -6,16 +6,16 @@ document.addEventListener('DOMContentLoaded', () => {
const data = {
labels: chartScope.labels,
datasets: [{
fillColor: '#7f8fa4',
strokeColor: '#7f8fa4',
pointColor: '#7f8fa4',
fillColor: '#707070',
strokeColor: '#707070',
pointColor: '#707070',
pointStrokeColor: '#EEE',
data: chartScope.totalValues,
},
{
fillColor: '#44aa22',
strokeColor: '#44aa22',
pointColor: '#44aa22',
fillColor: '#1aaa55',
strokeColor: '#1aaa55',
pointColor: '#1aaa55',
pointStrokeColor: '#fff',
data: chartScope.successValues,
},

View file

@ -993,3 +993,11 @@ button.mini-pipeline-graph-dropdown-toggle {
font-weight: $gl-font-weight-normal;
line-height: 1.5;
}
.legend-all {
color: $gl-text-color-secondary;
}
.legend-success {
color: $green-500;
}

View file

@ -4,11 +4,11 @@
%h4= _("Pipelines charts")
%p
 
%span.cgreen
%span.legend-success
= icon("circle")
= s_("Pipeline|success")
 
%span.cgray
%span.legend-all
= icon("circle")
= s_("Pipeline|all")