Format code
This commit is contained in:
parent
e0ca7f844a
commit
8141f4fd86
3 changed files with 8 additions and 7 deletions
|
@ -1,8 +1,10 @@
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
default_color_scales,
|
||||||
one_themes::{one_dark, one_family},
|
one_themes::{one_dark, one_family},
|
||||||
Theme, ThemeFamily, Appearance, ThemeStyles, SystemColors, ThemeColors, StatusColors, PlayerColors, SyntaxTheme, default_color_scales,
|
Appearance, PlayerColors, StatusColors, SyntaxTheme, SystemColors, Theme, ThemeColors,
|
||||||
|
ThemeFamily, ThemeStyles,
|
||||||
};
|
};
|
||||||
|
|
||||||
fn zed_pro_daylight() -> Theme {
|
fn zed_pro_daylight() -> Theme {
|
||||||
|
|
|
@ -6,8 +6,8 @@ use gpui::{HighlightStyle, SharedString};
|
||||||
use refineable::Refineable;
|
use refineable::Refineable;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
one_themes::one_family, Appearance, PlayerColors, StatusColors, SyntaxTheme, SystemColors,
|
one_themes::one_family, zed_pro_family, Appearance, PlayerColors, StatusColors, SyntaxTheme,
|
||||||
Theme, ThemeColors, ThemeFamily, ThemeStyles, UserTheme, UserThemeFamily, zed_pro_family,
|
SystemColors, Theme, ThemeColors, ThemeFamily, ThemeStyles, UserTheme, UserThemeFamily,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub struct ThemeRegistry {
|
pub struct ThemeRegistry {
|
||||||
|
|
|
@ -102,9 +102,8 @@ pub fn initialize_workspace(app_state: Arc<AppState>, cx: &mut AppContext) {
|
||||||
let buffer_search_bar = cx.build_view(search::BufferSearchBar::new);
|
let buffer_search_bar = cx.build_view(search::BufferSearchBar::new);
|
||||||
toolbar.add_item(buffer_search_bar.clone(), cx);
|
toolbar.add_item(buffer_search_bar.clone(), cx);
|
||||||
|
|
||||||
let quick_action_bar = cx.build_view(|_| {
|
let quick_action_bar = cx
|
||||||
QuickActionBar::new(buffer_search_bar, workspace)
|
.build_view(|_| QuickActionBar::new(buffer_search_bar, workspace));
|
||||||
});
|
|
||||||
toolbar.add_item(quick_action_bar, cx);
|
toolbar.add_item(quick_action_bar, cx);
|
||||||
let diagnostic_editor_controls =
|
let diagnostic_editor_controls =
|
||||||
cx.build_view(|_| diagnostics::ToolbarControls::new());
|
cx.build_view(|_| diagnostics::ToolbarControls::new());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue