Skip to content

Commit

Permalink
feat: highlight color
Browse files Browse the repository at this point in the history
  • Loading branch information
betterRunner committed Sep 6, 2021
1 parent 0e98068 commit 48c074a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content-scripts/renderer/dom/rect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ function setHighlightStyle(ele: HTMLElement, rect: Rect) {
ele.style.top = rect.y - PADDING / 2 + "px";
ele.style.width = `${rect.width + PADDING}px`;
ele.style.height = `${rect.height + PADDING}px`;
ele.style.background = "yellow";
ele.style.opacity = "0.3";
ele.style.background = "rgb(222, 250, 211)";
ele.style.opacity = "0.5";
ele.style.content = " ";
}

Expand Down

0 comments on commit 48c074a

Please sign in to comment.