mirror of
https://github.com/johndoe6345789/docker-swarm-termina.git
synced 2026-04-24 13:45:01 +00:00
Improve top bar button visibility with secondary theme color
Apply secondary color (#38b2ac cyan/teal) to Refresh and Logout buttons in the dashboard header for better contrast against the dark background. Updated both desktop outlined buttons and mobile icon buttons. https://claude.ai/code/session_011PzvkCnVrsatoxbY3HbGXz
This commit is contained in:
@@ -65,15 +65,15 @@ export default function DashboardHeader({
|
||||
{isMobile ? (
|
||||
<>
|
||||
<IconButton
|
||||
color="inherit"
|
||||
color="secondary"
|
||||
onClick={onRefresh}
|
||||
disabled={isRefreshing}
|
||||
size="small"
|
||||
>
|
||||
{isRefreshing ? <CircularProgress size={20} /> : <Refresh />}
|
||||
{isRefreshing ? <CircularProgress size={20} color="secondary" /> : <Refresh />}
|
||||
</IconButton>
|
||||
<IconButton
|
||||
color="inherit"
|
||||
color="secondary"
|
||||
onClick={onLogout}
|
||||
size="small"
|
||||
>
|
||||
@@ -84,15 +84,17 @@ export default function DashboardHeader({
|
||||
<>
|
||||
<Button
|
||||
variant="outlined"
|
||||
color="secondary"
|
||||
size="small"
|
||||
onClick={onRefresh}
|
||||
disabled={isRefreshing}
|
||||
startIcon={isRefreshing ? <CircularProgress size={16} /> : <Refresh />}
|
||||
startIcon={isRefreshing ? <CircularProgress size={16} color="secondary" /> : <Refresh />}
|
||||
>
|
||||
Refresh
|
||||
</Button>
|
||||
<Button
|
||||
variant="outlined"
|
||||
color="secondary"
|
||||
size="small"
|
||||
onClick={onLogout}
|
||||
startIcon={<Logout />}
|
||||
|
||||
Reference in New Issue
Block a user