// 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 dracula() -> UserThemeFamily { UserThemeFamily { name: "Dracula".into(), author: "Zeno Rocha".into(), themes: vec![UserTheme { name: "Dracula".into(), appearance: Appearance::Dark, styles: UserThemeStylesRefinement { colors: ThemeColorsRefinement { border: Some(rgba(0xbd93f9ff).into()), border_variant: Some(rgba(0xbd93f9ff).into()), border_focused: Some(rgba(0x6272a4ff).into()), border_selected: Some(rgba(0xbd93f9ff).into()), border_transparent: Some(rgba(0xbd93f9ff).into()), border_disabled: Some(rgba(0xbd93f9ff).into()), elevated_surface_background: Some(rgba(0x282a36ff).into()), surface_background: Some(rgba(0x282a36ff).into()), background: Some(rgba(0x282a36ff).into()), element_background: Some(rgba(0x44475aff).into()), element_hover: Some(rgba(0x44475a75).into()), element_selected: Some(rgba(0x44475aff).into()), drop_target_background: Some(rgba(0x44475aff).into()), ghost_element_hover: Some(rgba(0x44475a75).into()), text: Some(rgba(0xf8f8f2ff).into()), status_bar_background: Some(rgba(0x191a21ff).into()), title_bar_background: Some(rgba(0x21222cff).into()), toolbar_background: Some(rgba(0x282a36ff).into()), tab_bar_background: Some(rgba(0x282a36ff).into()), tab_inactive_background: Some(rgba(0x21222cff).into()), tab_active_background: Some(rgba(0x282a36ff).into()), editor_background: Some(rgba(0x282a36ff).into()), editor_gutter_background: Some(rgba(0x282a36ff).into()), editor_line_number: Some(rgba(0x6272a4ff).into()), editor_active_line_number: Some(rgba(0xf8f8f2ff).into()), terminal_background: Some(rgba(0x282a36ff).into()), terminal_ansi_bright_black: Some(rgba(0x6272a4ff).into()), terminal_ansi_bright_red: Some(rgba(0xff6e6eff).into()), terminal_ansi_bright_green: Some(rgba(0x69ff94ff).into()), terminal_ansi_bright_yellow: Some(rgba(0xffffa5ff).into()), terminal_ansi_bright_blue: Some(rgba(0xd6acffff).into()), terminal_ansi_bright_magenta: Some(rgba(0xff92dfff).into()), terminal_ansi_bright_cyan: Some(rgba(0xa4ffffff).into()), terminal_ansi_bright_white: Some(rgba(0xffffffff).into()), terminal_ansi_black: Some(rgba(0x21222cff).into()), terminal_ansi_red: Some(rgba(0xff5555ff).into()), terminal_ansi_green: Some(rgba(0x50fa7bff).into()), terminal_ansi_yellow: Some(rgba(0xf1fa8cff).into()), terminal_ansi_blue: Some(rgba(0xbd93f9ff).into()), terminal_ansi_magenta: Some(rgba(0xff79c6ff).into()), terminal_ansi_cyan: Some(rgba(0x8be9fdff).into()), terminal_ansi_white: Some(rgba(0xf8f8f2ff).into()), ..Default::default() }, status: StatusColorsRefinement { conflict: Some(rgba(0xffb86cff).into()), created: Some(rgba(0x50fa7bff).into()), deleted: Some(rgba(0xff5555ff).into()), error: Some(rgba(0xff5555ff).into()), hidden: Some(rgba(0x6272a4ff).into()), hint: Some(rgba(0x969696ff).into()), ignored: Some(rgba(0x6272a4ff).into()), modified: Some(rgba(0x8be9fdff).into()), warning: Some(rgba(0xffb86cff).into()), ..Default::default() }, syntax: Some(UserSyntaxTheme { highlights: vec![ ( "attribute".into(), UserHighlightStyle { color: Some(rgba(0x50fa7bff).into()), font_style: Some(UserFontStyle::Italic), ..Default::default() }, ), ( "comment".into(), UserHighlightStyle { color: Some(rgba(0x6272a4ff).into()), ..Default::default() }, ), ( "comment.doc".into(), UserHighlightStyle { color: Some(rgba(0x6272a4ff).into()), ..Default::default() }, ), ( "constant".into(), UserHighlightStyle { color: Some(rgba(0xbd93f9ff).into()), ..Default::default() }, ), ( "constructor".into(), UserHighlightStyle { color: Some(rgba(0xff79c6ff).into()), ..Default::default() }, ), ( "emphasis".into(), UserHighlightStyle { color: Some(rgba(0xf1fa8cff).into()), font_style: Some(UserFontStyle::Italic), ..Default::default() }, ), ( "emphasis.strong".into(), UserHighlightStyle { color: Some(rgba(0xffb86cff).into()), font_weight: Some(UserFontWeight(700.0)), ..Default::default() }, ), ( "function".into(), UserHighlightStyle { color: Some(rgba(0x50fa7bff).into()), ..Default::default() }, ), ( "keyword".into(), UserHighlightStyle { color: Some(rgba(0xff79c6ff).into()), ..Default::default() }, ), ( "link_text".into(), UserHighlightStyle { color: Some(rgba(0x8be9fdff).into()), ..Default::default() }, ), ( "link_uri".into(), UserHighlightStyle { color: Some(rgba(0x8be9fdff).into()), ..Default::default() }, ), ( "number".into(), UserHighlightStyle { color: Some(rgba(0xbd93f9ff).into()), ..Default::default() }, ), ( "string".into(), UserHighlightStyle { color: Some(rgba(0xf1fa8cff).into()), ..Default::default() }, ), ( "string.escape".into(), UserHighlightStyle { color: Some(rgba(0xf1fa8cff).into()), ..Default::default() }, ), ( "string.regex".into(), UserHighlightStyle { color: Some(rgba(0xf1fa8cff).into()), ..Default::default() }, ), ( "string.special".into(), UserHighlightStyle { color: Some(rgba(0xf1fa8cff).into()), ..Default::default() }, ), ( "string.special.symbol".into(), UserHighlightStyle { color: Some(rgba(0xf1fa8cff).into()), ..Default::default() }, ), ( "tag".into(), UserHighlightStyle { color: Some(rgba(0xff79c6ff).into()), ..Default::default() }, ), ( "text.literal".into(), UserHighlightStyle { color: Some(rgba(0xf1fa8cff).into()), ..Default::default() }, ), ( "type".into(), UserHighlightStyle { color: Some(rgba(0x8be9fdff).into()), font_style: Some(UserFontStyle::Italic), ..Default::default() }, ), ( "variable".into(), UserHighlightStyle { color: Some(rgba(0xf8f8f2ff).into()), ..Default::default() }, ), ( "variable.special".into(), UserHighlightStyle { color: Some(rgba(0xbd93f9ff).into()), font_style: Some(UserFontStyle::Italic), ..Default::default() }, ), ], }), }, }], } }