New logo, updates changelog, some code improvements.

This commit is contained in:
hediet
2020-08-14 13:45:43 +02:00
parent f09e345908
commit 7ba2428819
10 changed files with 101 additions and 48 deletions

View File

@@ -0,0 +1,25 @@
import * as React from "react";
import { hotComponent } from "../hotComponent";
import { GUI } from "./GUI";
import { Model } from "../model/Model";
@hotComponent(module)
export class App extends React.Component {
private readonly model = new Model();
constructor(props: any) {
super(props);
if (this.model.runningMode !== "webView") {
if (this.model.theme === "light") {
require("../vscode-light.scss");
} else {
require("../vscode-dark.scss");
}
}
}
render() {
return <GUI model={this.model} />;
}
}