style upload
All checks were successful
Build and Deploy / Build & Push Image (push) Successful in 31s

This commit is contained in:
2026-03-16 21:19:34 -06:00
parent c2297d0fdd
commit 452b2ab21b
2 changed files with 62 additions and 47 deletions

View File

@@ -52,7 +52,7 @@ defmodule CobblemonUiWeb.PokemonComponents do
class={[
"inline-flex items-center justify-center font-black rounded leading-none shrink-0",
"bg-base-300/20 text-base-content/25 ring-1 ring-base-300/30",
if(@compact, do: "text-[9px] w-4 h-4", else: "text-[10px] w-5 h-5")
if(@compact, do: "text-[11px] w-6 h-6", else: "text-sm w-7 h-7")
]}
>
?
@@ -101,7 +101,7 @@ defmodule CobblemonUiWeb.PokemonComponents do
rel="noopener noreferrer"
class={[
"inline-flex items-center justify-center font-black rounded leading-none shrink-0 hover:scale-110 transition-transform",
if(@compact, do: "text-[9px] w-4 h-4", else: "text-[10px] w-5 h-5"),
if(@compact, do: "text-[11px] w-6 h-6", else: "text-sm w-7 h-7"),
case @tier do
"S" -> "bg-red-500/20 text-red-400 ring-1 ring-red-500/30 hover:bg-red-500/30"
"A" -> "bg-orange-500/20 text-orange-400 ring-1 ring-orange-500/30 hover:bg-orange-500/30"