Skip to content

Commit 5b1d798

Browse files
committed
remove custom focus:outline styling
1 parent c212b2a commit 5b1d798

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

lib/algora_web/components/core_components.ex

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,7 @@ defmodule AlgoraWeb.CoreComponents do
7474

7575
def logo(assigns) do
7676
~H"""
77-
<.link
78-
navigate="/"
79-
aria-label="Algora"
80-
class="focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500"
81-
>
77+
<.link navigate="/" aria-label="Algora">
8278
<AlgoraWeb.Components.Logos.algora class={["fill-current", @class || "h-auto w-20"]} />
8379
</.link>
8480
"""
@@ -88,11 +84,7 @@ defmodule AlgoraWeb.CoreComponents do
8884

8985
def wordmark(assigns) do
9086
~H"""
91-
<.link
92-
navigate="/"
93-
aria-label="Algora"
94-
class="focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500"
95-
>
87+
<.link navigate="/" aria-label="Algora">
9688
<AlgoraWeb.Components.Wordmarks.algora class={
9789
classes(["fill-current", @class || "h-auto w-20"])
9890
} />
@@ -351,7 +343,7 @@ defmodule AlgoraWeb.CoreComponents do
351343
<button
352344
id={@id}
353345
type="button"
354-
class="group w-full rounded-full bg-gray-800 text-left text-sm font-medium text-gray-200 hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-indigo-400 focus:ring-offset-2 focus:ring-offset-gray-800"
346+
class="group w-full rounded-full bg-gray-800 text-left text-sm font-medium text-gray-200 hover:bg-gray-700"
355347
phx-click={show_dropdown("##{@id}-dropdown")}
356348
phx-hook="Menu"
357349
data-active-class="bg-gray-800"
@@ -374,7 +366,7 @@ defmodule AlgoraWeb.CoreComponents do
374366
<.link
375367
tabindex="-1"
376368
role="menuitem"
377-
class="block px-4 py-2 text-sm text-gray-200 hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-indigo-400 focus:ring-offset-2 focus:ring-offset-gray-700"
369+
class="block px-4 py-2 text-sm text-gray-200 hover:bg-gray-700"
378370
{link}
379371
>
380372
{render_slot(link)}

lib/algora_web/live/user/installations_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ defmodule AlgoraWeb.User.InstallationsLive do
9797
<% end %>
9898
</ul>
9999
<.link
100-
class="relative block w-full rounded-lg border-2 border-dashed border-gray-600 p-8 text-center hover:border-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"
100+
class="relative block w-full rounded-lg border-2 border-dashed border-gray-600 p-8 text-center hover:border-gray-500"
101101
rel="noopener"
102102
href={Github.install_url_new()}
103103
>

0 commit comments

Comments
 (0)