Skip to content

Commit 6545634

Browse files
committed
refactor: make drag over elements background a bit darker so that they are properly visible
1 parent 343ed56 commit 6545634

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ function RemoteFunctions(config = {}) {
820820
if (element._originalDragBackgroundColor === undefined) {
821821
element._originalDragBackgroundColor = element.style.backgroundColor;
822822
}
823-
element.style.backgroundColor = "rgba(66, 133, 244, 0.15)";
823+
element.style.backgroundColor = "rgba(66, 133, 244, 0.22)";
824824

825825
// create the marker element
826826
let marker = window.document.createElement("div");
@@ -1122,7 +1122,7 @@ function RemoteFunctions(config = {}) {
11221122
}
11231123

11241124
// Add subtle hover effect to target element
1125-
target.style.backgroundColor = "rgba(66, 133, 244, 0.1)";
1125+
target.style.backgroundColor = "rgba(66, 133, 244, 0.22)";
11261126
target.style.transition = "background-color 0.2s ease";
11271127

11281128
// Determine indicator type and drop zone based on container layout and cursor position

0 commit comments

Comments
 (0)