mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-03 00:17:47 +00:00
style(ui): use sidebar accent colors for proxy update button
- replace hardcoded amber-600 with sidebar-accent theme variable - improve consistency with sidebar theme
This commit is contained in:
@@ -123,7 +123,8 @@ export function ProxyStatusWidget() {
|
|||||||
size="sm"
|
size="sm"
|
||||||
className={cn(
|
className={cn(
|
||||||
'h-7 text-xs gap-1 flex-1',
|
'h-7 text-xs gap-1 flex-1',
|
||||||
hasUpdate && 'bg-amber-600 hover:bg-amber-700 text-white'
|
hasUpdate &&
|
||||||
|
'bg-sidebar-accent hover:bg-sidebar-accent/90 text-sidebar-accent-foreground'
|
||||||
)}
|
)}
|
||||||
onClick={handleRestart}
|
onClick={handleRestart}
|
||||||
disabled={isActioning}
|
disabled={isActioning}
|
||||||
|
|||||||
Reference in New Issue
Block a user