use crate::colors::{ColorArray, ColorBuilder, ColorComposition, Format};
#[inline]
pub fn background() -> ColorComposition {
(
[0., 0., 0., 1.],
wgpu::Color {
r: 0.,
g: 0.,
b: 0.,
a: 1.,
},
)
}
#[inline]
pub fn cursor() -> ColorArray {
ColorBuilder::from_hex(String::from("#F712FF"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn vi_cursor() -> ColorArray {
ColorBuilder::from_hex(String::from("#12d0ff"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn tabs() -> ColorArray {
ColorBuilder::from_hex(String::from("#443d40"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn tabs_active() -> ColorArray {
ColorBuilder::from_hex(String::from("#f712ff"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn foreground() -> ColorArray {
[1., 1., 1., 1.]
}
#[inline]
pub fn green() -> ColorArray {
ColorBuilder::from_hex(String::from("#2AD947"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn red() -> ColorArray {
ColorBuilder::from_hex(String::from("#FF1261"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn blue() -> ColorArray {
ColorBuilder::from_hex(String::from("#2D9AFF"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn yellow() -> ColorArray {
ColorBuilder::from_hex(String::from("#FCBA28"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn black() -> ColorArray {
ColorBuilder::from_hex(String::from("#393A3D"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn cyan() -> ColorArray {
ColorBuilder::from_hex(String::from("#17d5df"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn magenta() -> ColorArray {
ColorBuilder::from_hex(String::from("#DD30FF"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn white() -> ColorArray {
ColorBuilder::from_hex(String::from("#E7E7E7"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn dim_black() -> ColorArray {
ColorBuilder::from_hex(String::from("#1C191A"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn dim_blue() -> ColorArray {
ColorBuilder::from_hex(String::from("#0E91B7"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn dim_cyan() -> ColorArray {
ColorBuilder::from_hex(String::from("#93D4E7"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn dim_foreground() -> ColorArray {
ColorBuilder::from_hex(String::from("#ECDC8A"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn dim_green() -> ColorArray {
ColorBuilder::from_hex(String::from("#098749"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn dim_magenta() -> ColorArray {
ColorBuilder::from_hex(String::from("#624A87"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn dim_red() -> ColorArray {
ColorBuilder::from_hex(String::from("#F56495"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn dim_white() -> ColorArray {
ColorBuilder::from_hex(String::from("#C1C1C1"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn dim_yellow() -> ColorArray {
ColorBuilder::from_hex(String::from("#E6A003"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn light_black() -> ColorArray {
ColorBuilder::from_hex(String::from("#ADA8A0"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn light_blue() -> ColorArray {
ColorBuilder::from_hex(String::from("#44C9F0"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn light_cyan() -> ColorArray {
ColorBuilder::from_hex(String::from("#7BE1FF"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn light_foreground() -> ColorArray {
ColorBuilder::from_hex(String::from("#F2EFE2"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn light_green() -> ColorArray {
ColorBuilder::from_hex(String::from("#0ED372"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn light_magenta() -> ColorArray {
ColorBuilder::from_hex(String::from("#9E88BE"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn light_red() -> ColorArray {
ColorBuilder::from_hex(String::from("#F25E73"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn light_white() -> ColorArray {
ColorBuilder::from_hex(String::from("#FFFFFF"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn light_yellow() -> ColorArray {
ColorBuilder::from_hex(String::from("#FDF170"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn selection_foreground() -> ColorArray {
ColorBuilder::from_hex(String::from("#44C9F0"), Format::SRGB0_1)
.unwrap()
.to_arr()
}
#[inline]
pub fn selection_background() -> ColorArray {
ColorBuilder::from_hex(String::from("#1C191A"), Format::SRGB0_1)
.unwrap()
.to_arr()
}