Skip to content
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

Enhance logo visibility by supporting light and dark modes in README.md #337

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

gulam159
Copy link
Contributor

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • WHOSUSING.md
  • Other (please describe): README.md

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.

Changes in this PR

This PR updates the README file to ensure the project logo is visible in both light and dark mode themes.

Added a <picture> element to conditionally display the logo based on the user's prefers-color-scheme setting.

  • Light mode: Displays the dark logo version (default).
  • Dark mode: Displays the light logo version (optimized for dark backgrounds).

Why this change?

Previously, the logo was not visible in dark mode, potentially affecting readability and branding consistency. This update ensures a seamless viewing experience for all users, regardless of their preferred theme.

This PR updates the README file to ensure the project logo is visible in both light and dark mode themes on platforms like GitHub.

Changes Made:
Added a <picture> element to conditionally display the logo based on the user's prefers-color-scheme setting.
Light mode: Displays the dark logo version (default).
Dark mode: Displays the light logo version (optimized for dark backgrounds).
Why this change?
Previously, the logo was not visible when viewed in dark mode, potentially affecting readability and branding consistency. This update ensures a seamless viewing experience for all users, regardless of their preferred theme.
@v1r3n v1r3n merged commit b4da79c into conductor-oss:main Dec 17, 2024
2 checks passed
@gulam159 gulam159 deleted the patch-1 branch December 17, 2024 08:40
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