style: lighten homepage promo banner text

This commit is contained in:
134 2026-08-04 23:37:56 +08:00
parent 98c8dd20ee
commit d467694aa7

View File

@ -23,12 +23,12 @@ export function LovartPromoBanner({
<div className="fixed inset-x-0 top-0 z-[120] h-[45px] bg-[#ddff58] text-[#11130d]">
<div className="mx-auto flex h-full max-w-[1440px] items-center justify-center gap-3 px-11 sm:px-12">
<Sparkles className="hidden h-4 w-4 shrink-0 sm:block" />
<p className="min-w-0 truncate text-center text-[13px] font-medium sm:text-[15px]">
<p className="min-w-0 truncate text-center text-[13px] font-normal sm:text-[15px]">
{text}
</p>
{showAction ? (
<button
className="inline-flex h-8 max-w-[42%] shrink-0 items-center gap-1 px-1 text-[13px] font-semibold underline decoration-1 underline-offset-4 transition-opacity hover:opacity-65 sm:max-w-none sm:text-[15px]"
className="inline-flex h-8 max-w-[42%] shrink-0 items-center gap-1 px-1 text-[13px] font-medium underline decoration-1 underline-offset-4 transition-opacity hover:opacity-65 sm:max-w-none sm:text-[15px]"
onClick={onAction}
type="button"
>