Incorrect font color when printing/exporting to PDF in dark mode
Summary
Printing (/exporting to PDF) when GitLab is in dark mode results in unreadable doc because the font color is gray on a white background.
Steps to reproduce
- Go to https://gitlab.com/-/profile/preferences
- Select
Dark Mode (alpha)
- Go to any issue
- Print the page
Example Project
What is the current bug behavior?
Content is unreadable, the font color is light on a light background.
What is the expected correct behavior?
Printing should remain in light mode (any other color theme than dark mode).
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
Edited by Jeff Tucker