Skip to content

Commit 7433798

Browse files
committed
Make start indicator outline match line drawing colour
1 parent 8104463 commit 7433798

4 files changed

Lines changed: 77 additions & 679 deletions

File tree

src/Scene.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ class Scene extends React.Component<SceneProps, {}> {
292292
world={this.props.world}
293293
/>
294294
<StartIndicator
295-
className='Scene__startIndicator'
295+
className={`Scene__startIndicator Scene__startIndicator--${this.props.world}`}
296296
aria-hidden={true}
297297
// The centre of the starting square is (startingX, startingY).
298298
// Calculate the top left corner of the indicator

src/Scene.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ $c2lc-scene-top-offset: 20px;
102102
font-size: 2.2px;
103103
}
104104

105-
.Scene__startIndicator .start-indicator-outer-circle {
106-
fill: #1E1E1E;
107-
}
108-
109105
.Scene__startIndicator .start-indicator-inner-circle {
110106
fill: #4C9990;
111107
}

src/Themes.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,10 +1211,6 @@ body.gray-theme {
12111211
fill: #D5D8DD;
12121212
}
12131213

1214-
.Scene__startIndicator .start-indicator-outer-circle {
1215-
fill: #FFFFFF;
1216-
}
1217-
12181214
.Scene__startIndicator .start-indicator-inner-circle {
12191215
fill: #818A98;
12201216
}
@@ -2303,10 +2299,6 @@ body.contrast-theme {
23032299
fill: white;
23042300
}
23052301

2306-
.Scene__startIndicator .start-indicator-outer-circle {
2307-
fill: #FF0000;
2308-
}
2309-
23102302
.Scene__startIndicator .start-indicator-inner-circle {
23112303
fill: #FFFFFF;
23122304
}

0 commit comments

Comments
 (0)