Page MenuHomePhabricator

Restore an explicit white background color to files in Paste
ClosedPublic

Authored by epriestley on Apr 11 2018, 8:45 PM.
Tags
None
Referenced Files
F15543423: D19346.id.diff
Fri, Apr 25, 10:24 PM
F15538697: D19346.diff
Thu, Apr 24, 9:01 PM
F15505498: D19346.id46284.diff
Tue, Apr 15, 3:28 AM
F15477460: D19346.id46291.diff
Mon, Apr 7, 2:50 PM
F15459721: D19346.id46291.diff
Mon, Mar 31, 3:28 PM
F15446405: D19346.id.diff
Mar 27 2025, 6:56 PM
F15445917: D19346.id46291.diff
Mar 27 2025, 4:32 PM
F15439966: D19346.id46284.diff
Mar 26 2025, 10:34 AM
Subscribers
None

Details

Summary

Ref T13105. Previously, the "source code" view in Paste rendered on a brown/orange-ish background. I've been using this element in more contexts (Files, Diffusion) and removed the colored background to make text (particularly syntax-highlighted text) easier to read and reduce visual noise with the new blame colors.

In Diffusion the view is in a box with a white background so removing the background left us with white, but in Paste it's just directly on the page so the background was bleeding through. Instead, set it to white explicitly.

Test Plan

Viewed source files in Files, Diffusion and Paste; saw text on a white background.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable