Skip to content

Commit 29764dd

Browse files
Ian Clarkeclaude
andcommitted
fix: Dark mode footer styling issues
Fixes two dark mode display issues: - Add html background-color in dark mode to prevent white background showing at bottom of page - Remove hardcoded black color from footer GitHub link text to respect theme colors 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 434723e commit 29764dd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

hugo-site/themes/freenet/assets/css/freenet.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,10 @@ p.page-end-spacer {
224224

225225
/* Dark mode styles */
226226
@media (prefers-color-scheme: dark) {
227+
html {
228+
background-color: #121212;
229+
}
230+
227231
body {
228232
background-color: #121212;
229233
color: #e0e0e0;

hugo-site/themes/freenet/layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<a href="https://github.com/freenet/web"><img
2222
src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" alt="GitHub"
2323
style="width: 20px; height: 20px; vertical-align: middle;"> <span
24-
style="color: black; font-weight: 600;">freenet/web</span></a>.
24+
style="font-weight: 600;">freenet/web</span></a>.
2525
</footer>
2626
</div>
2727
</body>

0 commit comments

Comments
 (0)