mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Merge pull request #1936 from rdwebdesign/theme_lcars
Add Star Trek LCARS theme
This commit is contained in:
@@ -187,6 +187,10 @@
|
||||
<meta name="theme-color" content="#272c30">
|
||||
<?php } elseif ($theme == "default-darker") { ?>
|
||||
<meta name="theme-color" content="#2e6786">
|
||||
<?php } elseif ($theme == "lcars") { ?>
|
||||
<meta name="theme-color" content="#4488FF">
|
||||
<link rel="stylesheet" href="style/vendor/fonts/ubuntu-mono/ubuntu-mono.css?v=<?=$cacheVer?>">
|
||||
<link rel="stylesheet" href="style/vendor/fonts/antonio/antonio.css?v=<?=$cacheVer?>">
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($darkmode) { ?>
|
||||
|
||||
@@ -18,6 +18,8 @@ $available_themes["default-dark"] = array("Pi-hole midnight theme (dark)", true,
|
||||
$available_themes["default-darker"] = array("Pi-hole deep-midnight theme (dark)", true, "default-darker");
|
||||
// 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");
|
||||
$available_themes["lcars"] = array("Star Trek LCARS theme (dark)", true, "lcars");
|
||||
|
||||
|
||||
$webtheme = "";
|
||||
// Try to load theme settings from setupVars.conf
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+32
@@ -0,0 +1,32 @@
|
||||
/* antonio-100 - latin-ext_latin */
|
||||
@font-face {
|
||||
font-family: 'Antonio';
|
||||
font-style: normal;
|
||||
font-weight: 100;
|
||||
font-display: swap;
|
||||
src: local('Antonio Light'),
|
||||
url('antonio-v1-latin-ext_latin-100.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('antonio-v1-latin-ext_latin-100.woff') format('woff') /* Modern Browsers */
|
||||
}
|
||||
|
||||
/* antonio-regular - latin-ext_latin */
|
||||
@font-face {
|
||||
font-family: 'Antonio';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local('Antonio'),
|
||||
url('antonio-v1-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('antonio-v1-latin-ext_latin-regular.woff') format('woff') /* Modern Browsers */
|
||||
}
|
||||
|
||||
/* antonio-700 - latin-ext_latin */
|
||||
@font-face {
|
||||
font-family: 'Antonio';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: local('Antonio Bold'),
|
||||
url('antonio-v1-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('antonio-v1-latin-ext_latin-700.woff') format('woff') /* Modern Browsers */
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+43
@@ -0,0 +1,43 @@
|
||||
/* ubuntu-mono-regular - latin-ext_latin */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu Mono';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local(''),
|
||||
url('ubuntu-mono-v10-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('ubuntu-mono-v10-latin-ext_latin-regular.woff') format('woff') /* Modern Browsers */
|
||||
}
|
||||
|
||||
/* ubuntu-mono-italic - latin-ext_latin */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu Mono';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local(''),
|
||||
url('ubuntu-mono-v10-latin-ext_latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('ubuntu-mono-v10-latin-ext_latin-italic.woff') format('woff') /* Modern Browsers */
|
||||
}
|
||||
|
||||
/* ubuntu-mono-700 - latin-ext_latin */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu Mono';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: local(''),
|
||||
url('ubuntu-mono-v10-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('ubuntu-mono-v10-latin-ext_latin-700.woff') format('woff') /* Modern Browsers */
|
||||
}
|
||||
|
||||
/* ubuntu-mono-700italic - latin-ext_latin */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu Mono';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: local(''),
|
||||
url('ubuntu-mono-v10-latin-ext_latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('ubuntu-mono-v10-latin-ext_latin-700italic.woff') format('woff') /* Modern Browsers */
|
||||
}
|
||||
Reference in New Issue
Block a user