fix sheet background color error in dark mode, set auto dark mode is enabled by default

This commit is contained in:
MaysWind
2020-11-02 22:12:02 +08:00
parent 2440369310
commit 63f0598119
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ const serverSettingsCookieKey = 'ACP_SETTINGS';
const defaultSettings = {
lang: 'en',
animate: true,
autoDarkMode: false
autoDarkMode: true
};
function getOriginalSettings() {
+1 -1
View File
@@ -52,7 +52,7 @@
</f7-popover>
<f7-sheet
style="height:auto; --f7-sheet-bg-color: #fff;"
style="height:auto"
:opened="show2faSheet" @sheet:closed="show2faSheet = false"
>
<div class="sheet-modal-swipe-step">
+4 -4
View File
@@ -14,7 +14,7 @@
</f7-list>
<f7-sheet
style="height:auto; --f7-sheet-bg-color: #fff;"
style="height:auto;"
:opened="showInputPasscodeSheetForEnable" @sheet:closed="showInputPasscodeSheetForEnable = false; currentPasscodeForEnable = ''"
>
<div class="sheet-modal-swipe-step">
@@ -45,7 +45,7 @@
</f7-sheet>
<f7-sheet
style="height:auto; --f7-sheet-bg-color: #fff;"
style="height:auto"
:opened="showInputPasswordSheetForDisable" @sheet:closed="showInputPasswordSheetForDisable = false; currentPasswordForDisable = ''"
>
<div class="sheet-modal-swipe-step">
@@ -73,7 +73,7 @@
</f7-sheet>
<f7-sheet
style="height:auto; --f7-sheet-bg-color: #fff;"
style="height:auto"
:opened="showInputPasswordSheetForRegenerate" @sheet:closed="showInputPasswordSheetForRegenerate = false; currentPasswordForRegenerate= ''"
>
<div class="sheet-modal-swipe-step">
@@ -101,7 +101,7 @@
</f7-sheet>
<f7-sheet
style="height:auto; --f7-sheet-bg-color: #fff;"
style="height:auto"
:opened="showBackupCodeSheet" @sheet:closed="showBackupCodeSheet = false; currentBackupCode = ''"
>
<div class="sheet-modal-swipe-step">
+1 -1
View File
@@ -44,7 +44,7 @@
<f7-button large fill :class="{ 'disabled': inputIsNotChanged || updating }" :text="$t('Update')" @click="update"></f7-button>
<f7-sheet
style="height:auto; --f7-sheet-bg-color: #fff;"
style="height:auto"
:opened="showInputPasswordSheet" @sheet:closed="showInputPasswordSheet = false"
>
<div class="sheet-modal-swipe-step">