From 3e64eb0078015558aef03cc87f9d52fc8940e602 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 11 Nov 2024 00:57:46 +0100 Subject: Use a better colour for the name examples in dark UIs (#2888). --- src/wx/name_format_editor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/name_format_editor.cc b/src/wx/name_format_editor.cc index 8f325efaf..166b0e145 100644 --- a/src/wx/name_format_editor.cc +++ b/src/wx/name_format_editor.cc @@ -51,7 +51,7 @@ NameFormatEditor::NameFormatEditor (wxWindow* parent, dcp::NameFormat name, dcp: font.SetStyle (wxFONTSTYLE_ITALIC); font.SetPointSize (font.GetPointSize() - 1); t->SetFont (font); - t->SetForegroundColour (wxColour (0, 0, 204)); + t->SetForegroundColour(gui_is_dark() ? wxColour(157, 238, 242) : wxColour(0, 0, 204)); } _sizer->Add (titles_sizer); -- cgit v1.2.3