Skip to content

Added support for dark and light theme logo - #143

Merged
Av3boy merged 2 commits into
devfrom
Av3boy-patch-5
Aug 28, 2026
Merged

Av3boy merged 2 commits into
devfrom
Av3boy-patch-5

Conversation

@Av3boy

@Av3boy Av3boy commented Aug 28, 2026

Copy link
Copy Markdown
Owner

Trying out rendering a white logo in dark theme and black logo in light mode so that it is more clearly visible.

Copilot AI lite review requested due to automatic review settings August 28, 2026 15:11
@Av3boy Av3boy added enhancement New feature or request wip work in progress labels Aug 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The README currently references the same SVG for both dark and light sources, so it does not implement the stated dark/light logo behavior.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the repository README header logo markup to support theme-aware rendering (different logo variants for dark vs light mode), improving visibility across GitHub UI themes.

Changes:

  • Replaced the single <img> logo with a <picture> element and theme-targeted <source> entries.
  • Added an alt attribute to the logo image for better accessibility.
File summaries
File Description
README.md Switches README logo markup to <picture> with dark/light <source> entries to enable theme-aware logo rendering.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread README.md Outdated
Comment on lines +3 to +5
<source media="(prefers-color-scheme: dark)" srcset="Resources/icon.svg"/>
<source media="(prefers-color-scheme: light)" srcset="Resources/icon.svg"/>
<img alt="The SharpEngine logo." align="center" width="100" src="Resources/icon.svg"/>
@Av3boy Av3boy removed the wip work in progress label Aug 28, 2026
@Av3boy Av3boy changed the title WIP: Added support for dark and light theme logo Added support for dark and light theme logo Aug 28, 2026
@sonarqubecloud

Copy link
Copy Markdown

@Av3boy
Av3boy merged commit c9c68a3 into dev Aug 28, 2026
4 checks passed
@Av3boy
Av3boy deleted the Av3boy-patch-5 branch September 20, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants