the color of the lozege buttons has been turned lighter

This commit is contained in:
SallarShayegan
2025-02-28 15:26:39 +01:00
parent df52042972
commit d82c3921d7

View File

@ -25,14 +25,14 @@ class LozengeButton:
if self.focused: if self.focused:
w = 0 w = 0
fx_mode_label = font_helvetica16.render(self.name, False, color_primary) fx_mode_label = font_helvetica16.render(self.name, False, color_primary_light)
self.screen.blit(fx_mode_label, (self.x + 20, self.y - 8)) self.screen.blit(fx_mode_label, (self.x + 20, self.y - 8))
else: else:
w = 2 w = 2
fx_mode_label = font_helvetica16.render(str(self.name)[0:1], False, color_primary) fx_mode_label = font_helvetica16.render(str(self.name)[0:1], False, color_primary_light)
self.screen.blit(fx_mode_label, (self.x - fx_mode_label.get_width()/2 + 1, self.screen.blit(fx_mode_label, (self.x - fx_mode_label.get_width()/2 + 1,
self.y - fx_mode_label.get_height()/2 + 1)) self.y - fx_mode_label.get_height()/2 + 1))
pygame.draw.polygon(self.screen, color_primary, pygame.draw.polygon(self.screen, color_primary_light,
[(self.x - self.radius_x, self.y), [(self.x - self.radius_x, self.y),
(self.x, self.y - self.radius_y), (self.x, self.y - self.radius_y),
(self.x + self.radius_x, self.y), (self.x + self.radius_x, self.y),