color changes

This commit is contained in:
Tom Schimansky 2021-03-05 22:08:50 +01:00
parent 611175d2b6
commit 867e9a99f6
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import tkinter
import tkinter.messagebox import tkinter.messagebox
import customtkinter import customtkinter
customtkinter.set_appearance_mode("System") # Other: "Light", "Dark" customtkinter.set_appearance_mode("Dark") # Other: "Light", "System"
class App(tkinter.Tk): class App(tkinter.Tk):

View File

@ -2,7 +2,7 @@ import tkinter
import customtkinter # <- import the CustomTkinter module import customtkinter # <- import the CustomTkinter module
customtkinter.enable_macos_darkmode() customtkinter.enable_macos_darkmode()
customtkinter.set_appearance_mode("System") # Other: "Dark", "System" (only macOS) customtkinter.set_appearance_mode("System") # Other: "Dark", "Light"
root_tk = tkinter.Tk() # create the Tk window like you normally do root_tk = tkinter.Tk() # create the Tk window like you normally do
root_tk.geometry("400x240") root_tk.geometry("400x240")