feat(proxies): gradient gradient gradient

This commit is contained in:
kunish 2024-10-13 02:43:49 +08:00
parent 7001f78e66
commit ca13549434
No known key found for this signature in database
GPG Key ID: 67D3ACD788F3A7CD

View File

@ -48,7 +48,8 @@ export const ProxyNodeCard = (props: {
<Tooltip.Anchor
class={twMerge(
'card bg-neutral text-neutral-content',
isSelected && 'bg-primary text-primary-content',
isSelected &&
'bg-gradient-to-b from-primary to-secondary text-primary-content',
onClick && 'cursor-pointer',
)}
title={title()}
@ -67,6 +68,7 @@ export const ProxyNodeCard = (props: {
<Latency
proxyName={props.proxyName}
class={twMerge(
isSelected && 'badge-primary',
proxyLatencyTestingMap()[proxyName] && 'animate-pulse',
)}
onClick={(e) => {