aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/migration.php
diff options
context:
space:
mode:
Diffstat (limited to 'theme/admin/html/migration.php')
-rw-r--r--theme/admin/html/migration.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/theme/admin/html/migration.php b/theme/admin/html/migration.php
index 14405c4..1b5be2c 100644
--- a/theme/admin/html/migration.php
+++ b/theme/admin/html/migration.php
@@ -1,10 +1,11 @@
+<?php $theme = isset($_COOKIE['dark_mode']) ? 'dark' : 'main'; ?>
<!DOCTYPE html>
<html lang="<?=$BLOGMETA['LANG']?>">
<head>
<meta charset="UTF-8" />
<meta name="referrer" content="origin-when-crossorigin" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <link rel="stylesheet" href="<?=Application::getTemplateURL('rsrc/css/main.css')?>" />
+ <link rel="stylesheet" href="<?=Application::getTemplateURL("rsrc/css/$theme.css")?>" />
<title><?=$Language->text('maintenance_mode')?></title>
</head>
<body>