From bc5d527d68a05754900a50c5e85165122d0a9708 Mon Sep 17 00:00:00 2001 From: Tom Schimansky Date: Mon, 6 Feb 2023 20:07:29 +0100 Subject: [PATCH] added scrollable frame to other theme files #1193 --- customtkinter/assets/themes/dark-blue.json | 3 +++ customtkinter/assets/themes/green.json | 3 +++ test/manual_integration_tests/test_scrollable_frame.py | 2 ++ 3 files changed, 8 insertions(+) diff --git a/customtkinter/assets/themes/dark-blue.json b/customtkinter/assets/themes/dark-blue.json index 1ecf8ab..b418cbf 100644 --- a/customtkinter/assets/themes/dark-blue.json +++ b/customtkinter/assets/themes/dark-blue.json @@ -127,6 +127,9 @@ "scrollbar_button_color": ["gray55", "gray41"], "scrollbar_button_hover_color": ["gray40", "gray53"] }, + "CTkScrollableFrame": { + "label_fg_color": ["gray80", "gray21"] + }, "DropdownMenu": { "fg_color": ["gray90", "gray20"], "hover_color": ["gray75", "gray28"], diff --git a/customtkinter/assets/themes/green.json b/customtkinter/assets/themes/green.json index 14cd8c6..cefab6e 100644 --- a/customtkinter/assets/themes/green.json +++ b/customtkinter/assets/themes/green.json @@ -127,6 +127,9 @@ "scrollbar_button_color": ["gray55", "gray41"], "scrollbar_button_hover_color": ["gray40", "gray53"] }, + "CTkScrollableFrame": { + "label_fg_color": ["gray78", "gray23"] + }, "DropdownMenu": { "fg_color": ["gray90", "gray20"], "hover_color": ["gray75", "gray28"], diff --git a/test/manual_integration_tests/test_scrollable_frame.py b/test/manual_integration_tests/test_scrollable_frame.py index c7c0127..808a4ca 100644 --- a/test/manual_integration_tests/test_scrollable_frame.py +++ b/test/manual_integration_tests/test_scrollable_frame.py @@ -1,5 +1,7 @@ import customtkinter +customtkinter.set_default_color_theme("dark-blue") + app = customtkinter.CTk() app.grid_columnconfigure(2, weight=1)