i have been trying to change the colour of my check buttons for days now, tried Style() and that didn't work, and now i have tried .configure but it doesn't do anything at all...this is my code please help me out if possible, i've gone over the DOCS many times and tried what they said, i'm so lost...this is my code:
#define check buttons
check1 = ttk.Checkbutton(window, text="Meat Lovers", variable=cvar, onvalue=1, offvalue=0).configure(foreground="white", background="black")
check1.grid(column=0, row=1, padx=(5, 95))
check2 = ttk.Checkbutton(window, text="Supreme", variable=cvar2, onvalue=1, offvalue=0).configure(foreground="white", background="black")
check2.grid(column=0, row=3, padx=(10, 120))
check3 = ttk.Checkbutton(window, text="Vegetarian", variable=cvar3, onvalue=1, offvalue=0).configure(foreground="white", background="black")
check3.grid(column=0, row=5, padx=(10, 120))