Fix dark mode (#2373)

This commit is contained in:
stdpi
2026-06-03 23:19:57 +07:00
committed by GitHub
parent 28452e2820
commit 136224224c
3 changed files with 5 additions and 5 deletions

View File

@@ -26,4 +26,4 @@
@source '../../vendor/gboquizosanchez/filament-log-viewer/resources/views/**/*.blade.php'; @source '../../vendor/gboquizosanchez/filament-log-viewer/resources/views/**/*.blade.php';
@variant dark (&:where(.dark, .dark *)); @custom-variant dark (.dark &);

View File

@@ -6,9 +6,9 @@
<title>API Documentation</title> <title>API Documentation</title>
@vite('resources/css/app.css') @vite('resources/css/app.css')
</head> </head>
<body class="bg-gray-100 min-h-screen flex items-center justify-center"> <body class="bg-gray-100 dark:bg-gray-950 min-h-screen flex items-center justify-center">
<div class="bg-white shadow-lg rounded-lg py-8 px-8 max-w-md w-full text-center"> <div class="bg-white dark:bg-gray-900 shadow-lg rounded-lg py-8 px-8 max-w-md w-full text-center">
<h2 class="text-xl font-bold text-gray-800 mb-4">API Documentation</h2> <h2 class="text-xl font-bold text-gray-800 dark:text-white mb-4">API Documentation</h2>
<div class="mb-2"> <div class="mb-2">
<a href="/docs/api/application" class="inline-flex items-center"> <a href="/docs/api/application" class="inline-flex items-center">

View File

@@ -1,4 +1,4 @@
<div class="fi-small-stat-block grid grid-flow-row w-full p-3 rounded-lg bg-white shadow-sm overflow-hidden overflow-x-auto ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10"> <div class="fi-small-stat-block grid grid-flow-row w-full p-3 rounded-lg shadow-sm overflow-hidden overflow-x-auto ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
@if ($isCopyable($value = $getValue())) @if ($isCopyable($value = $getValue()))
<span class="cursor-pointer" x-on:click=" <span class="cursor-pointer" x-on:click="
navigator.clipboard.writeText(@js($value)); navigator.clipboard.writeText(@js($value));