mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-27 10:44:02 +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
|
<Tooltip.Anchor
|
||||||
class={twMerge(
|
class={twMerge(
|
||||||
'card bg-neutral text-neutral-content',
|
'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',
|
onClick && 'cursor-pointer',
|
||||||
)}
|
)}
|
||||||
title={title()}
|
title={title()}
|
||||||
@ -67,6 +68,7 @@ export const ProxyNodeCard = (props: {
|
|||||||
<Latency
|
<Latency
|
||||||
proxyName={props.proxyName}
|
proxyName={props.proxyName}
|
||||||
class={twMerge(
|
class={twMerge(
|
||||||
|
isSelected && 'badge-primary',
|
||||||
proxyLatencyTestingMap()[proxyName] && 'animate-pulse',
|
proxyLatencyTestingMap()[proxyName] && 'animate-pulse',
|
||||||
)}
|
)}
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user