vcl/osx/salframe.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 66ac4d9171fee9d425d3301933c1eb8e85c25933
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Oct 21 21:36:29 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sat Oct 22 13:21:02 2022 +0200

    macos: set Dialog and DialogText color explicitly from theme
    
    noticeable in start center wrt dark/light logo variant
    if experimentally enabling dark mode
    
    Change-Id: I181399861878d797f207da903c3c21d7f8ed7576
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141656
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index ef79254de304..3af750df4c7a 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -1336,6 +1336,9 @@ SAL_WNODEPRECATED_DECLARATIONS_POP
         aStyleSettings.SetDefaultButtonTextColor(aSelectedControlTextColor);
     }
 
+    aStyleSettings.SetDialogColor(aWindowBackgroundColor);
+    aStyleSettings.SetDialogTextColor(aControlTextColor);
+
     // Set text colors for tabs according to OS settings
 
     aStyleSettings.SetTabTextColor(aControlTextColor);

Reply via email to