Skip to main content

Theme

Struct Theme 

Source
pub struct Theme {
Show 35 fields pub name: String, pub background: Option<Color>, pub title_try: Color, pub title_rs: Color, pub search_title: Color, pub search_border: Color, pub folder_title: Color, pub folder_border: Color, pub disk_title: Color, pub disk_border: Color, pub preview_title: Color, pub preview_border: Color, pub legends_title: Color, pub legends_border: Color, pub list_date: Color, pub list_highlight_bg: Color, pub list_highlight_fg: Color, pub list_match_fg: Color, pub list_selected_fg: Color, pub helpers_colors: Color, pub status_message: Color, pub popup_bg: Color, pub popup_text: Color, pub icon_rust: Color, pub icon_maven: Color, pub icon_flutter: Color, pub icon_go: Color, pub icon_python: Color, pub icon_mise: Color, pub icon_worktree: Color, pub icon_worktree_lock: Color, pub icon_gitmodules: Color, pub icon_git: Color, pub icon_folder: Color, pub icon_file: Color,
}

Fields§

§name: String§background: Option<Color>§title_try: Color§title_rs: Color§search_title: Color§search_border: Color§folder_title: Color§folder_border: Color§disk_title: Color§disk_border: Color§preview_title: Color§preview_border: Color§legends_title: Color§legends_border: Color§list_date: Color§list_highlight_bg: Color§list_highlight_fg: Color§list_match_fg: Color§list_selected_fg: Color§helpers_colors: Color§status_message: Color§popup_bg: Color§popup_text: Color§icon_rust: Color§icon_maven: Color§icon_flutter: Color§icon_go: Color§icon_python: Color§icon_mise: Color§icon_worktree: Color§icon_worktree_lock: Color§icon_gitmodules: Color§icon_git: Color§icon_folder: Color§icon_file: Color

Implementations§

Source§

impl Theme

Source

pub fn default_theme() -> Self

Source

pub fn catppuccin_mocha() -> Self

Source

pub fn catppuccin_macchiato() -> Self

Source

pub fn dracula() -> Self

Source

pub fn jetbrains_darcula() -> Self

Source

pub fn gruvbox_dark() -> Self

Source

pub fn nord() -> Self

Source

pub fn tokyo_night() -> Self

Source

pub fn one_dark_pro() -> Self

Source

pub fn everforest() -> Self

Source

pub fn synthwave_84() -> Self

Source

pub fn oled_true_black() -> Self

Source

pub fn silver_gray() -> Self

Source

pub fn black_and_white() -> Self

Source

pub fn matrix() -> Self

Source

pub fn tron() -> Self

Source

pub fn monokai_pro() -> Self

Source

pub fn solarized_dark() -> Self

Source

pub fn night_owl() -> Self

Source

pub fn gruvbox_material() -> Self

Source

pub fn zenburn() -> Self

Source

pub fn solarized_light() -> Self

Source

pub fn monokai_pro_light() -> Self

Source

pub fn light_owl() -> Self

Source

pub fn cyberpunk() -> Self

Source

pub fn paper() -> Self

Source

pub fn hacker() -> Self

Source

pub fn ubuntu() -> Self

Source

pub fn man_page() -> Self

Source

pub fn all() -> Vec<Theme>

Trait Implementations§

Source§

impl Clone for Theme

Source§

fn clone(&self) -> Theme

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for Theme

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl Freeze for Theme

§

impl RefUnwindSafe for Theme

§

impl Send for Theme

§

impl Sync for Theme

§

impl Unpin for Theme

§

impl UnsafeUnpin for Theme

§

impl UnwindSafe for Theme

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.