ladybird/Libraries/LibWebView/PlatformColorsMacOS.cpp
Andreas Kling 202159be18 UI: Share macOS web selection color
Move the active macOS web selection color into LibWebView so AppKit
and Qt use the same value when building the WebContent system palette.
Qt now also asks AppKit for inactive selection colors on macOS, matching
the AppKit frontend while leaving other Qt platforms on QPalette.
2026-06-22 01:13:53 +02:00

16 lines
258 B
C++

/*
* Copyright (c) 2026-present, the Ladybird developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWebView/PlatformColors.h>
namespace WebView {
Gfx::Color macos_web_selection_color()
{
return Gfx::Color(128, 188, 254, 153);
}
}