feat: Introduce db_queries for card data, migrations, and updates, and effects_view and theme for GUI components.
This commit is contained in:
11
gui/theme.py
11
gui/theme.py
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user