From 1ee5195ab32c56076d812aa49296d821f60e6ec1 Mon Sep 17 00:00:00 2001 From: shibao Date: Sat, 5 Feb 2022 16:22:20 -0500 Subject: [PATCH] lighten hr color --- assets/css/components.scss | 2 +- lib/cannery_web/live/ammo_type_live/index.html.heex | 10 +++++----- lib/cannery_web/live/modal_component.ex | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/assets/css/components.scss b/assets/css/components.scss index f9088ae6..073febbf 100644 --- a/assets/css/components.scss +++ b/assets/css/components.scss @@ -42,7 +42,7 @@ } .hr { - @apply border border-primary-500 w-full max-w-2xl; + @apply border border-primary-300 w-full max-w-2xl; } .link { diff --git a/lib/cannery_web/live/ammo_type_live/index.html.heex b/lib/cannery_web/live/ammo_type_live/index.html.heex index 00e72e28..7641ac56 100644 --- a/lib/cannery_web/live/ammo_type_live/index.html.heex +++ b/lib/cannery_web/live/ammo_type_live/index.html.heex @@ -91,15 +91,15 @@ <% end %> <%= live_patch to: Routes.ammo_type_index_path(@socket, :edit, ammo_type), - class: "text-primary-500 link" do %> + class: "text-primary-500 link" do %> <% end %> <%= link to: "#", - class: "text-primary-500 link", - phx_click: "delete", - phx_value_id: ammo_type.id, - data: [confirm: "Are you sure you want to delete this ammo?"] do %> + class: "text-primary-500 link", + phx_click: "delete", + phx_value_id: ammo_type.id, + data: [confirm: "Are you sure you want to delete this ammo?"] do %> <% end %> diff --git a/lib/cannery_web/live/modal_component.ex b/lib/cannery_web/live/modal_component.ex index b004bcc2..640d96f2 100644 --- a/lib/cannery_web/live/modal_component.ex +++ b/lib/cannery_web/live/modal_component.ex @@ -25,7 +25,7 @@ defmodule CanneryWeb.ModalComponent do bg-white border-2 rounded-lg"> <%= live_patch to: @return_to, class: "absolute top-8 right-10 text-gray-500 hover:text-gray-800 - transition-all duration-500 ease-in-out" do %> + transition-all duration-500 ease-in-out" do %> <% end %>