diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/views/includes/footer.blade.php | 32 | ||||
-rw-r--r-- | resources/views/includes/head.blade.php | 1 | ||||
-rw-r--r-- | resources/views/layouts/default.blade.php | 2 |
3 files changed, 34 insertions, 1 deletions
diff --git a/resources/views/includes/footer.blade.php b/resources/views/includes/footer.blade.php index 83c01b2..145b879 100644 --- a/resources/views/includes/footer.blade.php +++ b/resources/views/includes/footer.blade.php @@ -28,4 +28,36 @@ © floppydisk 2021-{{ date('Y') }}, v{{ config('app.version') }}, <a href="https://github.com/floppydisk05/diskfloppy.me">Source</a>, Served by {{ gethostname() }}<br> + <label for="scheme-selector">Color Scheme:</label> + <select onchange="swapScheme(this.value)" id="scheme-selector"> + <optgroup label="Misc"> + <option value="c64">C64</option> + </optgroup> + <optgroup label="Light"> + <option value="catppuccin-latte">Catppuccin Latte</option> + <option value="gruvbox">Gruvbox</option> + <option value="man-page">Man Page</option> + <option value="papercolor-light">Papercolor Light</option> + <option value="solarized-light">Solarized Light</option> + <option value="terminal-basic">Terminal Basic</option> + </optgroup> + <optgroup label="Dark"> + <option value="catppuccin-frappe">Catppuccin FrappĂ©</option> + <option value="catppuccin-macchiato" selected="selected">Catppuccin Macchiato</option> + <option value="catppuccin-mocha">Catppuccin Mocha</option> + <option value="gruvbox-dark">Gruvbox Dark</option> + <option value="gruvbox-material">Gruvbox Material</option> + <option value="maia">Maia</option> + <option value="mono-amber">Mono Amber</option> + <option value="mono-cyan">Mono Cyan</option> + <option value="mono-green">Mono Green</option> + <option value="mono-red">Mono Red</option> + <option value="mono-white">Mono White</option> + <option value="mono-yellow">Mono Yellow</option> + <option value="papercolor-dark">Papercolor Dark</option> + <option value="shel">Shel</option> + <option value="slate">Slate</option> + <option value="solarized-dark">Solarized Dark</option> + </optgroup> + </select><br> </div> diff --git a/resources/views/includes/head.blade.php b/resources/views/includes/head.blade.php index 3eb2559..3d51672 100644 --- a/resources/views/includes/head.blade.php +++ b/resources/views/includes/head.blade.php @@ -7,6 +7,7 @@ <link rel="stylesheet" href="/css/master.css"/> <link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"/> <link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"/> + <script src="/js/themeSwap.js"></script> {!! (intval(date('n')) == 12) ? '<script src="/js/christmas/snow.js"></script>' : '' !!} <!-- Page-specific --> diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php index 996d895..144c32b 100644 --- a/resources/views/layouts/default.blade.php +++ b/resources/views/layouts/default.blade.php @@ -4,7 +4,7 @@ @include('includes.head') </head> -<body> +<body onload="setDefaultScheme()"> <div class="page"> <div id="header" class="header"> @include('includes.header') |