REFACTOR styling

This commit is contained in:
2025-04-23 18:36:33 +02:00
parent 022e789d9c
commit 78c9dc1341
7 changed files with 40 additions and 13 deletions

10
main.py
View File

@@ -15,12 +15,18 @@ def main():
"match": None,
"screen": screen,
"previous_states": Stack(),
"font": pygame.font.Font(None, 36),
"small_font": pygame.font.Font(None, 15),
"options": {
"show_yaw": True,
"show_health": True,
"show_names": True
},
"styling": {
"font": pygame.font.Font(None, 36),
"small_font": pygame.font.Font(None, 15),
"button_colour": (200, 200, 200),
"pressed_button_colour": (150, 150, 150),
"text_colour": (255, 255, 255),
"background_colour": (30, 30, 30)
}
}