Skip to content

Commit

Permalink
fix: add back source_color
Browse files Browse the repository at this point in the history
  • Loading branch information
InioX committed Dec 20, 2023
1 parent f657ccd commit 662f285
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/util/template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ struct Colors {
text_primary_on_accent: ColorVariants,
text_secondary_on_accent: ColorVariants,
volume_background: ColorVariants,
source_color: ColorVariants,
}

use super::color::Color;
Expand Down Expand Up @@ -319,6 +320,7 @@ fn generate_colors(
text_primary_on_accent: generate_single_color("text_primary_on_accent", &schemes, source_color, default_scheme, true)?,
text_secondary_on_accent: generate_single_color("text_secondary_on_accent", &schemes, source_color, default_scheme, true)?,
volume_background: generate_single_color("volume_background", &schemes, source_color, default_scheme, true)?,
source_color: generate_single_color("source_color", &schemes, source_color, default_scheme, false)?,
})
}

Expand Down

0 comments on commit 662f285

Please sign in to comment.