Lucien Cartier-Tilet
f99d45e8ab
This commit removes the `html' package dependency, speeding up the compile time of the Dart code. It also simplifies the code and removes some unused code. For instance the sun, moon, and lightbulb icons is removed, the `Theme' class is removed, and the `switchTheme' function is now merged into the `setTheme' function. The `makeThemeItem' function has also had its second argument removed.
12 lines
300 B
Dart
12 lines
300 B
Dart
import './parse_sitemap.dart' show createSitemap;
|
|
import './reorganize_html.dart' show reorganizeHtml;
|
|
import './theme.dart' show enableThemeChanger, setTheme;
|
|
|
|
Future<void> main() async {
|
|
await setTheme();
|
|
await reorganizeHtml().then((_) {
|
|
enableThemeChanger();
|
|
createSitemap();
|
|
});
|
|
}
|