diff --git a/resources/css/app.css b/resources/css/app.css index 404993b..e8368d4 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -6,16 +6,6 @@ display: none; } -button[type="submit"]:not([role="menuitem"]), -button[type="button"]:not([role="menuitem"]) { - @apply border border-transparent rounded-md py-2 px-4 text-white dark:text-gray-100 bg-gray-900 dark:bg-gray-700 hover:bg-gray-800 dark:hover:bg-black dark:hover:text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-600 dark:focus:ring-gray-500 transition-all duration-200 -} - -nav button[type="submit"]:not([role="menuitem"]), -nav button[type="button"]:not([role="menuitem"]) { - @apply border border-transparent rounded-md py-2 px-4 text-white dark:text-gray-100 bg-gray-900 dark:bg-gray-700 hover:bg-gray-800 dark:hover:bg-gray-900 dark:hover:text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-600 dark:focus:ring-gray-500 transition-all duration-200 -} - input[type="checkbox"] { @apply text-gray-800 dark:text-gray-300 focus:ring-gray-600 dark:focus:ring-gray-500 border-gray-300 dark:border-gray-700 rounded; } diff --git a/resources/views/components/action-message.blade.php b/resources/views/components/action-message.blade.php index a8a95f9..6512401 100644 --- a/resources/views/components/action-message.blade.php +++ b/resources/views/components/action-message.blade.php @@ -5,6 +5,6 @@ x-show.transition.out.opacity.duration.1500ms="shown" x-transition:leave.opacity.duration.1500ms style="display: none;" - {{ $attributes->merge(['class' => 'text-sm text-gray-600']) }}> + {{ $attributes->merge(['class' => 'text-sm text-gray-600 dark:text-gray-400']) }}> {{ $slot->isEmpty() ? 'Saved.' : $slot }} diff --git a/resources/views/components/action-section.blade.php b/resources/views/components/action-section.blade.php index 93e2434..b95dd82 100644 --- a/resources/views/components/action-section.blade.php +++ b/resources/views/components/action-section.blade.php @@ -5,7 +5,7 @@
-
+
{{ $content }}
diff --git a/resources/views/components/button.blade.php b/resources/views/components/button.blade.php index 232734c..54cc3b7 100644 --- a/resources/views/components/button.blade.php +++ b/resources/views/components/button.blade.php @@ -1,3 +1,3 @@ - diff --git a/resources/views/components/form-section.blade.php b/resources/views/components/form-section.blade.php index 9dd4e0e..498af13 100644 --- a/resources/views/components/form-section.blade.php +++ b/resources/views/components/form-section.blade.php @@ -8,14 +8,14 @@
-
+
{{ $form }}
@if (isset($actions)) -
+
{{ $actions }}
@endif diff --git a/resources/views/components/input-error.blade.php b/resources/views/components/input-error.blade.php index b5ad968..63cb75e 100644 --- a/resources/views/components/input-error.blade.php +++ b/resources/views/components/input-error.blade.php @@ -1,5 +1,5 @@ @props(['for']) @error($for) -

merge(['class' => 'text-sm text-red-600']) }}>{{ $message }}

+

merge(['class' => 'text-sm text-red-600 dark:text-red-400']) }}>{{ $message }}

@enderror diff --git a/resources/views/components/input.blade.php b/resources/views/components/input.blade.php index 1df7f0d..aa3fd43 100644 --- a/resources/views/components/input.blade.php +++ b/resources/views/components/input.blade.php @@ -1,3 +1,3 @@ @props(['disabled' => false]) -merge(['class' => 'border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 rounded-md shadow-sm']) !!}> +merge(['class' => 'rounded-md border-0 bg-white dark:bg-gray-700 py-2 px-3 text-gray-900 dark:text-gray-300 ring-1 ring-inset ring-gray-300 dark:ring-gray-700 placeholder:text-gray-400 dark:placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-600 dark:focus:bg-gray-200 dark:focus:text-black dark:focus:ring-0 sm:text-sm']) !!}> diff --git a/resources/views/components/label.blade.php b/resources/views/components/label.blade.php index 1cc65e2..e93b059 100644 --- a/resources/views/components/label.blade.php +++ b/resources/views/components/label.blade.php @@ -1,5 +1,5 @@ @props(['value']) -