Skip to content

Commit

Permalink
Added "dark:" classes to user count methods to ensure text is visible…
Browse files Browse the repository at this point in the history
… in dark mode (#144)
  • Loading branch information
callum-baillie authored Oct 31, 2024
1 parent 49b6e80 commit 0266bd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions wave/resources/views/widgets/posts-pages-widget.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<div class="w-full">
<div class="flex flex-col">
<div class="mt-1 text-2xl font-semibold tracking-tight text-gray-900">{{ \Wave\Post::count() }}</div>
<div class="mt-1 text-2xl font-semibold tracking-tight text-gray-900 dark:text-gray-200">{{ \Wave\Post::count() }}</div>
</div>
</div>

Expand All @@ -22,7 +22,7 @@

<div class="w-full">
<div class="flex flex-col">
<div class="mt-1 text-xl font-semibold tracking-tight text-gray-900">{{ \Wave\Page::count() }}</div>
<div class="mt-1 text-xl font-semibold tracking-tight text-gray-900 dark:text-gray-200">{{ \Wave\Page::count() }}</div>
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions wave/resources/views/widgets/users-widget.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<div class="w-full">
<div class="flex flex-col">
<div class="mt-1 text-2xl font-semibold tracking-tight text-gray-900">{{ \Wave\User::count() }}</div>
<div class="mt-1 text-2xl font-semibold tracking-tight text-gray-900 dark:text-gray-200">{{ \Wave\User::count() }}</div>
</div>
</div>

Expand All @@ -22,7 +22,7 @@

<div class="w-full">
<div class="flex flex-col">
<div class="mt-1 text-xl font-semibold tracking-tight text-gray-900">{{ \Wave\User::count() }}</div>
<div class="mt-1 text-xl font-semibold tracking-tight text-gray-900 dark:text-gray-200">{{ \Wave\User::count() }}</div>
</div>
</div>

Expand Down

0 comments on commit 0266bd8

Please sign in to comment.