Bug 481853 - -moz-mac-focusring color isn't quite right. r=josh, sr=roc

This commit is contained in:
Markus Stange 2009-03-23 12:05:46 +01:00
parent a6eaccecf4
commit d2d6ca4e03

View File

@ -304,8 +304,8 @@ nsresult nsLookAndFeel::NativeGetColor(const nsColorID aID, nscolor &aColor)
}
break;
case eColor__moz_mac_focusring:
//default to lavender if not available
res = GetMacBrushColor(kThemeBrushFocusHighlight, aColor, NS_RGB(0x63,0x63,0xCE));
aColor = [NSColor currentControlTint] == NSGraphiteControlTint ?
NS_RGB(0x5F,0x70,0x82) : NS_RGB(0x53,0x90,0xD2);
break;
case eColor__moz_mac_menushadow:
res = GetMacBrushColor(kThemeBrushBevelActiveDark, aColor, NS_RGB(0x88,0x88,0x88));