Skip to content

Commit 16e0725

Browse files
committed
style: update badge styling
1 parent 4464acc commit 16e0725

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/algora_web/live/bounties_live.ex

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,12 @@ defmodule AlgoraWeb.BountiesLive do
112112
<%= for {tech, count} <- @techs do %>
113113
<div phx-click="toggle_tech" phx-value-tech={tech} class="cursor-pointer">
114114
<.badge
115-
variant={if String.downcase(tech) in @selected_techs, do: "success", else: "outline"}
116-
class="hover:bg-white/[4%] transition-colors"
115+
variant={if String.downcase(tech) in @selected_techs, do: "success", else: "default"}
116+
class={
117+
if String.downcase(tech) in @selected_techs,
118+
do: "hover:bg-success/5 transition-colors",
119+
else: "hover:bg-accent/80 transition-colors"
120+
}
117121
>
118122
{tech} ({count})
119123
</.badge>

0 commit comments

Comments
 (0)