zed/crates/image_viewer
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
..
src Add text_color helper for tab contents (#14737) 2024-07-18 09:27:05 -04:00
Cargo.toml Restore unsaved buffers on restart (#13546) 2024-07-17 18:10:20 +02:00
LICENSE-GPL Add xtask for finding crates with missing licenses (#11776) 2024-05-13 18:52:12 -04:00