Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion crates/editor/src/display_map/fold_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,13 @@ impl FoldPlaceholder {
/// Callers add children and event handlers on top.
pub fn fold_element(fold_id: FoldId, cx: &App) -> Stateful<gpui::Div> {
use gpui::{InteractiveElement as _, StatefulInteractiveElement as _, Styled as _};
use theme::ActiveTheme as _;
use settings::Settings as _;
use theme::{ActiveTheme as _, ThemeSettings};
let settings = ThemeSettings::get_global(cx);
gpui::div()
.id(fold_id)
.font(settings.buffer_font.clone())
.text_color(cx.theme().colors().text_placeholder)
.bg(cx.theme().colors().ghost_element_background)
.hover(|style| style.bg(cx.theme().colors().ghost_element_hover))
.active(|style| style.bg(cx.theme().colors().ghost_element_active))
Expand Down