dark action labels a bit more readable

This commit is contained in:
Stewart Allen 2022-01-19 14:04:04 -05:00
commit 25c81d3e87
2 changed files with 6 additions and 0 deletions

View file

@ -469,8 +469,10 @@ function set_darkmode(dark) {
prefs.map.space.dark = dark;
if (dark) {
mesh.material.wireframe.color.set(0xeeeeee);
$('app').classList.add('dark');
} else {
mesh.material.wireframe.color.set(0,0,0);
$('app').classList.remove('dark');
}
sky.set({ color: dark ? 0 : 0xffffff });
platform.set({

View file

@ -308,6 +308,10 @@ button.selected:hover {
background-color: rgba(0,255,0,1);
}
.dark .head {
color: #000 !important;
}
/** modes menu top/center **/
#modes {