Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Adjust styling
Antonio Scandurraf50b51bdad43
diff --git a/crates/theme/src/theme.rs b/crates/theme/src/theme.rsindex aa379bf8388..87504d6cd98 100644--- a/crates/theme/src/theme.rs+++ b/crates/theme/src/theme.rs@@ -277,7 +277,7 @@ pub struct StatusBar {pub height: f32,pub item_spacing: f32,pub cursor_position: TextStyle,- pub active_language: Interactive<TextStyle>,+ pub active_language: Interactive<ContainedText>,pub auto_update_progress_message: TextStyle,pub auto_update_done_message: TextStyle,pub lsp_status: Interactive<StatusBarLspStatus>,diff --git a/crates/zed/src/zed.rs b/crates/zed/src/zed.rsindex 664833de1e2..26989102e42 100644--- a/crates/zed/src/zed.rs+++ b/crates/zed/src/zed.rs@@ -346,8 +346,8 @@ pub fn initialize_workspace(status_bar.add_left_item(feedback_button, cx);status_bar.add_left_item(diagnostic_summary, cx);status_bar.add_left_item(activity_indicator, cx);- status_bar.add_right_item(cursor_position, cx);status_bar.add_right_item(active_buffer_language, cx);+ status_bar.add_right_item(cursor_position, cx);});auto_update::notify_of_any_new_update(cx.weak_handle(), cx);diff --git a/styles/src/styleTree/statusBar.ts b/styles/src/styleTree/statusBar.tsindex de33f3d1d53..e5c07c07c2b 100644--- a/styles/src/styleTree/statusBar.ts+++ b/styles/src/styleTree/statusBar.ts@@ -26,6 +26,7 @@ export default function statusBar(colorScheme: ColorScheme) {border: border(layer, { top: true, overlay: true }),cursorPosition: text(layer, "sans", "variant"),activeLanguage: {+ padding: { left: 6, right: 6 },...text(layer, "sans", "variant"),hover: {...text(layer, "sans", "on")