Dart backend update and upgrade, visual overhaul, additionally some Ñyqy updates that were meant for master branch #1
@ -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();
|
||||
});
|
||||
}
|
||||
|
@ -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');
|
||||
|
Reference in New Issue
Block a user