Commit 074f231c authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch '278469-docs-feedback-hard-to-understand-code-coverage-colouring' into 'master'

Update code coverage bar color to increase contrast

See merge request gitlab-org/gitlab!49724
parents d2ea47cd fb33d8a2
...@@ -36,11 +36,11 @@ ...@@ -36,11 +36,11 @@
transition: border-left 0.1s ease-out; transition: border-left 0.1s ease-out;
&.coverage { &.coverage {
border-left: 3px solid $coverage; border-left: 4px solid $coverage;
} }
&.no-coverage { &.no-coverage {
border-left: 3px solid $no-coverage; border-left: 2px solid $no-coverage;
} }
} }
......
...@@ -24,8 +24,8 @@ $dark-pre-hll-bg: #373b41; ...@@ -24,8 +24,8 @@ $dark-pre-hll-bg: #373b41;
$dark-hll-bg: #373b41; $dark-hll-bg: #373b41;
$dark-over-bg: #9f9ab5; $dark-over-bg: #9f9ab5;
$dark-expanded-bg: #3e3e3e; $dark-expanded-bg: #3e3e3e;
$dark-coverage: #b5bd68; $dark-coverage: #b3e841;
$dark-no-coverage: #de935f; $dark-no-coverage: #ff4f33;
$dark-c: #969896; $dark-c: #969896;
$dark-err: #c66; $dark-err: #c66;
$dark-k: #b294bb; $dark-k: #b294bb;
......
...@@ -214,7 +214,7 @@ pre.code, ...@@ -214,7 +214,7 @@ pre.code,
} }
.line-coverage { .line-coverage {
@include line-coverage-border-color($green-500, $orange-500); @include line-coverage-border-color($green-400, $red-400);
&.old { &.old {
background-color: $line-removed; background-color: $line-removed;
......
---
title: Visually enhance the difference between code that has and does not have test
coverage
merge_request: 49724
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment