Skip to content

Fix: Added a dark mode icon #158

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

GhoulKingR
Copy link
Contributor

This fixes issue #157: The Gaia logo isn't visible in dark mode as it is in light mode

Previously:
image

This PR:
image

Copy link
Contributor

juntao commented Jun 26, 2025

Hello, I am a PR summary agent on flows.network. Here are my reviews of code commits in this PR.


Overall Summary

Potential Issues and Errors:

  1. File Size Reduction: The reduction in file size from 166,484 bytes to 128,253 bytes for icon-dark.png should be verified to ensure it does not compromise image quality.

  2. Compatibility Check: Ensure the new icon is compatible with various display resolutions and devices where the application might be used.

Most Important Findings:

  • The PR introduces a new dark mode icon located at static/img/icon-dark.png.
  • The configuration file docusaurus.config.js was updated to include the dark mode icon by adding the line: srcDark: 'img/icon-dark.png', under the logo configuration.
  • The change is aimed at improving user experience in dark mode settings by ensuring the icon matches the theme's primary color shade of white.

This PR effectively addresses the need for a visually appropriate icon in dark mode, enhancing the overall user interface consistency.

Details

Commit b977cc2a731690a423a0a8aa3d87fdba1dd9e8ea

Key Changes in the Pull Request:

  1. New Dark Mode Icon Added:

    • Introduced a new icon for dark mode.
    • The icon file is located at static/img/icon-dark.png.
  2. Configuration Update:

    • Updated docusaurus.config.js to include the dark mode icon.
    • Added the line: srcDark: 'img/icon-dark.png', under the logo configuration.
  3. Files Changed:

    • docusaurus.config.js: 1 insertion
    • static/img/: New file added icon-dark.png

These changes implement dark mode iconography for better user experience in dark mode settings.

Commit 725d6b8d707ed7c8a7d3f625e6f6bdb2afcfcbf5

Key Changes

  1. Image Update:
    • The dark mode icon image has been updated to match the theme's primary color shade of white.
    • The file static/img/icon-dark.png was modified, resulting in a reduction from 166484 bytes to 128253 bytes.

Summary

The patch changes the dark mode icon to align with the theme's primary color, which is white. This update modifies only the icon-dark.png file within the static/img/ directory, reducing its size by 38,231 bytes. The change appears to be focused solely on adjusting the icon's appearance to better fit the theme’s aesthetic.

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.

2 participants