mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-07-18 00:07:00 +02:00
all possible insanities simultaneously.
but at least deleting more than i'm writing (hopefully!)
This commit is contained in:
parent
9dbf4fcab5
commit
5d627f7669
5 changed files with 868 additions and 815 deletions
10
src/color.rs
10
src/color.rs
|
|
@ -55,7 +55,15 @@ impl ItemColor {
|
|||
}
|
||||
}
|
||||
|
||||
pub struct ItemTheme {}
|
||||
pub struct ItemTheme {
|
||||
pub base: ItemColor,
|
||||
pub light: ItemColor,
|
||||
pub lighter: ItemColor,
|
||||
pub lightest: ItemColor,
|
||||
pub dark: ItemColor,
|
||||
pub darker: ItemColor,
|
||||
pub darkest: ItemColor,
|
||||
}
|
||||
impl_from!(ItemTheme: |base: ItemColor| Self::from_item_color(base));
|
||||
impl_from!(ItemTheme: |base: Color| Self::from_tui_color(base));
|
||||
impl ItemTheme {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue