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
F18820799: D19346.id46291.diff
Wed, Oct 22, 5:09 PM
F18780702: D19346.id46284.diff
Sun, Oct 12, 6:57 PM
F18650002: D19346.id.diff
Sep 20 2025, 11:03 PM
F18636166: D19346.diff
Sep 17 2025, 3:36 AM
F18625021: D19346.diff
Sep 15 2025, 9:42 PM
F18509556: D19346.id.diff
Sep 5 2025, 3:28 AM
F18502666: D19346.diff
Sep 4 2025, 10:35 PM
F18460336: D19346.id46284.diff
Sep 1 2025, 6:59 PM
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