mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
color changes
This commit is contained in:
parent
611175d2b6
commit
867e9a99f6
@ -2,7 +2,7 @@ import tkinter
|
||||
import tkinter.messagebox
|
||||
import customtkinter
|
||||
|
||||
customtkinter.set_appearance_mode("System") # Other: "Light", "Dark"
|
||||
customtkinter.set_appearance_mode("Dark") # Other: "Light", "System"
|
||||
|
||||
|
||||
class App(tkinter.Tk):
|
||||
|
@ -2,7 +2,7 @@ import tkinter
|
||||
import customtkinter # <- import the CustomTkinter module
|
||||
|
||||
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.geometry("400x240")
|
||||
|
Loading…
Reference in New Issue
Block a user