-
+
<%= render_slot(action, @row_item.(row)) %>
@@ -665,10 +676,10 @@ defmodule ChiyaWeb.CoreComponents do
def list(assigns) do
~H"""
-
+
-
- <%= item.title %>
- - <%= render_slot(item) %>
+ - <%= item.title %>
+ - <%= render_slot(item) %>
@@ -690,7 +701,7 @@ defmodule ChiyaWeb.CoreComponents do
<.link
navigate={@navigate}
- class="text-sm font-semibold leading-6 text-gray-900 hover:text-gray-700"
+ class="text-sm font-semibold leading-6 text-gray-900 hover:text-gray-700 dark:text-gray-300 dark:hover:text-gray-400"
>
<.icon name="hero-arrow-left-solid" class="w-3 h-3" />
<%= render_slot(@inner_block) %>
diff --git a/lib/chiya_web/components/layouts/app.html.heex b/lib/chiya_web/components/layouts/app.html.heex
index 44bcf70..f6f9915 100644
--- a/lib/chiya_web/components/layouts/app.html.heex
+++ b/lib/chiya_web/components/layouts/app.html.heex
@@ -1,33 +1,33 @@
-
+
-
Chiya
-
+ Chiya
+
v<%= Application.spec(:chiya, :vsn) %>
<.link
href={~p"/admin/notes"}
- class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700"
+ class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700 dark:text-gray-200"
>
Notes
<.link
href={~p"/admin/channels"}
- class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700"
+ class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700 dark:text-gray-200"
>
Channels
<.link
href={~p"/admin/identities"}
- class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700"
+ class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700 dark:text-gray-200"
>
Identities
<.link
href={~p"/admin/settings"}
- class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700"
+ class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700 dark:text-gray-200"
>
Settings
diff --git a/lib/chiya_web/components/layouts/public.html.heex b/lib/chiya_web/components/layouts/public.html.heex
index 887e0f3..34dbe38 100644
--- a/lib/chiya_web/components/layouts/public.html.heex
+++ b/lib/chiya_web/components/layouts/public.html.heex
@@ -1,10 +1,7 @@
-
Chiya
-
- v<%= Application.spec(:chiya, :vsn) %>
-
+
Chiya
<.link
diff --git a/lib/chiya_web/components/layouts/root_app.html.heex b/lib/chiya_web/components/layouts/root_app.html.heex
index d775dd8..a8200a2 100644
--- a/lib/chiya_web/components/layouts/root_app.html.heex
+++ b/lib/chiya_web/components/layouts/root_app.html.heex
@@ -1,5 +1,5 @@
-
+
@@ -10,8 +10,15 @@
+
-
+
<.admin_bar current_user={@current_user} />
<%= @inner_content %>
diff --git a/lib/chiya_web/controllers/setting_html/show.html.heex b/lib/chiya_web/controllers/setting_html/show.html.heex
index d5c0b4c..e472d9c 100644
--- a/lib/chiya_web/controllers/setting_html/show.html.heex
+++ b/lib/chiya_web/controllers/setting_html/show.html.heex
@@ -20,7 +20,7 @@
<:item title="Subtitle"><%= @setting.subtitle %>
<:item title="Theme">
<%= @setting.theme %>
-
+
<.icon name="hero-heart-solid" class="bg-theme-primary" />
<.icon name="hero-heart-solid" class="bg-theme-heading" />
<.icon name="hero-heart-solid" class="bg-theme-base" />
diff --git a/lib/chiya_web/live/note_show_live.ex b/lib/chiya_web/live/note_show_live.ex
index da953fd..463a157 100644
--- a/lib/chiya_web/live/note_show_live.ex
+++ b/lib/chiya_web/live/note_show_live.ex
@@ -44,7 +44,7 @@ defmodule ChiyaWeb.NoteShowLive do
src={Chiya.Uploaders.NoteImage.url({image.path, image}, :thumb_dithered)}
/>
-
+