// This file was generated by the `theme_importer`. // Be careful when modifying it by hand. use gpui::rgba; #[allow(unused)] use crate::{ Appearance, StatusColorsRefinement, ThemeColorsRefinement, UserFontStyle, UserFontWeight, UserHighlightStyle, UserSyntaxTheme, UserTheme, UserThemeFamily, UserThemeStylesRefinement, }; pub fn palenight() -> UserThemeFamily { UserThemeFamily { name: "Palenight".into(), author: "Olaolu Olawuyi (whizkydee)".into(), themes: vec![ UserTheme { name: "Palenight".into(), appearance: Appearance::Dark, styles: UserThemeStylesRefinement { colors: ThemeColorsRefinement { border: Some(rgba(0x282b3cff).into()), border_variant: Some(rgba(0x282b3cff).into()), border_focused: Some(rgba(0x282b3cff).into()), border_selected: Some(rgba(0x282b3cff).into()), border_transparent: Some(rgba(0x282b3cff).into()), border_disabled: Some(rgba(0x282b3cff).into()), elevated_surface_background: Some(rgba(0x292d3eff).into()), surface_background: Some(rgba(0x292d3eff).into()), background: Some(rgba(0x292d3eff).into()), element_background: Some(rgba(0x7e57c2cc).into()), element_hover: Some(rgba(0x0000001a).into()), element_selected: Some(rgba(0x7e57c2ff).into()), drop_target_background: Some(rgba(0x2e3245ff).into()), ghost_element_hover: Some(rgba(0x0000001a).into()), ghost_element_selected: Some(rgba(0x7e57c2ff).into()), text: Some(rgba(0xffffffff).into()), text_muted: Some(rgba(0x929ac9ff).into()), status_bar_background: Some(rgba(0x282c3dff).into()), title_bar_background: Some(rgba(0x292d3eff).into()), toolbar_background: Some(rgba(0x292d3eff).into()), tab_bar_background: Some(rgba(0x31364aff).into()), tab_inactive_background: Some(rgba(0x31364aff).into()), tab_active_background: Some(rgba(0x292d3eff).into()), scrollbar_thumb_background: Some(rgba(0x694ca466).into()), scrollbar_thumb_hover_background: Some(rgba(0x694ca4cc).into()), scrollbar_thumb_border: Some(rgba(0x694ca466).into()), scrollbar_track_background: Some(rgba(0x292d3eff).into()), editor_foreground: Some(rgba(0xffffffff).into()), editor_background: Some(rgba(0x292d3eff).into()), editor_gutter_background: Some(rgba(0x292d3eff).into()), editor_line_number: Some(rgba(0x4c5374ff).into()), editor_active_line_number: Some(rgba(0xbfc7d5ff).into()), terminal_ansi_bright_black: Some(rgba(0x676e95ff).into()), terminal_ansi_bright_red: Some(rgba(0xff5572ff).into()), terminal_ansi_bright_green: Some(rgba(0xc3e88dff).into()), terminal_ansi_bright_yellow: Some(rgba(0xffcb6bff).into()), terminal_ansi_bright_blue: Some(rgba(0x82aaffff).into()), terminal_ansi_bright_magenta: Some(rgba(0xc792eaff).into()), terminal_ansi_bright_cyan: Some(rgba(0x89ddffff).into()), terminal_ansi_bright_white: Some(rgba(0xffffffff).into()), terminal_ansi_black: Some(rgba(0x676e95ff).into()), terminal_ansi_red: Some(rgba(0xff5572ff).into()), terminal_ansi_green: Some(rgba(0xa9c77dff).into()), terminal_ansi_yellow: Some(rgba(0xffcb6bff).into()), terminal_ansi_blue: Some(rgba(0x82aaffff).into()), terminal_ansi_magenta: Some(rgba(0xc792eaff).into()), terminal_ansi_cyan: Some(rgba(0x89ddffff).into()), terminal_ansi_white: Some(rgba(0xffffffff).into()), ..Default::default() }, status: StatusColorsRefinement { conflict: Some(rgba(0xffeb95cc).into()), created: Some(rgba(0x9ccc65ff).into()), deleted: Some(rgba(0xef5350ff).into()), error: Some(rgba(0xef5350ff).into()), hidden: Some(rgba(0x929ac9ff).into()), hint: Some(rgba(0x969696ff).into()), ignored: Some(rgba(0x69709890).into()), modified: Some(rgba(0xe2b93dff).into()), ..Default::default() }, syntax: Some(UserSyntaxTheme { highlights: vec![ ( "attribute".into(), UserHighlightStyle { color: Some(rgba(0xffcb6bff).into()), ..Default::default() }, ), ( "boolean".into(), UserHighlightStyle { color: Some(rgba(0x82aaffff).into()), ..Default::default() }, ), ( "comment".into(), UserHighlightStyle { color: Some(rgba(0x697098ff).into()), font_style: Some(UserFontStyle::Italic), ..Default::default() }, ), ( "comment.doc".into(), UserHighlightStyle { color: Some(rgba(0x697098ff).into()), font_style: Some(UserFontStyle::Italic), ..Default::default() }, ), ( "constant".into(), UserHighlightStyle { color: Some(rgba(0x82aaffff).into()), ..Default::default() }, ), ( "constructor".into(), UserHighlightStyle { color: Some(rgba(0xff5572ff).into()), ..Default::default() }, ), ( "emphasis".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), font_style: Some(UserFontStyle::Italic), ..Default::default() }, ), ( "emphasis.strong".into(), UserHighlightStyle { color: Some(rgba(0xffcb6bff).into()), font_weight: Some(UserFontWeight(700.0)), ..Default::default() }, ), ( "function".into(), UserHighlightStyle { color: Some(rgba(0x82aaffff).into()), ..Default::default() }, ), ( "keyword".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "link_text".into(), UserHighlightStyle { color: Some(rgba(0xff869aff).into()), ..Default::default() }, ), ( "link_uri".into(), UserHighlightStyle { color: Some(rgba(0xff869aff).into()), ..Default::default() }, ), ( "number".into(), UserHighlightStyle { color: Some(rgba(0xf78c6cff).into()), ..Default::default() }, ), ( "operator".into(), UserHighlightStyle { color: Some(rgba(0x89ddffff).into()), ..Default::default() }, ), ( "property".into(), UserHighlightStyle { color: Some(rgba(0x80cbc4ff).into()), ..Default::default() }, ), ( "punctuation".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "punctuation.bracket".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "punctuation.delimiter".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "punctuation.list_marker".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "punctuation.special".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "string".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "string.escape".into(), UserHighlightStyle { color: Some(rgba(0x82aaffff).into()), ..Default::default() }, ), ( "string.regex".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "string.special".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "string.special.symbol".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "tag".into(), UserHighlightStyle { color: Some(rgba(0xff5572ff).into()), ..Default::default() }, ), ( "text.literal".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "type".into(), UserHighlightStyle { color: Some(rgba(0xffcb6bff).into()), ..Default::default() }, ), ( "variable".into(), UserHighlightStyle { color: Some(rgba(0xffcb6bff).into()), ..Default::default() }, ), ( "variable.special".into(), UserHighlightStyle { color: Some(rgba(0xff5572ff).into()), ..Default::default() }, ), ], }), }, }, UserTheme { name: "Palenight Operator".into(), appearance: Appearance::Dark, styles: UserThemeStylesRefinement { colors: ThemeColorsRefinement { border: Some(rgba(0x282b3cff).into()), border_variant: Some(rgba(0x282b3cff).into()), border_focused: Some(rgba(0x282b3cff).into()), border_selected: Some(rgba(0x282b3cff).into()), border_transparent: Some(rgba(0x282b3cff).into()), border_disabled: Some(rgba(0x282b3cff).into()), elevated_surface_background: Some(rgba(0x292d3eff).into()), surface_background: Some(rgba(0x292d3eff).into()), background: Some(rgba(0x292d3eff).into()), element_background: Some(rgba(0x7e57c2cc).into()), element_hover: Some(rgba(0x0000001a).into()), element_selected: Some(rgba(0x7e57c2ff).into()), drop_target_background: Some(rgba(0x2e3245ff).into()), ghost_element_hover: Some(rgba(0x0000001a).into()), ghost_element_selected: Some(rgba(0x7e57c2ff).into()), text: Some(rgba(0xffffffff).into()), text_muted: Some(rgba(0x929ac9ff).into()), status_bar_background: Some(rgba(0x282c3dff).into()), title_bar_background: Some(rgba(0x292d3eff).into()), toolbar_background: Some(rgba(0x292d3eff).into()), tab_bar_background: Some(rgba(0x31364aff).into()), tab_inactive_background: Some(rgba(0x31364aff).into()), tab_active_background: Some(rgba(0x292d3eff).into()), scrollbar_thumb_background: Some(rgba(0x694ca466).into()), scrollbar_thumb_hover_background: Some(rgba(0x694ca4cc).into()), scrollbar_thumb_border: Some(rgba(0x694ca466).into()), scrollbar_track_background: Some(rgba(0x292d3eff).into()), editor_foreground: Some(rgba(0xffffffff).into()), editor_background: Some(rgba(0x292d3eff).into()), editor_gutter_background: Some(rgba(0x292d3eff).into()), editor_line_number: Some(rgba(0x4c5374ff).into()), editor_active_line_number: Some(rgba(0xbfc7d5ff).into()), terminal_ansi_bright_black: Some(rgba(0x676e95ff).into()), terminal_ansi_bright_red: Some(rgba(0xff5572ff).into()), terminal_ansi_bright_green: Some(rgba(0xc3e88dff).into()), terminal_ansi_bright_yellow: Some(rgba(0xffcb6bff).into()), terminal_ansi_bright_blue: Some(rgba(0x82aaffff).into()), terminal_ansi_bright_magenta: Some(rgba(0xc792eaff).into()), terminal_ansi_bright_cyan: Some(rgba(0x89ddffff).into()), terminal_ansi_bright_white: Some(rgba(0xffffffff).into()), terminal_ansi_black: Some(rgba(0x676e95ff).into()), terminal_ansi_red: Some(rgba(0xff5572ff).into()), terminal_ansi_green: Some(rgba(0xa9c77dff).into()), terminal_ansi_yellow: Some(rgba(0xffcb6bff).into()), terminal_ansi_blue: Some(rgba(0x82aaffff).into()), terminal_ansi_magenta: Some(rgba(0xc792eaff).into()), terminal_ansi_cyan: Some(rgba(0x89ddffff).into()), terminal_ansi_white: Some(rgba(0xffffffff).into()), ..Default::default() }, status: StatusColorsRefinement { conflict: Some(rgba(0xffeb95cc).into()), created: Some(rgba(0x9ccc65ff).into()), deleted: Some(rgba(0xef5350ff).into()), error: Some(rgba(0xef5350ff).into()), hidden: Some(rgba(0x929ac9ff).into()), hint: Some(rgba(0x969696ff).into()), ignored: Some(rgba(0x69709890).into()), modified: Some(rgba(0xe2b93dff).into()), ..Default::default() }, syntax: Some(UserSyntaxTheme { highlights: vec![ ( "attribute".into(), UserHighlightStyle { color: Some(rgba(0xffcb6bff).into()), ..Default::default() }, ), ( "boolean".into(), UserHighlightStyle { color: Some(rgba(0x82aaffff).into()), ..Default::default() }, ), ( "comment".into(), UserHighlightStyle { color: Some(rgba(0x697098ff).into()), font_style: Some(UserFontStyle::Italic), ..Default::default() }, ), ( "comment.doc".into(), UserHighlightStyle { color: Some(rgba(0x697098ff).into()), font_style: Some(UserFontStyle::Italic), ..Default::default() }, ), ( "constant".into(), UserHighlightStyle { color: Some(rgba(0x82aaffff).into()), ..Default::default() }, ), ( "constructor".into(), UserHighlightStyle { color: Some(rgba(0xff5572ff).into()), ..Default::default() }, ), ( "emphasis".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), font_style: Some(UserFontStyle::Italic), ..Default::default() }, ), ( "emphasis.strong".into(), UserHighlightStyle { color: Some(rgba(0xffcb6bff).into()), font_weight: Some(UserFontWeight(700.0)), ..Default::default() }, ), ( "function".into(), UserHighlightStyle { color: Some(rgba(0x82aaffff).into()), ..Default::default() }, ), ( "keyword".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "link_text".into(), UserHighlightStyle { color: Some(rgba(0xff869aff).into()), ..Default::default() }, ), ( "link_uri".into(), UserHighlightStyle { color: Some(rgba(0xff869aff).into()), ..Default::default() }, ), ( "number".into(), UserHighlightStyle { color: Some(rgba(0xf78c6cff).into()), ..Default::default() }, ), ( "operator".into(), UserHighlightStyle { color: Some(rgba(0x89ddffff).into()), ..Default::default() }, ), ( "property".into(), UserHighlightStyle { color: Some(rgba(0x80cbc4ff).into()), ..Default::default() }, ), ( "punctuation".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "punctuation.bracket".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "punctuation.delimiter".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "punctuation.list_marker".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "punctuation.special".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "string".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "string.escape".into(), UserHighlightStyle { color: Some(rgba(0x82aaffff).into()), ..Default::default() }, ), ( "string.regex".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "string.special".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "string.special.symbol".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "tag".into(), UserHighlightStyle { color: Some(rgba(0xff5572ff).into()), ..Default::default() }, ), ( "text.literal".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "type".into(), UserHighlightStyle { color: Some(rgba(0xffcb6bff).into()), ..Default::default() }, ), ( "variable".into(), UserHighlightStyle { color: Some(rgba(0xffcb6bff).into()), ..Default::default() }, ), ( "variable.special".into(), UserHighlightStyle { color: Some(rgba(0xff5572ff).into()), ..Default::default() }, ), ], }), }, }, UserTheme { name: "Palenight (Mild Contrast)".into(), appearance: Appearance::Dark, styles: UserThemeStylesRefinement { colors: ThemeColorsRefinement { border: Some(rgba(0x2c2f40ff).into()), border_variant: Some(rgba(0x2c2f40ff).into()), border_focused: Some(rgba(0x2c2f40ff).into()), border_selected: Some(rgba(0x2c2f40ff).into()), border_transparent: Some(rgba(0x2c2f40ff).into()), border_disabled: Some(rgba(0x2c2f40ff).into()), elevated_surface_background: Some(rgba(0x292d3eff).into()), surface_background: Some(rgba(0x25293aff).into()), background: Some(rgba(0x292d3eff).into()), element_background: Some(rgba(0x7e57c2cc).into()), element_hover: Some(rgba(0x0000001a).into()), element_selected: Some(rgba(0x7e57c2ff).into()), drop_target_background: Some(rgba(0x2e3245ff).into()), ghost_element_hover: Some(rgba(0x0000001a).into()), ghost_element_selected: Some(rgba(0x7e57c2ff).into()), text: Some(rgba(0xffffffff).into()), text_muted: Some(rgba(0x929ac9ff).into()), status_bar_background: Some(rgba(0x25293aff).into()), title_bar_background: Some(rgba(0x25293aff).into()), toolbar_background: Some(rgba(0x292d3eff).into()), tab_bar_background: Some(rgba(0x31364aff).into()), tab_inactive_background: Some(rgba(0x31364aff).into()), tab_active_background: Some(rgba(0x25293aff).into()), scrollbar_thumb_background: Some(rgba(0x694ca466).into()), scrollbar_thumb_hover_background: Some(rgba(0x694ca4cc).into()), scrollbar_thumb_border: Some(rgba(0x694ca466).into()), scrollbar_track_background: Some(rgba(0x292d3eff).into()), editor_foreground: Some(rgba(0xffffffff).into()), editor_background: Some(rgba(0x292d3eff).into()), editor_gutter_background: Some(rgba(0x292d3eff).into()), editor_line_number: Some(rgba(0x4c5374ff).into()), editor_active_line_number: Some(rgba(0xbfc7d5ff).into()), terminal_ansi_bright_black: Some(rgba(0x676e95ff).into()), terminal_ansi_bright_red: Some(rgba(0xff5572ff).into()), terminal_ansi_bright_green: Some(rgba(0xc3e88dff).into()), terminal_ansi_bright_yellow: Some(rgba(0xffcb6bff).into()), terminal_ansi_bright_blue: Some(rgba(0x82aaffff).into()), terminal_ansi_bright_magenta: Some(rgba(0xc792eaff).into()), terminal_ansi_bright_cyan: Some(rgba(0x89ddffff).into()), terminal_ansi_bright_white: Some(rgba(0xffffffff).into()), terminal_ansi_black: Some(rgba(0x676e95ff).into()), terminal_ansi_red: Some(rgba(0xff5572ff).into()), terminal_ansi_green: Some(rgba(0xa9c77dff).into()), terminal_ansi_yellow: Some(rgba(0xffcb6bff).into()), terminal_ansi_blue: Some(rgba(0x82aaffff).into()), terminal_ansi_magenta: Some(rgba(0xc792eaff).into()), terminal_ansi_cyan: Some(rgba(0x89ddffff).into()), terminal_ansi_white: Some(rgba(0xffffffff).into()), ..Default::default() }, status: StatusColorsRefinement { conflict: Some(rgba(0xffeb95cc).into()), created: Some(rgba(0x9ccc65ff).into()), deleted: Some(rgba(0xef5350ff).into()), error: Some(rgba(0xef5350ff).into()), hidden: Some(rgba(0x929ac9ff).into()), hint: Some(rgba(0x969696ff).into()), ignored: Some(rgba(0x69709890).into()), modified: Some(rgba(0xe2b93dff).into()), ..Default::default() }, syntax: Some(UserSyntaxTheme { highlights: vec![ ( "attribute".into(), UserHighlightStyle { color: Some(rgba(0xffcb6bff).into()), ..Default::default() }, ), ( "boolean".into(), UserHighlightStyle { color: Some(rgba(0x82aaffff).into()), ..Default::default() }, ), ( "comment".into(), UserHighlightStyle { color: Some(rgba(0x697098ff).into()), font_style: Some(UserFontStyle::Italic), ..Default::default() }, ), ( "comment.doc".into(), UserHighlightStyle { color: Some(rgba(0x697098ff).into()), font_style: Some(UserFontStyle::Italic), ..Default::default() }, ), ( "constant".into(), UserHighlightStyle { color: Some(rgba(0x82aaffff).into()), ..Default::default() }, ), ( "constructor".into(), UserHighlightStyle { color: Some(rgba(0xff5572ff).into()), ..Default::default() }, ), ( "emphasis".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), font_style: Some(UserFontStyle::Italic), ..Default::default() }, ), ( "emphasis.strong".into(), UserHighlightStyle { color: Some(rgba(0xffcb6bff).into()), font_weight: Some(UserFontWeight(700.0)), ..Default::default() }, ), ( "function".into(), UserHighlightStyle { color: Some(rgba(0x82aaffff).into()), ..Default::default() }, ), ( "keyword".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "link_text".into(), UserHighlightStyle { color: Some(rgba(0xff869aff).into()), ..Default::default() }, ), ( "link_uri".into(), UserHighlightStyle { color: Some(rgba(0xff869aff).into()), ..Default::default() }, ), ( "number".into(), UserHighlightStyle { color: Some(rgba(0xf78c6cff).into()), ..Default::default() }, ), ( "operator".into(), UserHighlightStyle { color: Some(rgba(0x89ddffff).into()), ..Default::default() }, ), ( "property".into(), UserHighlightStyle { color: Some(rgba(0x80cbc4ff).into()), ..Default::default() }, ), ( "punctuation".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "punctuation.bracket".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "punctuation.delimiter".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "punctuation.list_marker".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "punctuation.special".into(), UserHighlightStyle { color: Some(rgba(0xc792eaff).into()), ..Default::default() }, ), ( "string".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "string.escape".into(), UserHighlightStyle { color: Some(rgba(0x82aaffff).into()), ..Default::default() }, ), ( "string.regex".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "string.special".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "string.special.symbol".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "tag".into(), UserHighlightStyle { color: Some(rgba(0xff5572ff).into()), ..Default::default() }, ), ( "text.literal".into(), UserHighlightStyle { color: Some(rgba(0xc3e88dff).into()), ..Default::default() }, ), ( "type".into(), UserHighlightStyle { color: Some(rgba(0xffcb6bff).into()), ..Default::default() }, ), ( "variable".into(), UserHighlightStyle { color: Some(rgba(0xffcb6bff).into()), ..Default::default() }, ), ( "variable.special".into(), UserHighlightStyle { color: Some(rgba(0xff5572ff).into()), ..Default::default() }, ), ], }), }, }, ], } }