diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-02-12 21:03:48 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-02-12 21:03:48 +0000 |
commit | 0114f5240a9d4cf75e84ac23e955571a83a1fc98 (patch) | |
tree | 62dcb5298a8f86b152da22e0f7acce7b151ca949 | |
parent | 809c8cf3b7dc2eeb09b1fd58de2fc3a68a17927b (diff) | |
download | pmwiki.svn-0114f5240a9d4cf75e84ac23e955571a83a1fc98.tar.bz2 |
Responsive skin: enable auto dark theme (browser preferences) by default.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@4642 524c5546-5005-0410-9a3e-e25e191bd360
-rw-r--r-- | pub/skins/pmwiki-responsive/skin.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pub/skins/pmwiki-responsive/skin.php b/pub/skins/pmwiki-responsive/skin.php index 14b02edf..698631be 100644 --- a/pub/skins/pmwiki-responsive/skin.php +++ b/pub/skins/pmwiki-responsive/skin.php @@ -1,7 +1,7 @@ <?php if (!defined('PmWiki')) exit(); /*********************************************************************** ** skin.php -** Copyright 2016-2019 Petko Yotov www.pmwiki.org/petko +** Copyright 2016-2024 Petko Yotov www.pmwiki.org/petko ** ** This file is part of PmWiki; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published @@ -20,8 +20,8 @@ foreach($styles as $style) $HTMLStylesFmt[$style] = ''; # CSS alignment for table cells (valid HTML5) SDV($TableCellAlignFmt, " class='%s'"); -# Enable dark theme toggle, light theme by default -SDV($EnableDarkThemeToggle, 1); +# Enable dark theme toggle, Auto theme by default +SDV($EnableDarkThemeToggle, 3); # For (:searchbox:), valid semantic HTML5 $SearchBoxInputType = "search"; |