Commit 2fd35884 authored by Troy A. Griffitts's avatar Troy A. Griffitts

Renamed wash and dark to green-light and green-dark, respectively

parent 2ea9a43c
......@@ -54,7 +54,7 @@
</script>
<link rel="stylesheet" type="text/css" href="css/index.css" />
<link rel="stylesheet" id="appStyle" type="text/css" href="css/wash.css" />
<link rel="stylesheet" id="appStyle" type="text/css" href="css/green-light.css" />
<style id="fontReadingStyle">
</style>
......
......@@ -664,10 +664,13 @@ console.log('****************** ------------- ***********************');
var ath = window.localStorage.getItem('appTheme');
console.log('storage app theme: ' + ath);
if (!ath) {
if (!ath || ath == 'wash.css') {
console.log('setting default app theme: ' + app.defaultTheme);
window.localStorage.setItem('appTheme', app.defaultTheme);
}
else if (ath == 'dark.css') {
window.localStorage.setItem('appTheme', 'cap-dark.css');
}
app.setAppTheme();
if (!window.localStorage.getItem('appLocale') && !app.checkDefaultLocale) {
window.localStorage.setItem('appLocale', app.defaultLocale);
......@@ -1298,8 +1301,8 @@ console.log('Installed module: ' + app.mods[i].name + '; features.length: ' + ap
$('input[name=viewSelector]').prop('checked', false);
$('input[name=viewSelector][value="'+app.mainViewType+'"]').prop('checked', true);
$('#appTheme').append('<option data-english="Green Light" value="wash.css">Green Light</option>');
$('#appTheme').append('<option data-english="Green Dark" value="dark.css">Green Dark</option>');
$('#appTheme').append('<option data-english="Green Light" value="green-light.css">Green Light</option>');
$('#appTheme').append('<option data-english="Green Dark" value="green-dark.css">Green Dark</option>');
$('#appTheme').append('<option data-english="Brown Light" value="cap-light.css">Brown Light</option>');
$('#appTheme').append('<option data-english="Brown Dark" value="cap-dark.css">Brown Dark</option>');
$('#appTheme').append('<option data-english="Stone Blue Light" value="sb-light.css">Stone Blue Light</option>');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment