Include builtin cosmic dark and light theme in color schemes list, fixes #206

This commit is contained in:
Jeremy Soller 2024-06-05 08:51:26 -06:00
parent 69468765b7
commit c0d1ab1fb8
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
4 changed files with 180 additions and 123 deletions

View file

@ -248,7 +248,7 @@ impl From<(&str, &Colors)> for ColorScheme {
}
}
fn cosmic_dark() -> Colors {
pub fn cosmic_dark() -> Colors {
let mut colors = auto_colors();
let encode_rgb = |data: u32| -> Rgb {
@ -289,7 +289,7 @@ fn cosmic_dark() -> Colors {
colors
}
fn cosmic_light() -> Colors {
pub fn cosmic_light() -> Colors {
let mut colors = auto_colors();
let encode_rgb = |data: u32| -> Rgb {