TryGhost/Ghost

Dark mode / light mode transitions are incorrect for most analytics sections/buttons

Open

#24,608 建立於 2025年8月6日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (11,551 fork)batch import
bugcommunitygood first issue

倉庫指標

Star
 (52,799 star)
PR 合併指標
 (平均合併 19天 11小時) (30 天內合併 658 個 PR)

描述

Issue Summary

When clicking on the dark mode / light mode button in the admin, one can see that most of the analytics sections/buttons have incorrect transitions, except for the "Last 30 days" button.

https://github.com/user-attachments/assets/dff0fcca-8c04-4a7f-9e73-8d9ba27d31e5

I can at least say that while the CSS for the correct-looking "Last 30 days" button looks like this:

Image

The CSS for all the other sections/buttons look like this:

Image

As easy as this may be to fix, where to find that incorrect CSS in the Ghost repo and then do what's needed is beyond my paygrade, so this is unfortunately as far as I can go.

Steps to Reproduce

  1. Open up analytics
  2. Click (repeatedly, if so desired) on the dark mode / light mode toggle at the bottom left of the admin
  3. See that most of the analytics sections/buttons transition with different timing than the rest of the admin

Ghost Version

6.0.0-0-g5b8c97d+moya

Node.js Version

Yes

How did you install Ghost?

Ghost(Pro)

Database type

MySQL 5.7

Browser & OS version

Firefox 141.0.2 / macOS 15.6

Relevant log / error output

Code of Conduct

  • I agree to be friendly and polite to people in this repository

貢獻者指南