Skip to content

fix(docs): remove hardcoded VitePress brand color override#326

Open
SonyLeo wants to merge 1 commit intoopentiny:developfrom
SonyLeo:fix/docs-theme
Open

fix(docs): remove hardcoded VitePress brand color override#326
SonyLeo wants to merge 1 commit intoopentiny:developfrom
SonyLeo:fix/docs-theme

Conversation

@SonyLeo
Copy link
Copy Markdown
Collaborator

@SonyLeo SonyLeo commented Apr 16, 2026

问题处理:

修复了文档站点在暗色模式下侧边栏悬浮标题时颜色不可见的问题。

具体处理方式是移除 VitePress 主题中对 --vp-c-brand-1: #191919 的硬编码覆盖,让默认的暗色模式品牌色变量重新生效。

修改前:
image

修改后:
image

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 16, 2026

Warning

Rate limit exceeded

@SonyLeo has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 7 minutes and 28 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 7 minutes and 28 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: d09e9a20-b6fb-493f-b2ed-a873728eceb7

📥 Commits

Reviewing files that changed from the base of the PR and between 6a8bf29 and e68ae6d.

📒 Files selected for processing (1)
  • docs/.vitepress/theme/style.css
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@SonyLeo SonyLeo linked an issue Apr 16, 2026 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 16, 2026

✅ Preview build completed successfully!

Click the image above to preview.
Preview will be automatically removed when this PR is closed.

@github-actions
Copy link
Copy Markdown
Contributor

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.

【doc site】dark mode side menu highlight color unvisible

1 participant