mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 05:05:56 +00:00
add Config::LOCAL_OVERRIDE_JS
This commit is contained in:
@@ -420,6 +420,8 @@
|
||||
|
||||
$check = "themes.local/$theme";
|
||||
if (file_exists($check)) return $check;
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
function theme_exists($theme) {
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
|
||||
} ?>
|
||||
|
||||
<?php if (theme_exists(Config::get(Config::LOCAL_OVERRIDE_STYLESHEET))) {
|
||||
echo stylesheet_tag(get_theme_path(Config::get(Config::LOCAL_OVERRIDE_STYLESHEET)));
|
||||
} ?>
|
||||
<?= Config::get_override_links() ?>
|
||||
|
||||
<style type="text/css">
|
||||
@media (prefers-color-scheme: dark) {
|
||||
|
||||
Reference in New Issue
Block a user