Bug 1738156 - Tweak default dark hyperlink colors. r=morgan

Note that this is on top of D129993.

Differential Revision: https://phabricator.services.mozilla.com/D129999
This commit is contained in:
Emilio Cobos Álvarez 2021-11-09 14:33:53 +00:00
parent 713c899320
commit 4ad52902c3
2 changed files with 5 additions and 5 deletions

View File

@ -819,7 +819,7 @@
- name: browser.active_color.dark
type: String
value: "#FF9E9E"
value: "#FF6666"
mirror: never
- name: browser.anchor_color
@ -831,7 +831,7 @@
# nsXPLookAndFeel::GenericDarkColor for MozNativehyperlinktext.
- name: browser.anchor_color.dark
type: String
value: "#9E9EFF"
value: "#8C8CFF"
mirror: never
# See http://dev.w3.org/html5/spec/forms.html#attr-fe-autofocus
@ -1463,7 +1463,7 @@
# nsXPLookAndFeel::GenericDarkColor for MozNativevisitedhyperlinktext.
- name: browser.visited_color.dark
type: String
value: "#D0ADF0"
value: "#FFADFF"
mirror: never
# When true, soft reloads (including location.reload())

View File

@ -685,12 +685,12 @@ Maybe<nscolor> nsXPLookAndFeel::GenericDarkColor(ColorID aID) {
case ColorID::MozNativehyperlinktext:
// If you change this color, you probably also want to change the default
// value of browser.anchor_color.dark.
color = NS_RGB(0x9e, 0x9e, 0xff);
color = NS_RGB(0x8c, 0x8c, 0xff);
break;
case ColorID::MozNativevisitedhyperlinktext:
// If you change this color, you probably also want to change the default
// value of browser.visited_color.dark.
color = NS_RGB(0xd0, 0xad, 0xf0);
color = NS_RGB(0xff, 0xad, 0xff);
break;
default: