<%= if component.storage_location do %>
- <.icon name="hero-map-pin" class="w-4 h-4 mr-1 text-gray-400 flex-shrink-0" />
+ <.icon name="hero-map-pin" class="w-4 h-4 mr-1 text-base-content/50 flex-shrink-0" />
Location:
{storage_location_display_name(component.storage_location)}
<% end %>
- <.icon name="hero-cube" class="w-4 h-4 mr-1 text-gray-400" />
+ <.icon name="hero-cube" class="w-4 h-4 mr-1 text-base-content/50" />
Count:
{component.count}
<%= if @sort_criteria == "all" or @sort_criteria == "id" do %>
- <.icon name="hero-hashtag" class="w-4 h-4 mr-1 text-gray-400" />
+ <.icon name="hero-hashtag" class="w-4 h-4 mr-1 text-base-content/50" />
ID:
{component.id}
@@ -743,7 +743,7 @@ defmodule ComponentsElixirWeb.ComponentsLive do
<%= if component.keywords do %>
-
+
Keywords: {component.keywords}
@@ -789,7 +789,7 @@ defmodule ComponentsElixirWeb.ComponentsLive do
@@ -798,9 +798,9 @@ defmodule ComponentsElixirWeb.ComponentsLive do
<%= if Enum.empty?(@components) do %>
- <.icon name="hero-cube-transparent" class="mx-auto h-12 w-12 text-gray-400" />
-
No components found
-
+ <.icon name="hero-cube-transparent" class="mx-auto h-12 w-12 text-base-content/50" />
+
No components found
+
<%= if @search != "" do %>
Try adjusting your search terms.
<% else %>
@@ -820,13 +820,13 @@ defmodule ComponentsElixirWeb.ComponentsLive do
-
+
-
-
Component Image
+
+
Component Image
-
+
<%= if @modal_image_url do %>
![]()
<% else %>
-
No image available
+
No image available
<% end %>
diff --git a/lib/components_elixir_web/live/login_live.ex b/lib/components_elixir_web/live/login_live.ex
index 83c4d54..65c4035 100644
--- a/lib/components_elixir_web/live/login_live.ex
+++ b/lib/components_elixir_web/live/login_live.ex
@@ -38,13 +38,13 @@ defmodule ComponentsElixirWeb.LoginLive do
@impl true
def render(assigns) do
~H"""
-
+
-
+
Please enter your password to continue
@@ -57,7 +57,7 @@ defmodule ComponentsElixirWeb.LoginLive do
name="password"
type="password"
required
- class="appearance-none rounded-md relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm"
+ class="appearance-none rounded-md relative block w-full px-3 py-2 border border-base-300 placeholder-base-content/50 text-base-content bg-base-100 focus:outline-none focus:ring-primary focus:border-primary focus:z-10 sm:text-sm"
placeholder="Password"
autocomplete="current-password"
value={@form[:password].value}
diff --git a/lib/components_elixir_web/live/storage_locations_live.ex b/lib/components_elixir_web/live/storage_locations_live.ex
index 1a8d5b8..c2efe3e 100644
--- a/lib/components_elixir_web/live/storage_locations_live.ex
+++ b/lib/components_elixir_web/live/storage_locations_live.ex
@@ -298,7 +298,7 @@ defmodule ComponentsElixirWeb.StorageLocationsLive do
margin_left = if assigns.depth == 0, do: 0, else: 32 + assigns.depth * 16
# Determine border style based on depth
- border_class = if assigns.depth > 0, do: "border-l-2 border-gray-200 pl-6", else: ""
+ border_class = if assigns.depth > 0, do: "border-l-2 border-base-300 pl-6", else: ""
# Icon size and button size based on depth
{icon_size, button_size, text_size, title_tag} = case assigns.depth do
@@ -328,22 +328,22 @@ defmodule ComponentsElixirWeb.StorageLocationsLive do
0 && "mt-4"]} style={"margin-left: #{@margin_left}px"}>
- <.icon name={@icon_name} class={"#{@icon_size} #{if @depth == 0, do: "text-blue-500", else: "text-gray-400"}"} />
+ <.icon name={@icon_name} class={"#{@icon_size} #{if @depth == 0, do: "text-primary", else: "text-base-content/60"}"} />
<%= if @title_tag == "h3" do %>
-
{@location.name}
+
{@location.name}
<% else %>
-
{@location.name}
+
{@location.name}
<% end %>
<%= if @location.description do %>
-
{@location.description}
+
{@location.description}
<% end %>
-
+
{count_components_in_location(@location.id)} components
<%= if @location.apriltag_id do %>
-
+
AprilTag: {@location.apriltag_id}
<% end %>
@@ -356,19 +356,19 @@ defmodule ComponentsElixirWeb.StorageLocationsLive do
<% else %>
-
- <.icon name="hero-qr-code" class="w-8 h-8 text-gray-400" />
+
+ <.icon name="hero-qr-code" class="w-8 h-8 text-base-content/50" />
<% end %>