Style links in terminal (#3736)

This PR styles links in the terminal using the colors from the theme.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2023-12-20 10:57:15 -05:00 committed by GitHub
parent 57a372fcdc
commit 229b5aa8f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -395,13 +395,13 @@ impl TerminalElement {
let theme = cx.theme().clone(); let theme = cx.theme().clone();
let link_style = HighlightStyle { let link_style = HighlightStyle {
color: Some(gpui::blue()), color: Some(theme.colors().link_text_hover),
font_weight: None, font_weight: None,
font_style: None, font_style: None,
background_color: None, background_color: None,
underline: Some(UnderlineStyle { underline: Some(UnderlineStyle {
thickness: px(1.0), thickness: px(1.0),
color: Some(gpui::red()), color: Some(theme.colors().link_text_hover),
wavy: false, wavy: false,
}), }),
fade_out: None, fade_out: None,