format difficulty buttons

This commit is contained in:
cool-mist
2025-05-18 00:22:21 +05:30
parent d90e270cd5
commit d758d03f2d
2 changed files with 13 additions and 6 deletions
+2
View File
@@ -14,6 +14,7 @@ pub enum ButtonColor {
Grey,
Green,
Red,
Blue,
}
impl ButtonColor {
@@ -22,6 +23,7 @@ impl ButtonColor {
ButtonColor::Grey => Color::from_rgba(140, 140, 140, 200),
ButtonColor::Green => Color::from_rgba(112, 140, 141, 200),
ButtonColor::Red => Color::from_rgba(123, 70, 85, 200),
ButtonColor::Blue => Color::from_rgba(140, 120, 250, 200),
}
}