Manually force dark mode since light mode isnt setup everywhere

This commit is contained in:
Vari 2024-08-21 00:38:43 +02:00
parent f418e3f69d
commit 319c455b75
2 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,7 @@
@vite(['resources/css/app.scss', 'resources/js/app.js'])
@stack('head')
</head>
<body class="bg-gray-100 dark:bg-gray-950 font-sans text-gray-950 dark:text-white antialiased">
<body class="dark bg-gray-100 dark:bg-gray-950 font-sans text-gray-950 dark:text-white antialiased">
<div class="absolute top-0 w-full my-20 z-50">
@if(Session::has('alert-error'))
<x-alerts.error heading="An error occured">{!! Session::get('alert-error') !!}</x-alerts.error>

View File

@ -1,5 +1,6 @@
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ['selector'],
content: [
"./resources/**/*.blade.php",
"./resources/**/*.js",