Commit 6444fb52 authored by Simon Knox's avatar Simon Knox Committed by Phil Hughes

Fix text color on job log in dark mode

Reset yiq-text-color to correct values since the bootstrap
defaults are inverted when we override $white and $gray-950

Original values https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss#L98
parent 2168c304
......@@ -5,7 +5,7 @@
font-size: 13px;
word-break: break-all;
word-wrap: break-word;
color: $gl-text-color-inverted;
color: color-yiq($builds-trace-bg);
border-radius: $border-radius-small;
min-height: 42px;
background-color: $builds-trace-bg;
......
......@@ -115,6 +115,9 @@ $secondary: $gray-600;
$issues-today-bg: #333838;
$issues-today-border: #333a40;
$yiq-text-dark: $gray-50;
$yiq-text-light: $gray-950;
.gl-label {
filter: brightness(0.9) contrast(1.1);
}
......
---
title: Fix job log text color in dark mode
merge_request: 35387
author:
type: fixed
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