Skip to content

Commit

Permalink
fix: dark mode classes
Browse files Browse the repository at this point in the history
  • Loading branch information
lewislarsen committed Jun 14, 2024
1 parent fbe49cc commit c83e18c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

<!-- Page Heading -->
@if (isset($header))
<header class="bg-white dark:bg-gray-800 shadow">
<header class="bg-white dark:bg-gray-800/50 dark:border-gray-800/30 shadow">
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
{{ $header }}
</div>
Expand Down
8 changes: 4 additions & 4 deletions resources/views/partials/breadcrumbs.blade.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<nav class="bg-white p-3 text-[0.90rem] border-b border-t border-gray-100 mx-auto">
<nav class="bg-white dark:bg-gray-900/95 p-3 text-[0.90rem] border-b border-t border-gray-100 dark:border-gray-900/95 mx-auto">
<div class="flex justify-center">
<div class="mx-auto max-w-full">
<ol class="list-reset flex text-gray-700">
<ol class="list-reset flex text-gray-700 dark:text-gray-200">
@foreach ($breadcrumbs as $breadcrumb)
@if (!is_null($breadcrumb->url) && !$loop->last)
<li class="flex items-center">
<a href="{{ $breadcrumb->url }}" wire:navigate class="text-gray-700 font-medium">
<a href="{{ $breadcrumb->url }}" wire:navigate class="text-gray-700 dark:text-gray-200 font-medium">
{{ $breadcrumb->title }}
</a>
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-gray-500 mx-2" fill="none"
Expand All @@ -14,7 +14,7 @@
</svg>
</li>
@else
<li class="flex items-center text-gray-800 font-semibold">
<li class="flex items-center text-gray-800 dark:text-gray-100 font-semibold">
{{ $breadcrumb->title }}
</li>
@endif
Expand Down

0 comments on commit c83e18c

Please sign in to comment.