This commit is contained in:
@@ -390,7 +390,7 @@ defmodule CobblemonUiWeb.PokemonComponents do
|
|||||||
<div class="flex items-start gap-3 rounded-xl bg-base-200/40 border border-base-300/20 px-3.5 py-3 hover:bg-base-200/60 transition-colors">
|
<div class="flex items-start gap-3 rounded-xl bg-base-200/40 border border-base-300/20 px-3.5 py-3 hover:bg-base-200/60 transition-colors">
|
||||||
<%!-- Type icon circle --%>
|
<%!-- Type icon circle --%>
|
||||||
<div class={[
|
<div class={[
|
||||||
"w-11 h-11 rounded-full flex items-center justify-center shrink-0 shadow-sm mt-0.5",
|
"w-11 h-11 rounded-full flex items-center justify-center shrink-0 shadow-sm mt-0.5 text-white",
|
||||||
TypeChart.type_color(@type_name)
|
TypeChart.type_color(@type_name)
|
||||||
]}>
|
]}>
|
||||||
<TypeIcons.type_icon type={@type_name} class="w-6 h-6" />
|
<TypeIcons.type_icon type={@type_name} class="w-6 h-6" />
|
||||||
@@ -442,7 +442,7 @@ defmodule CobblemonUiWeb.PokemonComponents do
|
|||||||
~H"""
|
~H"""
|
||||||
<span
|
<span
|
||||||
class={[
|
class={[
|
||||||
"inline-flex items-center justify-center w-5 h-5 rounded-full shadow-sm",
|
"inline-flex items-center justify-center w-5 h-5 rounded-full shadow-sm text-white",
|
||||||
TypeChart.type_color(@type_name)
|
TypeChart.type_color(@type_name)
|
||||||
]}
|
]}
|
||||||
title={@type_name}
|
title={@type_name}
|
||||||
|
|||||||
Reference in New Issue
Block a user