changed Readme

This commit is contained in:
Tom Schimansky 2022-01-22 16:17:35 +01:00
parent 622a927345
commit d87b3520ba

View File

@ -54,11 +54,11 @@ which gives the following:
### Use custom colors and shapes: ### Use custom colors and shapes:
If you don't specify any colors, customtkinter uses the standard blue color theme in the light mode. If you don't specify any colors, customtkinter uses the standard blue color theme in the light mode.
You can change the color mode to dark by calling You can change the appearance mode to dark by calling
```customtkinter.set_appearance_mode("Dark")```. ```customtkinter.set_appearance_mode("Dark")```.
If you specify custom colors for CustomTkinter elements, the you can either use a If you specify custom colors for CustomTkinter elements, then you can either use a
tuple in the form: (light_color, dark_color). Or you can set a single color tuple in the form: (light_color, dark_color). Or you can set a single color
which will be used in light and dark theme. which will be used in light and dark appearance mode.
```python ```python
customtkinter.set_appearance_mode("Dark") # Other: "Light", "System" customtkinter.set_appearance_mode("Dark") # Other: "Light", "System"