Skip to content

Conversation

@DipakHalkude
Copy link
Contributor

Fixes #11417

Description

This PR removes the hardcoded style: 'dark' from the footer configuration to enable automatic theme switching between light and dark modes.

Problem

When switching between light and dark modes, the footer color remained dark even in light mode, creating visual inconsistency and breaking design harmony.

Solution

As suggested by maintainer @PyvesB, simply removing the style: 'dark' line allows the footer to dynamically adapt its colors according to the selected theme.

Changes Made

Removed style: 'dark' from frontend/docusaurus.config.cjs (line 91)

Testing

The footer now automatically switches between light and dark themes, ensuring consistent UI experience across both modes.

@github-actions
Copy link
Contributor

Messages
📖 ✨ Thanks for your contribution to Shields, @DipakHalkude!

Generated by 🚫 dangerJS against cc7590f

@DipakHalkude
Copy link
Contributor Author

@PyvesB @jNullj Please review my PR when you have time. Thank you :)

@PyvesB
Copy link
Member

PyvesB commented Oct 19, 2025

Could you please share screenshots validating the change?

@PyvesB PyvesB added the frontend The Docusaurus app serving the docs site label Oct 19, 2025
@DipakHalkude
Copy link
Contributor Author

ScreenShots:

In Light:

Screenshot 2025-10-19 195423

In Dark:

Screenshot 2025-10-19 195433

Copy link
Member

@PyvesB PyvesB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks reasonable to me, let's ship it.

@PyvesB PyvesB added this pull request to the merge queue Oct 19, 2025
Merged via the queue into badges:master with commit 6d3f63c Oct 19, 2025
20 checks passed
@DipakHalkude
Copy link
Contributor Author

Thanks for merging it :)

jNullj pushed a commit to jNullj/shields-fun-fork that referenced this pull request Jan 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend The Docusaurus app serving the docs site

Development

Successfully merging this pull request may close these issues.

Footer color doesn’t switch with light/dark mode

2 participants