update to settings tab for theme switcher

pull/1/head
Rob Stupay 7 years ago
parent c1ccb0226a
commit 46f598b641
  1. 21
      src/app/tabs/settings-tab.js

@ -28,6 +28,9 @@ var css = csjs`
padding: .5em;
font-weight: bold;
}
.crow label {
cursor:pointer;
}
.crowNoFlex {
overflow: auto;
clear: both;
@ -81,6 +84,15 @@ function SettingsTab (container, appAPI, appEvents, opts) {
<div><input id="optimize" type="checkbox"></div>
<span class="${css.checkboxText}">Enable Optimization</span>
</div>
<h4 class="${css.heading}">Themes</h4>
<div class="${css.crow}">
<div><input class="${css.col1}" name="theme" id="themeLight" type="radio"></div>
<label for="themeLight">Light Theme</label>
</div>
<div class="${css.crow}">
<div><input class="${css.col1}" name="theme" id="themeDark" type="radio"></div>
<label for="themeDark">Dark Theme</label>
</div>
<hr>
<div class="${css.crowNoFlex}">
<div>Plugin (<i title="Do not use this feature yet" class="fa fa-exclamation-triangle" aria-hidden="true"></i><span> Do not use this alpha feature if you are not sure what you are doing!</span>)</div>
@ -89,15 +101,6 @@ function SettingsTab (container, appAPI, appEvents, opts) {
<input onclick=${loadPlugin} type="button" value="Load" class="${css.pluginLoad}">
</div>
</div>
<h4 class="${css.heading}">Themes</h4>
<div class="${css.crow}">
<div><input class="${css.col1}" name="theme" id="themeLight" type="radio"></div>
<span class="${css.radioText}">Light Theme</span>
</div>
<div class="${css.crow}">
<div><input class="${css.col1}" name="theme" id="themeDark" type="radio"></div>
<span class="${css.radioText}">Dark Theme</span>
</div>
</div>
`

Loading…
Cancel
Save