mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-15 21:48:08 +03:00
Fix dark mode (#2373)
This commit is contained in:
@@ -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 &);
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user