Changeset 247179 in webkit


Ignore:
Timestamp:
Jul 5, 2019 2:48:54 PM (5 years ago)
Author:
Devin Rousso
Message:

Web Inspector: current call frame indicator not visible in dark mode
https://bugs.webkit.org/show_bug.cgi?id=199047
<rdar://problem/51922895>

Reviewed by Timothy Hatcher.

  • UserInterface/Views/CallFrameTreeElement.css:

(.tree-outline .item.call-frame .status > .status-image):
(.tree-outline .item.call-frame.selected .status > .status-image):
Replace the CSS variables used for fill with their actual color value (in light mode),
as the semantic "name" of the variable doesn't really match its usage. As an example, the
current call frame shouldn't rely on the value of --border-color, as it's not a "border".

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r247169 r247179  
     12019-07-05  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: current call frame indicator not visible in dark mode
     4        https://bugs.webkit.org/show_bug.cgi?id=199047
     5        <rdar://problem/51922895>
     6
     7        Reviewed by Timothy Hatcher.
     8
     9        * UserInterface/Views/CallFrameTreeElement.css:
     10        (.tree-outline .item.call-frame .status > .status-image):
     11        (.tree-outline .item.call-frame.selected .status > .status-image):
     12        Replace the CSS variables used for `fill` with their actual color value (in `light` mode),
     13        as the semantic "name" of the variable doesn't really match its usage. As an example, the
     14        current call frame shouldn't rely on the value of `--border-color`, as it's not a "border".
     15
    1162019-07-05  Matt Baker  <mattbaker@apple.com>
    217
  • trunk/Source/WebInspectorUI/UserInterface/Views/CallFrameTreeElement.css

    r246624 r247179  
    5353    width: 17px;
    5454    height: 17px;
    55     fill: var(--border-color);
     55    fill: hsl(0, 0%, 70%);
    5656}
    5757
    5858.tree-outline .item.call-frame.selected .status > .status-image {
    59     fill: var(--border-color-dark);
     59    fill: hsl(0, 0%, 57%);
    6060}
    6161
Note: See TracChangeset for help on using the changeset viewer.