feat: Introduce db_queries for card data, migrations, and updates, and effects_view and theme for GUI components.

This commit is contained in:
kiyreload27
2026-01-02 02:34:34 +00:00
parent 6e2fe461ae
commit ebc0f132db
3 changed files with 154 additions and 259 deletions

View File

@@ -256,6 +256,17 @@ def configure_styles(root: tk.Tk):
# WIDGET HELPER FUNCTIONS
# ═══════════════════════════════════════════════════════════════════════════════
def create_styled_entry(parent, textvariable=None, **kwargs):
"""Create a styled tk.Entry with modern appearance"""
entry = ttk.Entry(
parent,
textvariable=textvariable,
font=FONT_BODY,
**kwargs
)
return entry
def create_styled_button(parent, text, command=None, style_type='default', **kwargs):
"""Create a styled tk.Button with modern appearance"""
bg_colors = {