Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
fix: light mode theming
Browse files Browse the repository at this point in the history
  • Loading branch information
jmar910 committed Feb 9, 2024
1 parent a3300e9 commit a9fc278
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
4 changes: 3 additions & 1 deletion addon/components/mox/list/header.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<thead data-test-mox-list-header ...attributes>
<tr class="border-b border-gray-700 text-gray-300 align-middle">
<tr
class="border-b border-gray-300 dark:border-gray-500 text-gray-800 dark:text-gray-300 align-middle"
>
{{yield}}
</tr>
</thead>
8 changes: 6 additions & 2 deletions addon/components/mox/list/item.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
>
<div
class="inline-block mt-auto py-0.5
{{if @isActive 'text-white font-semibold' 'text-gray-300 font-medium'}}"
{{if
@isActive
'text-white font-semibold'
'text-gray-800 dark:text-gray-300 font-medium'
}}"
data-test-mox-list-header-item-label
>
{{yield}}
Expand Down Expand Up @@ -45,7 +49,7 @@
</div>
</td>
{{else}}
<td class="p-4 text-white" data-test-mox-list-item ...attributes>
<td class="p-4 text-gray-800 dark:text-gray-300" data-test-mox-list-item ...attributes>
<div class="font-medium text-sm" data-test-mox-list-item-content>
{{yield}}
</div>
Expand Down
6 changes: 5 additions & 1 deletion addon/components/mox/list/row.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<tr class="border-b border-gray-800 text-white" data-test-mox-list-row ...attributes>
<tr
class="border-b border-gray-300 dark:border-gray-500 text-gray-800 dark:text-white"
data-test-mox-list-row
...attributes
>
{{yield}}
</tr>

0 comments on commit a9fc278

Please sign in to comment.