Skip to content

Commit af75f8f

Browse files
committed
fix(Studio-Screen Source Layer Type): correct step counter background
1 parent c7e44cd commit af75f8f

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

meteor/client/styles/_itemTypeColors.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ $segment-layer-background-local: #9a2bd8;
3535
$segment-layer-background-local--second: darken($segment-layer-background-local, 10%);
3636
$segment-layer-background-studio-screen: #641fb3;
3737

38+
$step-counter-background-studio-screen: #2a005b;
39+
3840
$segment-item-disabled-background: #898989;
3941
$segment-item-disabled-color: #c9c9c9;
4042

@@ -78,6 +80,10 @@ $layer-types: join($layer-types-solid, $layer-types-gradient);
7880
}
7981
}
8082
}
83+
84+
&.studio-screen {
85+
--segment-piece-step-counter-background: #{$step-counter-background-studio-screen};
86+
}
8187
}
8288

8389
@mixin piece-colors {
@@ -251,6 +257,10 @@ $layer-types: join($layer-types-solid, $layer-types-gradient);
251257
}
252258
}
253259
}
260+
261+
&.studio-screen {
262+
--segment-piece-step-counter-background: #{$step-counter-background-studio-screen};
263+
}
254264
}
255265

256266
@mixin item-type-borders {

meteor/client/styles/rundownView.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,7 +2149,7 @@ svg.icon {
21492149
vertical-align: top;
21502150
margin-right: 0.2em;
21512151
margin-top: 0.1em;
2152-
background: $segment-piece-step-counter-background;
2152+
background: var(--segment-piece-step-counter-background, #{$segment-piece-step-counter-background});
21532153
display: inline-block;
21542154
padding: 0 0.3em;
21552155
color: $segment-piece-step-counter;
@@ -2907,7 +2907,7 @@ svg.icon {
29072907
position: absolute;
29082908
top: 0;
29092909
left: 0;
2910-
background: $segment-piece-step-counter-background;
2910+
background: var(--segment-piece-step-counter-background, #{$segment-piece-step-counter-background});
29112911
padding: 0 0.2em;
29122912
font-weight: 400;
29132913
text-shadow: 0 0 1px #000, 0.5px 0.5px 8px rgba(0, 0, 0, 0.8);
@@ -3282,7 +3282,7 @@ svg.icon {
32823282
.segment-storyboard__piece__step-chevron,
32833283
.segment-opl__main-piece__label__step-chevron {
32843284
margin-right: 0.2em;
3285-
background: $segment-piece-step-counter-background;
3285+
background: var(--segment-piece-step-counter-background, #{$segment-piece-step-counter-background});
32863286
display: inline-block;
32873287
padding: 0 0.2em;
32883288
color: $segment-piece-step-counter;

0 commit comments

Comments
 (0)