make text slightly easier to read

This commit is contained in:
2022-02-17 22:29:01 -05:00
parent 816d5649eb
commit 3164d48f6c
26 changed files with 118 additions and 118 deletions

View File

@ -1,5 +1,5 @@
<div>
<h2 class="mb-4 text-center title text-xl text-primary-500">
<h2 class="mb-4 text-center title text-xl text-primary-600">
<%= @title %>
</h2>

View File

@ -1,5 +1,5 @@
<div>
<h2 class="text-center title text-xl text-primary-500">
<h2 class="text-center title text-xl text-primary-600">
<%= @title %>
</h2>
<.form
@ -17,14 +17,14 @@
</div>
<% end %>
<%= label(f, :name, gettext("Name"), class: "title text-lg text-primary-500") %>
<%= label(f, :name, gettext("Name"), class: "title text-lg text-primary-600") %>
<%= text_input(f, :name,
class: "input input-primary col-span-2",
placeholder: gettext("My cool ammo can")
) %>
<%= error_tag(f, :name, "col-span-3 text-center") %>
<%= label(f, :desc, gettext("Description"), class: "title text-lg text-primary-500") %>
<%= label(f, :desc, gettext("Description"), class: "title text-lg text-primary-600") %>
<%= textarea(f, :desc,
class: "input input-primary col-span-2",
phx_hook: "MaintainAttrs",
@ -32,14 +32,14 @@
) %>
<%= error_tag(f, :desc, "col-span-3 text-center") %>
<%= label(f, :type, gettext("Type"), class: "title text-lg text-primary-500") %>
<%= label(f, :type, gettext("Type"), class: "title text-lg text-primary-600") %>
<%= text_input(f, :type,
class: "input input-primary col-span-2",
placeholder: gettext("Magazine, Clip, Ammo Box, etc")
) %>
<%= error_tag(f, :type, "col-span-3 text-center") %>
<%= label(f, :location, gettext("Location"), class: "title text-lg text-primary-500") %>
<%= label(f, :location, gettext("Location"), class: "title text-lg text-primary-600") %>
<%= textarea(f, :location,
class: "input input-primary col-span-2",
phx_hook: "MaintainAttrs",

View File

@ -4,7 +4,7 @@
</h1>
<%= if @containers |> Enum.empty?() do %>
<h2 class="title text-xl text-primary-500">
<h2 class="title text-xl text-primary-600">
<%= gettext("No containers") %>
<%= display_emoji("😔") %>
</h2>
@ -24,13 +24,13 @@
<%= for container <- @containers do %>
<.container_card container={container}>
<%= live_patch to: Routes.container_index_path(@socket, :edit, container),
class: "text-primary-500 link",
class: "text-primary-600 link",
data: [qa: "edit-#{container.id}"] do %>
<i class="fa-fw fa-lg fas fa-edit"></i>
<% end %>
<%= link to: "#",
class: "text-primary-500 link",
class: "text-primary-600 link",
phx_click: "delete",
phx_value_id: container.id,
data: [

View File

@ -22,15 +22,15 @@
</span>
<% end %>
<div class="flex space-x-4 justify-center items-center text-primary-500">
<div class="flex space-x-4 justify-center items-center text-primary-600">
<%= live_patch to: Routes.container_show_path(@socket, :edit, @container),
class: "text-primary-500 link",
class: "text-primary-600 link",
data: [qa: "edit"] do %>
<i class="fa-fw fa-lg fas fa-edit"></i>
<% end %>
<%= link to: "#",
class: "text-primary-500 link",
class: "text-primary-600 link",
phx_click: "delete_container",
data: [
confirm:
@ -45,7 +45,7 @@
<%= if @container.tags |> Enum.empty?() do %>
<div class="flex flex-row justify-center items-center space-x-4">
<h2 class="title text-lg text-primary-500">
<h2 class="title text-lg text-primary-600">
<%= gettext("No tags for this container") %>
<%= display_emoji("😔") %>
</h2>
@ -56,14 +56,14 @@
) %>
</div>
<% else %>
<h2 class="mb-4 title text-xl text-primary-500">
<h2 class="mb-4 title text-xl text-primary-600">
<%= gettext("Tags") %>
</h2>
<%= for tag <- @container.tags do %>
<.tag_card tag={tag}>
<%= link to: "#",
class: "text-primary-500 link",
class: "text-primary-600 link",
phx_click: "delete_tag",
phx_value_tag_id: tag.id,
data: [