Skip to content

Commit b86bc21

Browse files
committed
wip: properties panel - element selection styling
1 parent 5fe974f commit b86bc21

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed
Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
@import '_variables';
22

33
.element-selected {
4-
animation: blinker 1.5s linear infinite;
4+
// Base glow
5+
box-shadow: inset 0 0 15px var(--primary-color, #ffffff7a);
6+
// Changed animation name from 'blinker' to 'glow' to better reflect its purpose
7+
animation: glow 1s ease-in-out infinite;
58

6-
@keyframes blinker {
7-
20% {
8-
opacity: 0.2;
9-
}
10-
}
11-
}
9+
@keyframes glow {
10+
0%, 100% {
11+
box-shadow: inset 0 0 15px var(--primary-color, #ffffff7b);
12+
}
13+
50% {
14+
box-shadow: inset 0 0 20px var(--primary-color, #ffffff84),
15+
inset 0 0 30px var(--primary-light-color, #ffffff86);
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)