Include builtin cosmic dark and light theme in color schemes list, fixes #206
This commit is contained in:
parent
69468765b7
commit
c0d1ab1fb8
4 changed files with 180 additions and 123 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue