mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 21:13:02 +00:00
Adjust styling
This commit is contained in:
parent
693172854c
commit
f50b51bdad
3 changed files with 3 additions and 2 deletions
|
@ -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>,
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue