Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 92ec6fe

Browse files
author
Narciso Jaramillo
committed
Merge pull request #7315 from adobe/larz/issue-7255
Toned down live highlight decorations
2 parents b7a6469 + 2997b78 commit 92ec6fe

1 file changed

Lines changed: 10 additions & 11 deletions

File tree

src/LiveDevelopment/Agents/RemoteFunctions.js

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -254,27 +254,26 @@ function RemoteFunctions(experimental) {
254254
"border-bottom-right-radius": styles.borderBottomRightRadius,
255255
"border-style": "solid",
256256
"border-width": "1px",
257-
"border-color": "rgb(94,167,255)",
257+
"border-color": "#00a2ff",
258+
"box-shadow": "0 0 1px #fff",
258259
"box-sizing": "border-box"
259260
};
260261

261262
var animateStartValues = {
262-
"opacity": 0,
263-
"background": "rgba(94,167,255, 0.5)",
264-
"box-shadow": "0 0 6px 1px rgba(94,167,255, 0.6), inset 0 0 4px 1px rgba(255,255,255,1)"
263+
"background-color": "rgba(0, 162, 255, 0.5)",
264+
"opacity": 0
265265
};
266266

267267
var animateEndValues = {
268-
"opacity": 1,
269-
"background": "rgba(94,167,255, 0.1)",
270-
"box-shadow": "0 0 1px 0 rgba(94,167,255, 0), inset 0 0 4px 1px rgba(255,255,255,0.8)"
268+
"background-color": "rgba(0, 162, 255, 0)",
269+
"opacity": 1
271270
};
272271

273272
var transitionValues = {
274-
"-webkit-transition-property": "opacity, box-shadow, background",
275-
"-webkit-transition-duration": "0.3s, 0.4s, 0.4s",
276-
"transition-property": "opacity, box-shadow, background",
277-
"transition-duration": "0.3s, 0.4s, 0.4s"
273+
"-webkit-transition-property": "opacity, background-color",
274+
"-webkit-transition-duration": "300ms, 2.3s",
275+
"transition-property": "opacity, background-color",
276+
"transition-duration": "300ms, 2.3s"
278277
};
279278

280279
function _setStyleValues(styleValues, obj) {

0 commit comments

Comments
 (0)