Update guest.blade.php

This commit is contained in:
Julian Prieber 2022-06-08 17:28:26 +02:00
parent 5e23002b58
commit d377d3d406
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
<?php // loads dark mode CSS if dark mode detected
$color_scheme = isset($_COOKIE["color_scheme"]) ? $_COOKIE["color_scheme"] : false;
$color_scheme_override = isset($_COOKIE["color_scheme_override"]) ? $_COOKIE["color_scheme_override"] : false; ?>
@if ($color_scheme == 'dark' and $color_scheme_override != 'light' or $color_scheme_override == 'dark' or Config::get('meta.theme') == 'dark')
@if ($color_scheme == 'dark' and Config::get('meta.theme') != 'light' and $color_scheme_override != 'light' or $color_scheme_override == 'dark' or Config::get('meta.theme') == 'dark')
<link rel="stylesheet" href="{{ asset('css/app-dark.css') }}">
@endif
<!-- end dark mode detection -->