@@ -13,73 +13,91 @@ impl ThemeColors {
let system = SystemColors::default();
Self {
+ background: neutral().light().step_1(),
border: neutral().light().step_6(),
- border_variant: neutral().light().step_5(),
- border_focused: blue().light().step_5(),
border_disabled: neutral().light().step_3(),
+ border_focused: blue().light().step_5(),
border_selected: blue().light().step_5(),
border_transparent: system.transparent,
- elevated_surface_background: neutral().light().step_2(),
- surface_background: neutral().light().step_2(),
- background: neutral().light().step_1(),
+ border_variant: neutral().light().step_5(),
+ code_block_background: gpui::transparent_black(),
+ code_block_border: gpui::transparent_black(),
+ drop_target_background: blue().light_alpha().step_2(),
+ editor_active_line_background: neutral().light_alpha().step_3(),
+ editor_active_line_number: neutral().light().step_11(),
+ editor_active_wrap_guide: neutral().light_alpha().step_8(), // todo!("pick the right colors")
+ editor_foreground: neutral().light().step_12(),
+ editor_background: neutral().light().step_1(),
+ editor_document_highlight_read_background: neutral().light_alpha().step_3(), // todo!("pick the right colors")
+ editor_document_highlight_write_background: neutral().light_alpha().step_4(), // todo!("pick the right colors")
+ editor_gutter_background: neutral().light().step_1(), // todo!("pick the right colors")
+ editor_highlighted_line_background: neutral().light_alpha().step_3(),
+ editor_invisible: neutral().light().step_10(),
+ editor_line_number: neutral().light().step_10(),
+ editor_subheader_background: neutral().light().step_2(),
+ editor_wrap_guide: neutral().light_alpha().step_7(),
+ element_active: neutral().light_alpha().step_5(),
element_background: neutral().light().step_3(),
+ element_disabled: neutral().light_alpha().step_3(),
element_hover: neutral().light_alpha().step_4(),
- element_active: neutral().light_alpha().step_5(),
element_selected: neutral().light_alpha().step_5(),
- element_disabled: neutral().light_alpha().step_3(),
- drop_target_background: blue().light_alpha().step_2(),
+ elevated_surface_background: neutral().light().step_2(),
+ emphasis: neutral().light().step_12(),
+ ghost_element_active: neutral().light_alpha().step_4(),
ghost_element_background: system.transparent,
+ ghost_element_disabled: neutral().light_alpha().step_3(),
ghost_element_hover: neutral().light_alpha().step_3(),
- ghost_element_active: neutral().light_alpha().step_4(),
ghost_element_selected: neutral().light_alpha().step_5(),
- ghost_element_disabled: neutral().light_alpha().step_3(),
- text: neutral().light().step_12(),
- text_muted: neutral().light().step_10(),
- text_placeholder: neutral().light().step_10(),
- text_disabled: neutral().light().step_9(),
- text_accent: blue().light().step_11(),
+ headline: blue().light().step_9(),
icon: neutral().light().step_11(),
- icon_muted: neutral().light().step_10(),
+ icon_accent: blue().light().step_11(),
icon_disabled: neutral().light().step_9(),
+ icon_muted: neutral().light().step_10(),
icon_placeholder: neutral().light().step_10(),
- icon_accent: blue().light().step_11(),
+ inline_code_background: gpui::transparent_black(),
+ inline_code_border: gpui::transparent_black(),
+ link_text: orange().light().step_9(),
+ link_text_hover: orange().light().step_10(),
+ link_uri: green().light().step_9(),
+ pane_focused_border: blue().light().step_5(),
+ panel_background: neutral().light().step_2(),
+ panel_focused_border: blue().light().step_5(),
+ paragraph: neutral().light().step_12(),
+ scrollbar_thumb_background: neutral().light_alpha().step_3(),
+ scrollbar_thumb_border: gpui::transparent_black(),
+ scrollbar_thumb_hover_background: neutral().light_alpha().step_4(),
+ scrollbar_track_background: gpui::transparent_black(),
+ scrollbar_track_border: neutral().light().step_5(),
+ search_match_background: neutral().light().step_2(), // todo!(this was inserted by Mikayla)
status_bar_background: neutral().light().step_2(),
- title_bar_background: neutral().light().step_2(),
- toolbar_background: neutral().light().step_1(),
- tab_bar_background: neutral().light().step_2(),
+ surface_background: neutral().light().step_2(),
tab_active_background: neutral().light().step_1(),
+ tab_bar_background: neutral().light().step_2(),
tab_inactive_background: neutral().light().step_2(),
- search_match_background: neutral().light().step_2(), // todo!(this was inserted by Mikayla)
-
- editor_background: neutral().light().step_1(),
- editor_gutter_background: neutral().light().step_1(), // todo!("pick the right colors")
- editor_subheader_background: neutral().light().step_2(),
- editor_active_line_background: neutral().light_alpha().step_3(),
- editor_line_number: neutral().light().step_10(),
- editor_active_line_number: neutral().light().step_11(),
- editor_highlighted_line_background: neutral().light_alpha().step_3(),
- editor_invisible: neutral().light().step_10(),
- editor_wrap_guide: neutral().light_alpha().step_7(),
- editor_active_wrap_guide: neutral().light_alpha().step_8(), // todo!("pick the right colors")
- editor_document_highlight_read_background: neutral().light_alpha().step_3(), // todo!("pick the right colors")
- editor_document_highlight_write_background: neutral().light_alpha().step_4(), // todo!("pick the right colors")
- terminal_background: neutral().light().step_1(),
terminal_ansi_black: black().light().step_12(),
- terminal_ansi_red: red().light().step_11(),
- terminal_ansi_green: green().light().step_11(),
- terminal_ansi_yellow: yellow().light().step_11(),
terminal_ansi_blue: blue().light().step_11(),
- terminal_ansi_magenta: violet().light().step_11(),
- terminal_ansi_cyan: cyan().light().step_11(),
- terminal_ansi_white: neutral().light().step_12(),
terminal_ansi_bright_black: black().light().step_11(),
- terminal_ansi_bright_red: red().light().step_10(),
- terminal_ansi_bright_green: green().light().step_10(),
- terminal_ansi_bright_yellow: yellow().light().step_10(),
terminal_ansi_bright_blue: blue().light().step_10(),
- terminal_ansi_bright_magenta: violet().light().step_10(),
terminal_ansi_bright_cyan: cyan().light().step_10(),
+ terminal_ansi_bright_green: green().light().step_10(),
+ terminal_ansi_bright_magenta: violet().light().step_10(),
+ terminal_ansi_bright_red: red().light().step_10(),
terminal_ansi_bright_white: neutral().light().step_11(),
+ terminal_ansi_bright_yellow: yellow().light().step_10(),
+ terminal_ansi_cyan: cyan().light().step_11(),
+ terminal_ansi_green: green().light().step_11(),
+ terminal_ansi_magenta: violet().light().step_11(),
+ terminal_ansi_red: red().light().step_11(),
+ terminal_ansi_white: neutral().light().step_12(),
+ terminal_ansi_yellow: yellow().light().step_11(),
+ terminal_background: neutral().light().step_1(),
+ text: neutral().light().step_12(),
+ text_accent: blue().light().step_11(),
+ text_disabled: neutral().light().step_9(),
+ text_muted: neutral().light().step_10(),
+ text_placeholder: neutral().light().step_10(),
+ title_bar_background: neutral().light().step_2(),
+ toolbar_background: neutral().light().step_1(),
}
}
@@ -87,73 +105,91 @@ impl ThemeColors {
let system = SystemColors::default();
Self {
+ background: neutral().dark().step_1(),
border: neutral().dark().step_6(),
- border_variant: neutral().dark().step_5(),
- border_focused: blue().dark().step_5(),
border_disabled: neutral().dark().step_3(),
+ border_focused: blue().dark().step_5(),
border_selected: blue().dark().step_5(),
border_transparent: system.transparent,
- elevated_surface_background: neutral().dark().step_2(),
- surface_background: neutral().dark().step_2(),
- background: neutral().dark().step_1(),
+ border_variant: neutral().dark().step_5(),
+ code_block_background: gpui::transparent_black(),
+ code_block_border: gpui::transparent_black(),
+ drop_target_background: blue().dark_alpha().step_2(),
+ editor_active_line_background: neutral().dark_alpha().step_3(),
+ editor_active_line_number: neutral().dark_alpha().step_12(),
+ editor_active_wrap_guide: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
+ editor_background: neutral().dark().step_1(),
+ editor_document_highlight_read_background: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
+ editor_document_highlight_write_background: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
+ editor_foreground: neutral().dark().step_12(),
+ editor_gutter_background: neutral().dark().step_1(),
+ editor_highlighted_line_background: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
+ editor_invisible: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
+ editor_line_number: neutral().dark_alpha().step_10(),
+ editor_subheader_background: neutral().dark().step_3(),
+ editor_wrap_guide: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
+ element_active: neutral().dark_alpha().step_5(),
element_background: neutral().dark().step_3(),
+ element_disabled: neutral().dark_alpha().step_3(),
element_hover: neutral().dark_alpha().step_4(),
- element_active: neutral().dark_alpha().step_5(),
element_selected: neutral().dark_alpha().step_5(),
- element_disabled: neutral().dark_alpha().step_3(),
- drop_target_background: blue().dark_alpha().step_2(),
+ elevated_surface_background: neutral().dark().step_2(),
+ emphasis: neutral().dark().step_12(),
+ ghost_element_active: neutral().dark_alpha().step_5(),
ghost_element_background: system.transparent,
+ ghost_element_disabled: neutral().dark_alpha().step_3(),
ghost_element_hover: neutral().dark_alpha().step_4(),
- ghost_element_active: neutral().dark_alpha().step_5(),
ghost_element_selected: neutral().dark_alpha().step_5(),
- ghost_element_disabled: neutral().dark_alpha().step_3(),
- text: neutral().dark().step_12(),
- text_muted: neutral().dark().step_11(),
- text_placeholder: neutral().dark().step_10(),
- text_disabled: neutral().dark().step_9(),
- text_accent: blue().dark().step_11(),
+ headline: blue().dark().step_9(),
icon: neutral().dark().step_11(),
- icon_muted: neutral().dark().step_10(),
+ icon_accent: blue().dark().step_11(),
icon_disabled: neutral().dark().step_9(),
+ icon_muted: neutral().dark().step_10(),
icon_placeholder: neutral().dark().step_10(),
- icon_accent: blue().dark().step_11(),
+ inline_code_background: gpui::transparent_black(),
+ inline_code_border: gpui::transparent_black(),
+ link_text: orange().dark().step_9(),
+ link_text_hover: orange().dark().step_10(),
+ link_uri: green().dark().step_9(),
+ pane_focused_border: blue().dark().step_5(),
+ panel_background: neutral().dark().step_2(),
+ panel_focused_border: blue().dark().step_5(),
+ paragraph: neutral().dark().step_12(),
+ scrollbar_thumb_background: neutral().dark_alpha().step_3(),
+ scrollbar_thumb_border: gpui::transparent_black(),
+ scrollbar_thumb_hover_background: neutral().dark_alpha().step_4(),
+ scrollbar_track_background: gpui::transparent_black(),
+ scrollbar_track_border: neutral().dark().step_5(),
+ search_match_background: neutral().dark().step_2(), // todo!(this was inserted by Mikayla)
status_bar_background: neutral().dark().step_2(),
- title_bar_background: neutral().dark().step_2(),
- toolbar_background: neutral().dark().step_1(),
- tab_bar_background: neutral().dark().step_2(),
+ surface_background: neutral().dark().step_2(),
tab_active_background: neutral().dark().step_1(),
+ tab_bar_background: neutral().dark().step_2(),
tab_inactive_background: neutral().dark().step_2(),
- search_match_background: neutral().dark().step_2(), // todo!(this was inserted by Mikayla)
-
- editor_background: neutral().dark().step_1(),
- editor_gutter_background: neutral().dark().step_1(),
- editor_subheader_background: neutral().dark().step_3(),
- editor_active_line_background: neutral().dark_alpha().step_3(),
- editor_line_number: neutral().dark_alpha().step_10(),
- editor_active_line_number: neutral().dark_alpha().step_12(),
- editor_highlighted_line_background: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
- editor_invisible: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
- editor_wrap_guide: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
- editor_active_wrap_guide: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
- editor_document_highlight_read_background: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
- editor_document_highlight_write_background: neutral().dark_alpha().step_4(), // todo!("pick the right colors")
- terminal_background: neutral().dark().step_1(),
terminal_ansi_black: black().dark().step_12(),
- terminal_ansi_red: red().dark().step_11(),
- terminal_ansi_green: green().dark().step_11(),
- terminal_ansi_yellow: yellow().dark().step_11(),
terminal_ansi_blue: blue().dark().step_11(),
- terminal_ansi_magenta: violet().dark().step_11(),
- terminal_ansi_cyan: cyan().dark().step_11(),
- terminal_ansi_white: neutral().dark().step_12(),
terminal_ansi_bright_black: black().dark().step_11(),
- terminal_ansi_bright_red: red().dark().step_10(),
- terminal_ansi_bright_green: green().dark().step_10(),
- terminal_ansi_bright_yellow: yellow().dark().step_10(),
terminal_ansi_bright_blue: blue().dark().step_10(),
- terminal_ansi_bright_magenta: violet().dark().step_10(),
terminal_ansi_bright_cyan: cyan().dark().step_10(),
+ terminal_ansi_bright_green: green().dark().step_10(),
+ terminal_ansi_bright_magenta: violet().dark().step_10(),
+ terminal_ansi_bright_red: red().dark().step_10(),
terminal_ansi_bright_white: neutral().dark().step_11(),
+ terminal_ansi_bright_yellow: yellow().dark().step_10(),
+ terminal_ansi_cyan: cyan().dark().step_11(),
+ terminal_ansi_green: green().dark().step_11(),
+ terminal_ansi_magenta: violet().dark().step_11(),
+ terminal_ansi_red: red().dark().step_11(),
+ terminal_ansi_white: neutral().dark().step_12(),
+ terminal_ansi_yellow: yellow().dark().step_11(),
+ terminal_background: neutral().dark().step_1(),
+ text: neutral().dark().step_12(),
+ text_accent: blue().dark().step_11(),
+ text_disabled: neutral().dark().step_9(),
+ text_muted: neutral().dark().step_11(),
+ text_placeholder: neutral().dark().step_10(),
+ title_bar_background: neutral().dark().step_2(),
+ toolbar_background: neutral().dark().step_1(),
}
}
}