Skip to content

fix(admin): My Account stays visible in the top bar when open - #109

Merged
hiddify-com merged 1 commit into
hiddify:devfrom
Hiddify-Official:fix/account-topbar-active
Oct 24, 2026
Merged

hiddify-com merged 1 commit into
hiddify:devfrom
Hiddify-Official:fix/account-topbar-active

Conversation

@Hiddify-Official

Copy link
Copy Markdown
Contributor

Problem

In the default (Hiddify) theme, light or dark, the My Account icon in the top bar almost disappears while My Account is open.
Root cause: its active style uses the primary color, which is also the default theme's top bar color, so the icon is drawn blue on blue.

Change

  • core/layout/sakai/AppTopbar.vue: the active My Account button uses the bar's own text color on the hover tint (--topbar-text / --topbar-hover). The notifications and appearance buttons already use this rule when open.
  • The glass (Caddy) theme keeps its own active style from _theme-caddy.scss.

Screenshots

Top bar with My Account open:

Before After
before after
before after
before after

Tested

  • Deployed to main, node1 and node2 (UI).
  • On main: My Account in the default theme (light and dark) and the glass theme.

Review

  • Confidence: High (>90%): one CSS rule, copied from the other top bar buttons.
  • Complexity: Simple: style only.

🤖 Generated with Claude Code

… open

The active style used the primary color, which is the default themes' top
bar color, so the icon faded into it. It now uses the bar's own text color,
as the notifications and appearance buttons do; the glass theme keeps its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hiddify-com
hiddify-com merged commit b6787db into hiddify:dev Oct 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants