File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ export const ConnectionLinks = memo(({ links }: ConnectionLinksProps) => {
104104 < button
105105 onClick = { handleCopyAll }
106106 className = { `group cursor-pointer flex items-center gap-2 px-3 py-1.5 text-sm rounded-lg transition-all duration-200 hover:scale-105 active:scale-95 hover:shadow-lg ${ copyAllSuccess
107- ? 'bg-green-600 text-white hover:bg-green-700 shadow-green-600 /25'
107+ ? 'bg-primary text-primary-foreground hover:bg-primary/90 shadow-primary /25'
108108 : 'bg-primary text-primary-foreground hover:bg-primary/90 hover:shadow-primary/25'
109109 } `}
110110 title = { copyAllSuccess ? t ( 'apps.copyAllSuccess' ) : t ( 'apps.copyAll' ) }
@@ -142,7 +142,7 @@ export const ConnectionLinks = memo(({ links }: ConnectionLinksProps) => {
142142 < button
143143 onClick = { handleCopySubscription }
144144 className = { `p-1.5 rounded transition-all cursor-pointer ${ isCopied ( subscriptionUrl )
145- ? 'bg-green-600 text-white '
145+ ? 'bg-primary text-primary-foreground '
146146 : 'bg-muted hover:bg-primary hover:text-primary-foreground'
147147 } `}
148148 title = { t ( 'qr.copy' ) }
@@ -208,7 +208,7 @@ export const ConnectionLinks = memo(({ links }: ConnectionLinksProps) => {
208208 < button
209209 onClick = { ( ) => handleCopy ( link ) }
210210 className = { `p-1.5 rounded transition-all cursor-pointer ${ copied
211- ? 'bg-green-600 text-white '
211+ ? 'bg-primary text-primary-foreground '
212212 : 'bg-muted hover:bg-primary hover:text-primary-foreground'
213213 } `}
214214 title = { link . protocol === 'unknown' ? t ( 'qr.copy' ) : t ( 'configActions.copyConfig' ) }
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export const ProminentSubscriptionLink = memo(({ hasChart }: ProminentSubscripti
6969 onClick = { handleCopy }
7070 className = { `p-1.5 rounded transition-all cursor-pointer ${
7171 isCopied ( subscriptionUrl )
72- ? 'bg-green-600 text-white '
72+ ? 'bg-primary text-primary-foreground '
7373 : 'bg-muted hover:bg-primary hover:text-primary-foreground'
7474 } `}
7575 title = { t ( 'qr.copy' ) }
You can’t perform that action at this time.
0 commit comments