Author: leavengood Date: Thu Jun 2 07:02:00 2011 New Revision: 581 URL: http://webpositive.haiku-os.org/changeset/581 Log: Make the selection and search color a much brighter orange. It seems that when searching the inactive search color was used. It had a low alpha and so therefore was hard to see. So I made all three be the same color and alpha. Long term I'd like to have a more dynamic and colorful search like Safari's. But this works for now. Fixes #6214. Modified: webkit/trunk/WebCore/platform/haiku/RenderThemeHaiku.cpp Modified: webkit/trunk/WebCore/platform/haiku/RenderThemeHaiku.cpp ============================================================================== --- webkit/trunk/WebCore/platform/haiku/RenderThemeHaiku.cpp Wed Jun 1 23:43:31 2011 (r580) +++ webkit/trunk/WebCore/platform/haiku/RenderThemeHaiku.cpp Thu Jun 2 07:02:00 2011 (r581) @@ -80,12 +80,12 @@ Color RenderThemeHaiku::platformActiveSelectionBackgroundColor() const { - return Color(255, 206, 121, 170); + return Color(255, 80, 40, 200); } Color RenderThemeHaiku::platformInactiveSelectionBackgroundColor() const { - return Color(255, 206, 121, 90); + return Color(255, 80, 40, 200); } Color RenderThemeHaiku::platformActiveSelectionForegroundColor() const @@ -100,7 +100,7 @@ Color RenderThemeHaiku::platformTextSearchHighlightColor() const { - return Color(255, 195, 76, 200); + return Color(255, 80, 40, 200); } void RenderThemeHaiku::systemFont(int propId, FontDescription&) const