-
Notifications
You must be signed in to change notification settings - Fork 27k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Polish the display color styles for component diff (#63342)
### What In component diff view, dim the indirect components so that users can focus on the adjacent ones, and can easily locate the bad tags in visual. We still have the `^^^` text for jest snapshots, but they'll not visually displayed for users, as the red text is enough for users to notice the incorrect one and `^^^` was more like a terminal text styles that we don't need to bring them in the web UI. #### After <img width="400" src="https://github.com/vercel/next.js/assets/4800338/9a24f830-14b4-49a2-948a-5afbced8ec6f"> #### Before <img width="400" src="https://github.com/vercel/next.js/assets/4800338/c3ee593a-956b-447e-bad2-88007159d00f"> Closes NEXT-2826 Closes NEXT-2771
- Loading branch information
Showing
2 changed files
with
56 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters