mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-23 09:25:35 +08:00
feat(proxies): gradient gradient gradient
This commit is contained in:
parent
7001f78e66
commit
ca13549434
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user