Skip to content

set_appearance_mode

D. Liam Mc. edited this page Jun 21, 2025 · 1 revision

set_appearance_mode(mode: str)

This is a method that sets which color will be picked from tuple colors, if the color is specified as a tuple color. The mode options are "light", "dark", and "system". The "system" mode automatically matches the default mode of the operating system.

set_appearance_mode("system") #default
set_appearance_mode("light") 
set_appearance_mode("dark")

Clone this wiki locally