1
I’m creating a small system in python3 using the Tkinter library, in this system there are many buttons and I would like to standardize the colors using a variable, so I don’t have to keep writing this at all, more or less like this:
padrao = (bg="gray18", fg="green2", activebackground="green2", activeforeground="gray1")
criar_arquivo = Button(container_criar, text="Criar arquivo", command=criar_file, padrao)
but the error and I’ve tried several ways but none worked, and I haven’t found anything on the internet that could help me, is there any way to do this?