Skip to content

fix: use --vp-button-brand-text for Skill component white text#381

Merged
madcodelife merged 1 commit intomainfrom
fix/skill-btn-primary-text-color
Mar 24, 2026
Merged

fix: use --vp-button-brand-text for Skill component white text#381
madcodelife merged 1 commit intomainfrom
fix/skill-btn-primary-text-color

Conversation

@madcodelife
Copy link
Member

Summary

  • .skill-btn-primarycolor: #fff 替换为 var(--vp-button-brand-text) !important,修复文字颜色被 VitePress 链接样式覆盖的问题
  • 同步将文件内其他两处硬编码 #fff 和无效的 --vp-c-white 统一替换为 --vp-button-brand-text

🤖 Generated with Claude Code

Replace hardcoded #fff and invalid --vp-c-white with the project-defined
--vp-button-brand-text variable for brand-colored button text.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@madcodelife madcodelife merged commit 35821a9 into main Mar 24, 2026
2 checks passed
@madcodelife madcodelife deleted the fix/skill-btn-primary-text-color branch March 24, 2026 03:02
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.

1 participant