Dart backend update and upgrade, visual overhaul, additionally some Ñyqy updates that were meant for master branch #1

Merged
phundrak merged 38 commits from develop into master 2020-05-05 11:44:27 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 282aea97a0 - Show all commits

View File

@ -1,9 +1,9 @@
import './reorganize_html.dart' show reorganizeHtml;
import './theme.dart' show makeThemeChanger, setTheme;
import './theme.dart' show enableThemeChanger, setTheme;
Future<void> main() async {
await setTheme();
await reorganizeHtml().then((_) {
makeThemeChanger();
enableThemeChanger();
});
}

View File

@ -23,7 +23,7 @@ final localStorage = window.localStorage;
var currentTheme = themes[localStorage['theme']];
void makeThemeChanger() {
void enableThemeChanger() {
final darkBtn = querySelector('#darkBtn');
final lightBtn = querySelector('#lightBtn');
final blackBtn = querySelector('#blackBtn');