Commit fb6ac1a2 authored by Nicolas Chevobbe's avatar Nicolas Chevobbe
Browse files

Bug 1933653 - [devtools] Fix shape editor active point text in High Contrast...

Bug 1933653 - [devtools] Fix shape editor active point text in High Contrast Mode. r=devtools-reviewers,jdescottes

Differential Revision: https://phabricator.services.mozilla.com/D230368
parent b19eabe5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -11,9 +11,11 @@
    var(--theme-highlight-yellow),
    #521C76
  );
  --inspector-highlight-color: inherit;

  &[forced-colors-active] {
    --inspector-highlight-background-color: Mark;
    --inspector-highlight-color: MarkText;
  }
}

+1 −0
Original line number Diff line number Diff line
@@ -78,6 +78,7 @@
.inspector-shape-point.active,
.inspector-shapeswatch[aria-pressed="true"] + .inspector-shape > .inspector-shape-point:hover {
  background-color: var(--inspector-highlight-background-color);
  color: var(--inspector-highlight-color);
  /* Add an outline so when the property is highlighted because of search,
     the active point still stands out */
  outline: 1px solid var(--theme-contrast-border);