zed/crates/image_viewer/src
Marshall Bowers 24d9374744
Add text_color helper for tab contents (#14737)
This PR adds a `text_color` method to `TabContentParams` to more easily
compute the text color to be used for tab contents.

This consolidates a number of conditionals that were scattered all over
the place to give us a singular source of truth for these colors.

Release Notes:

- N/A
2024-07-18 09:27:05 -04:00
..
image_viewer.rs Add text_color helper for tab contents (#14737) 2024-07-18 09:27:05 -04:00