Files
brave-core/patches/ui-native_theme-native_theme_mac.mm.patch
T

13 lines
668 B
Diff

diff --git a/ui/native_theme/native_theme_mac.mm b/ui/native_theme/native_theme_mac.mm
index 597271737417eaf50e17c371c427ff13ac363b80..d684b1be050996f1cebeda36168b568d35b182bf 100644
--- a/ui/native_theme/native_theme_mac.mm
+++ b/ui/native_theme/native_theme_mac.mm
@@ -200,6 +200,7 @@ base::Optional<SkColor> NativeThemeMac::GetOSColor(
// Even with --secondary-ui-md, menus use the platform colors and styling, and
// Mac has a couple of specific color overrides, documented below.
+ GET_BRAVE_COLOR(color_id)
switch (color_id) {
case kColorId_EnabledMenuItemForegroundColor:
return skia::NSSystemColorToSkColor([NSColor controlTextColor]);