diff --git a/lib/cannery_web/components/add_shot_group_component.html.heex b/lib/cannery_web/components/add_shot_group_component.html.heex index dc4f9085..33c5397d 100644 --- a/lib/cannery_web/components/add_shot_group_component.html.heex +++ b/lib/cannery_web/components/add_shot_group_component.html.heex @@ -1,5 +1,5 @@
-

+

<%= gettext("Record shots") %>

@@ -18,7 +18,7 @@
<% end %> - <%= label(f, :ammo_left, gettext("Rounds left"), class: "title text-lg text-primary-500") %> + <%= label(f, :ammo_left, gettext("Rounds left"), class: "title text-lg text-primary-600") %> <%= number_input(f, :ammo_left, min: 0, max: @ammo_group.count - 1, @@ -27,7 +27,7 @@ ) %> <%= error_tag(f, :ammo_left, "col-span-3") %> - <%= label(f, :notes, gettext("Notes"), class: "title text-lg text-primary-500") %> + <%= label(f, :notes, gettext("Notes"), class: "title text-lg text-primary-600") %> <%= textarea(f, :notes, class: "input input-primary col-span-2", placeholder: "Really great weather", @@ -35,7 +35,7 @@ ) %> <%= error_tag(f, :notes, "col-span-3") %> - <%= label(f, :date, gettext("Date (UTC)"), class: "title text-lg text-primary-500") %> + <%= label(f, :date, gettext("Date (UTC)"), class: "title text-lg text-primary-600") %> <%= date_input(f, :date, class: "input input-primary col-span-2") %> <%= error_tag(f, :notes, "col-span-3") %> diff --git a/lib/cannery_web/components/move_ammo_group_component.html.heex b/lib/cannery_web/components/move_ammo_group_component.html.heex index 0637c768..ae5db794 100644 --- a/lib/cannery_web/components/move_ammo_group_component.html.heex +++ b/lib/cannery_web/components/move_ammo_group_component.html.heex @@ -1,10 +1,10 @@
-

+

<%= gettext("Move ammo") %>

<%= if @containers |> Enum.empty?() do %> -

+

<%= gettext("No other containers") %> <%= display_emoji("😔") %>

diff --git a/lib/cannery_web/live/ammo_group_live/form_component.html.heex b/lib/cannery_web/live/ammo_group_live/form_component.html.heex index af9dce63..a13c2bb6 100644 --- a/lib/cannery_web/live/ammo_group_live/form_component.html.heex +++ b/lib/cannery_web/live/ammo_group_live/form_component.html.heex @@ -1,5 +1,5 @@
-

+

<%= @title %>

@@ -18,34 +18,34 @@
<% end %> - <%= label(f, :ammo_type_id, gettext("Ammo type"), class: "mr-4 title text-lg text-primary-500") %> + <%= label(f, :ammo_type_id, gettext("Ammo type"), class: "mr-4 title text-lg text-primary-600") %> <%= select(f, :ammo_type_id, ammo_type_options(@ammo_types), class: "text-center col-span-2 input input-primary" ) %> <%= error_tag(f, :ammo_type_id, "col-span-3 text-center") %> - <%= label(f, :count, gettext("Count"), class: "mr-4 title text-lg text-primary-500") %> + <%= label(f, :count, gettext("Count"), class: "mr-4 title text-lg text-primary-600") %> <%= number_input(f, :count, class: "text-center col-span-2 input input-primary", min: 1 ) %> <%= error_tag(f, :count, "col-span-3 text-center") %> - <%= label(f, :price_paid, gettext("Price paid"), class: "mr-4 title text-lg text-primary-500") %> + <%= label(f, :price_paid, gettext("Price paid"), class: "mr-4 title text-lg text-primary-600") %> <%= number_input(f, :price_paid, step: "0.01", class: "text-center col-span-2 input input-primary" ) %> <%= error_tag(f, :price_paid, "col-span-3 text-center") %> - <%= label(f, :notes, gettext("Notes"), class: "mr-4 title text-lg text-primary-500") %> + <%= label(f, :notes, gettext("Notes"), class: "mr-4 title text-lg text-primary-600") %> <%= textarea(f, :notes, class: "text-center col-span-2 input input-primary", phx_hook: "MaintainAttrs" ) %> <%= error_tag(f, :notes, "col-span-3 text-center") %> - <%= label(f, :container, gettext("Container"), class: "mr-4 title text-lg text-primary-500") %> + <%= label(f, :container, gettext("Container"), class: "mr-4 title text-lg text-primary-600") %> <%= select(f, :container_id, container_options(@containers), class: "text-center col-span-2 input input-primary" ) %> diff --git a/lib/cannery_web/live/ammo_group_live/index.html.heex b/lib/cannery_web/live/ammo_group_live/index.html.heex index 4cfcc30a..55977bc0 100644 --- a/lib/cannery_web/live/ammo_group_live/index.html.heex +++ b/lib/cannery_web/live/ammo_group_live/index.html.heex @@ -4,7 +4,7 @@ <%= if @ammo_groups |> Enum.empty?() do %> -

+

<%= gettext("No Ammo") %> <%= display_emoji("😔") %>

@@ -101,19 +101,19 @@
<%= live_redirect to: Routes.ammo_group_show_path(@socket, :show, ammo_group), - class: "text-primary-500 link", + class: "text-primary-600 link", data: [qa: "view-#{ammo_group.id}"] do %> <% end %> <%= live_patch to: Routes.ammo_group_index_path(@socket, :edit, ammo_group), - class: "text-primary-500 link", + class: "text-primary-600 link", data: [qa: "edit-#{ammo_group.id}"] do %> <% end %> <%= link to: "#", - class: "text-primary-500 link", + class: "text-primary-600 link", phx_click: "delete", phx_value_id: ammo_group.id, data: [ diff --git a/lib/cannery_web/live/ammo_group_live/show.html.heex b/lib/cannery_web/live/ammo_group_live/show.html.heex index 97578081..c20e836f 100644 --- a/lib/cannery_web/live/ammo_group_live/show.html.heex +++ b/lib/cannery_web/live/ammo_group_live/show.html.heex @@ -27,7 +27,7 @@
-
+
<%= live_patch(dgettext("actions", "Ammo Details"), to: Routes.ammo_type_show_path(Endpoint, :show, @ammo_group.ammo_type), class: "mx-4 my-2 btn btn-primary", @@ -35,13 +35,13 @@ ) %> <%= live_patch to: Routes.ammo_group_show_path(Endpoint, :edit, @ammo_group), - class: "mx-4 my-2 text-primary-500 link", + class: "mx-4 my-2 text-primary-600 link", data: [qa: "edit"] do %> <% end %> <%= link to: "#", - class: "mx-4 my-2 text-primary-500 link", + class: "mx-4 my-2 text-primary-600 link", phx_click: "delete", data: [ confirm: dgettext("prompts", "Are you sure you want to delete this ammo?"), @@ -51,7 +51,7 @@ <% end %>
-
+