Skip to content

Commit 02cfbb6

Browse files
committed
update default background color
1 parent e715eca commit 02cfbb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/World/World.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class World {
3636
* background color in index.css to prevent flashing on load
3737
* (src/styles/index.css #scene-container)
3838
*/
39-
scene = createScene({ backgroundColor: 'skyblue' });
39+
scene = createScene({ backgroundColor: 'transparent' });
4040
renderer = createRenderer();
4141
controls = createControls({ camera: camera, canvas: renderer.domElement });
4242
loop = new Loop({ camera, scene, renderer });

src/styles/index.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ h1 {
3232
background to prevent flashing on load
3333
(src/World/components/scene.ts)
3434
*/
35-
background-color: skyblue;
35+
background-color: transparent;
3636
}

0 commit comments

Comments
 (0)