Skip to content

Commit

Permalink
fix some unused stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang committed Dec 5, 2024
1 parent b649f91 commit ca39bde
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/options/config/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ pub struct Styles {
#[cfg(not(target_os = "windows"))]
pub(crate) cache_style: Style,
pub(crate) swap_style: Style,
#[cfg(feature = "zfs")]
pub(crate) arc_style: Style,
#[cfg(feature = "gpu")]
pub(crate) gpu_colours: Vec<Style>,
pub(crate) rx_style: Style,
pub(crate) tx_style: Style,
Expand Down
4 changes: 4 additions & 0 deletions src/options/config/style/themes/default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ impl Styles {
#[cfg(not(target_os = "windows"))]
cache_style: color!(FIFTH_COLOUR),
swap_style: color!(SECOND_COLOUR),
#[cfg(feature = "zfs")]
arc_style: color!(THIRD_COLOUR),
#[cfg(feature = "gpu")]
gpu_colours: vec![
color!(FOURTH_COLOUR),
color!(Color::LightBlue),
Expand Down Expand Up @@ -74,7 +76,9 @@ impl Styles {
#[cfg(not(target_os = "windows"))]
cache_style: color!(Color::LightRed),
swap_style: color!(Color::Red),
#[cfg(feature = "zfs")]
arc_style: color!(Color::LightBlue),
#[cfg(feature = "gpu")]
gpu_colours: vec![
color!(Color::LightGreen),
color!(Color::LightCyan),
Expand Down
4 changes: 4 additions & 0 deletions src/options/config/style/themes/gruvbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ impl Styles {
#[cfg(not(target_os = "windows"))]
cache_style: hex!("#b16286"),
swap_style: hex!("#fabd2f"),
#[cfg(feature = "zfs")]
arc_style: hex!("#689d6a"),
#[cfg(feature = "gpu")]
gpu_colours: vec![
hex!("#d79921"),
hex!("#458588"),
Expand Down Expand Up @@ -74,7 +76,9 @@ impl Styles {
#[cfg(not(target_os = "windows"))]
cache_style: hex!("#d79921"),
swap_style: hex!("#cc241d"),
#[cfg(feature = "zfs")]
arc_style: hex!("#689d6a"),
#[cfg(feature = "gpu")]
gpu_colours: vec![
hex!("#9d0006"),
hex!("#98971a"),
Expand Down
4 changes: 4 additions & 0 deletions src/options/config/style/themes/nord.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ impl Styles {
#[cfg(not(target_os = "windows"))]
cache_style: hex!("#d8dee9"),
swap_style: hex!("#d08770"),
#[cfg(feature = "zfs")]
arc_style: hex!("#5e81ac"),
#[cfg(feature = "gpu")]
gpu_colours: vec![
hex!("#8fbcbb"),
hex!("#81a1c1"),
Expand Down Expand Up @@ -62,7 +64,9 @@ impl Styles {
#[cfg(not(target_os = "windows"))]
cache_style: hex!("#4c566a"),
swap_style: hex!("#d08770"),
#[cfg(feature = "zfs")]
arc_style: hex!("#5e81ac"),
#[cfg(feature = "gpu")]
gpu_colours: vec![
hex!("#8fbcbb"),
hex!("#88c0d0"),
Expand Down

0 comments on commit ca39bde

Please sign in to comment.