pub struct CodeThemePalette { /* private fields */ }Expand description
Resolved VS Code Eva Light Bold / Eva Dark Bold color palette for EuvCodeBlock and Markdown syntax chrome.
Implementations§
Source§impl CodeThemePalette
Exact VS Code Eva Light Bold / Eva Dark Bold palette resolution for CodeThemePalette.
impl CodeThemePalette
Exact VS Code Eva Light Bold / Eva Dark Bold palette resolution for CodeThemePalette.
Sourcepub fn token_style(&self, kind: CodeTokenKind) -> (Color, FontWeight)
pub fn token_style(&self, kind: CodeTokenKind) -> (Color, FontWeight)
Source§impl CodeThemePalette
impl CodeThemePalette
pub fn get_theme_name(&self) -> &&'static str
pub fn get_mut_theme_name(&mut self) -> &mut &'static str
pub fn set_theme_name(&mut self, val: &'static str) -> &mut Self
pub fn get_background(&self) -> Color
pub fn get_mut_background(&mut self) -> &mut Color
pub fn set_background(&mut self, val: Color) -> &mut Self
pub fn get_header_bg(&self) -> Color
pub fn get_mut_header_bg(&mut self) -> &mut Color
pub fn set_header_bg(&mut self, val: Color) -> &mut Self
pub fn get_border(&self) -> Color
pub fn get_mut_border(&mut self) -> &mut Color
pub fn set_border(&mut self, val: Color) -> &mut Self
pub fn get_foreground(&self) -> Color
pub fn get_mut_foreground(&mut self) -> &mut Color
pub fn set_foreground(&mut self, val: Color) -> &mut Self
pub fn get_line_number(&self) -> Color
pub fn get_mut_line_number(&mut self) -> &mut Color
pub fn set_line_number(&mut self, val: Color) -> &mut Self
pub fn get_line_highlight(&self) -> Color
pub fn get_mut_line_highlight(&mut self) -> &mut Color
pub fn set_line_highlight(&mut self, val: Color) -> &mut Self
pub fn get_comment(&self) -> Color
pub fn get_mut_comment(&mut self) -> &mut Color
pub fn set_comment(&mut self, val: Color) -> &mut Self
pub fn get_keyword(&self) -> Color
pub fn get_mut_keyword(&mut self) -> &mut Color
pub fn set_keyword(&mut self, val: Color) -> &mut Self
pub fn get_control(&self) -> Color
pub fn get_mut_control(&mut self) -> &mut Color
pub fn set_control(&mut self, val: Color) -> &mut Self
pub fn get_operator(&self) -> Color
pub fn get_mut_operator(&mut self) -> &mut Color
pub fn set_operator(&mut self, val: Color) -> &mut Self
pub fn get_string(&self) -> Color
pub fn get_mut_string(&mut self) -> &mut Color
pub fn set_string(&mut self, val: Color) -> &mut Self
pub fn get_number(&self) -> Color
pub fn get_mut_number(&mut self) -> &mut Color
pub fn set_number(&mut self, val: Color) -> &mut Self
pub fn get_constant(&self) -> Color
pub fn get_mut_constant(&mut self) -> &mut Color
pub fn set_constant(&mut self, val: Color) -> &mut Self
pub fn get_function(&self) -> Color
pub fn get_mut_function(&mut self) -> &mut Color
pub fn set_function(&mut self, val: Color) -> &mut Self
pub fn get_ty(&self) -> Color
pub fn get_mut_ty(&mut self) -> &mut Color
pub fn set_ty(&mut self, val: Color) -> &mut Self
pub fn get_primitive(&self) -> Color
pub fn get_mut_primitive(&mut self) -> &mut Color
pub fn set_primitive(&mut self, val: Color) -> &mut Self
pub fn get_property(&self) -> Color
pub fn get_mut_property(&mut self) -> &mut Color
pub fn set_property(&mut self, val: Color) -> &mut Self
pub fn get_punctuation(&self) -> Color
pub fn get_mut_punctuation(&mut self) -> &mut Color
pub fn set_punctuation(&mut self, val: Color) -> &mut Self
pub fn get_inline_code_bg(&self) -> Color
pub fn get_mut_inline_code_bg(&mut self) -> &mut Color
pub fn set_inline_code_bg(&mut self, val: Color) -> &mut Self
pub fn get_inline_code_fg(&self) -> Color
pub fn get_mut_inline_code_fg(&mut self) -> &mut Color
pub fn set_inline_code_fg(&mut self, val: Color) -> &mut Self
pub fn get_quote_bg(&self) -> Color
pub fn get_mut_quote_bg(&mut self) -> &mut Color
pub fn set_quote_bg(&mut self, val: Color) -> &mut Self
pub fn get_quote_border(&self) -> Color
pub fn get_mut_quote_border(&mut self) -> &mut Color
pub fn set_quote_border(&mut self, val: Color) -> &mut Self
pub fn get_link(&self) -> Color
pub fn get_mut_link(&mut self) -> &mut Color
pub fn set_link(&mut self, val: Color) -> &mut Self
pub fn get_diff_add(&self) -> Color
pub fn get_mut_diff_add(&mut self) -> &mut Color
pub fn set_diff_add(&mut self, val: Color) -> &mut Self
pub fn get_diff_del(&self) -> Color
pub fn get_mut_diff_del(&mut self) -> &mut Color
pub fn set_diff_del(&mut self, val: Color) -> &mut Self
Trait Implementations§
Source§impl Clone for CodeThemePalette
impl Clone for CodeThemePalette
impl Copy for CodeThemePalette
Source§impl Debug for CodeThemePalette
impl Debug for CodeThemePalette
impl Eq for CodeThemePalette
Source§impl PartialEq for CodeThemePalette
impl PartialEq for CodeThemePalette
impl StructuralPartialEq for CodeThemePalette
Auto Trait Implementations§
impl Forget for CodeThemePalette
impl Freeze for CodeThemePalette
impl Move for CodeThemePalette
impl RefUnwindSafe for CodeThemePalette
impl Send for CodeThemePalette
impl Sync for CodeThemePalette
impl Unpin for CodeThemePalette
impl UnsafeUnpin for CodeThemePalettewhere
&'static str: UnsafeUnpin,
impl UnwindSafe for CodeThemePalettewhere
&'static str: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more