Theme selection and dark background

This commit is contained in:
Misode
2019-12-20 18:57:05 +01:00
parent 98fcf5c1fd
commit 828af07a8a
3 changed files with 25 additions and 2 deletions

View File

@@ -32,6 +32,10 @@ function changeVersion(version) {
});
}
function changeTheme(theme) {
$('body').attr('data-style', theme);
}
function updateView() {
if (structure) {
let {out: sourceOut, component: $component} = generateSourceAndView(table, structure);