From a54ecbcaa07946e58d60cc7b32fc018a154d991c Mon Sep 17 00:00:00 2001 From: bietiaop <1527109126@qq.com> Date: Sun, 9 Feb 2025 12:21:34 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BF=AE=E6=94=B9=E4=BE=A7=E8=BE=B9?= =?UTF-8?q?=E6=A0=8F=E6=A0=87=E9=A2=98=E8=89=B2=E9=80=82=E9=85=8D=E4=B8=BB?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- napcat.webui/src/styles/text.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/napcat.webui/src/styles/text.css b/napcat.webui/src/styles/text.css index debb19e6..711b01df 100644 --- a/napcat.webui/src/styles/text.css +++ b/napcat.webui/src/styles/text.css @@ -1,6 +1,6 @@ @layer base { .shiny-text { - @apply text-pink-400 text-opacity-60; + @apply text-primary-400 text-opacity-60; background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; @@ -10,7 +10,7 @@ background-image: linear-gradient( 120deg, rgba(255, 50, 50, 0) 40%, - rgba(255, 76, 76, 0.8) 50%, + hsl(var(--heroui-primary-400) / 0.8) 50%, rgba(255, 50, 50, 0) 60% ); } @@ -18,11 +18,10 @@ background-image: linear-gradient( 120deg, rgba(255, 255, 255, 0) 40%, - rgba(206, 21, 21, 0.8) 50%, + hsl(var(--heroui-primary-600) / 0.8) 50%, rgba(255, 255, 255, 0) 60% ); } - @keyframes shine { 0% { background-position: 100%;