diff options
| author | 2023-01-09 10:40:38 +0100 | |
|---|---|---|
| committer | 2023-01-09 10:40:38 +0100 | |
| commit | b5a418ec1618cb1a058aee3dd47baa63562c9194 (patch) | |
| tree | 4338c14056ffd1df9eb673f9eb97a77ae12267ab /app/layout/layout.phtml | |
| parent | bbe3eb8f41ca9c25d1619cda9609392ffc803146 (diff) | |
Added: Dark mode for Origine +Origine compact themes (#4843)
* first draft
* fix: theme slider: properties box
* improved colors
* option to enable/disable dark mode
* fixes
* Update app/i18n/fr/conf.php
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* i18n english improved
* fix dark background color for favorites + hover colors
* select list: no, auto
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/layout/layout.phtml')
| -rw-r--r-- | app/layout/layout.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml index 48ada7183..1e9ce6905 100644 --- a/app/layout/layout.phtml +++ b/app/layout/layout.phtml @@ -52,7 +52,7 @@ if (_t('gen.dir') === 'rtl') { <meta name="robots" content="noindex,nofollow" /> <?php } ?> </head> - <body class="<?= Minz_Request::actionName() ?>"> + <body class="<?= Minz_Request::actionName() ?><?= (FreshRSS_Context::$user_conf->darkMode === 'no') ? '' : ' darkMode_' . FreshRSS_Context::$user_conf->darkMode ?>"> <?php if (!Minz_Request::param('ajax')) { flush(); |
