-
-
Notifications
You must be signed in to change notification settings - Fork 50.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
site: solve display exception when use happy work theme in dark mode #44720
Conversation
Run & review this pull request in StackBlitz Codeflow. |
size-limit report 📦
|
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #44720 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 680 681 +1
Lines 11417 11438 +21
Branches 3073 3080 +7
=========================================
+ Hits 11417 11438 +21 ☔ View full report in Codecov by Sentry. |
} | ||
return null; | ||
}) | ||
.filter((item) => item); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.filter(Boolean);
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
☑️ Self-Check before Merge
🚀 Summary
🤖 Generated by Copilot at 70c696e
Support dark mode for antd theme in dumi docs. Modify
getAlgorithm
function in.dumi/theme/layouts/GlobalLayout.tsx
to use dark algorithm if themes include 'dark'.🔍 Walkthrough
🤖 Generated by Copilot at 70c696e