Skip to content

Commit

Permalink
Added new LCARS theme
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Svatos <[email protected]>
  • Loading branch information
MichalSvatos committed Oct 12, 2023
1 parent a690041 commit 6197573
Show file tree
Hide file tree
Showing 3 changed files with 5,908 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pi-hole/php/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<?php } ?>

<!-- Theme fonts -->
<?php if ($theme == 'lcars') { ?>
<?php if ($theme == 'lcars' || $theme == 'lcars-picard') { ?>
<link rel="stylesheet" href="<?php echo fileversion('style/vendor/fonts/ubuntu-mono/ubuntu-mono.css'); ?>">
<link rel="stylesheet" href="<?php echo fileversion('style/vendor/fonts/antonio/antonio.css'); ?>">
<?php } else { ?>
Expand Down
1 change: 1 addition & 0 deletions scripts/pi-hole/php/theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
// Option to have the theme go with the device dark mode setting, always set the background to black to avoid flashing
$available_themes['default-auto'] = array('Pi-hole auto theme (light/dark)', true, 'default-auto', '#367fa9');
$available_themes['lcars'] = array('Star Trek LCARS theme (dark)', true, 'lcars', '#4488FF');
$available_themes['lcars-picard'] = array('Star Trek Picard LCARS theme (dark)', true, 'lcars-picard', '#53596C');

$webtheme = '';
// Try to load theme settings from setupVars.conf
Expand Down
Loading

0 comments on commit 6197573

Please sign in to comment.