This PR adjusts the default index.html we serve with bevy run web to work better for a Bevy app that doesn't have any special configuration.
We don't assume anymore that the canvas is already created with ID #bevy, but instead watch for a new canvas to be created (which is the default behavior).
We also adjust the styling to better work with this setup and change the web background color to the default Bevy app background color.
Closes #134.
This PR adjusts the default
index.html
we serve withbevy run web
to work better for a Bevy app that doesn't have any special configuration.We don't assume anymore that the canvas is already created with ID
#bevy
, but instead watch for a new canvas to be created (which is the default behavior).We also adjust the styling to better work with this setup and change the web background color to the default Bevy app background color.