Skip to content

Swap GitHub and Terrform logos depending on light or dark mode#3264

Open
thekbb wants to merge 1 commit intointegrations:mainfrom
thekbb:swap-logos-for-dark-mode
Open

Swap GitHub and Terrform logos depending on light or dark mode#3264
thekbb wants to merge 1 commit intointegrations:mainfrom
thekbb:swap-logos-for-dark-mode

Conversation

@thekbb
Copy link
Contributor

@thekbb thekbb commented Mar 10, 2026

Resolves #3263


Before the change?

When using GitHub's dark theme, the GitHub and Terraform logos are difficult to read:
existing readme with dark theme

After the change?

The Readme uses the picture element, which is supported in GitHub markdown, to swap out the assets depending on current theme.
The default is light mode.

Light theme:
screenshot in light mode

Dark theme:
screenshot in dark mode

I added the svg assets to readme-assets/, as well as slightly decreasing the size (height 50px, rather than 70px), and centered rather then left justified.

The markdownlint.yaml file has a rule against in-line-html enabled. I've disabled it for the section I've added.

Pull request checklist

  • Schema migrations have been created if needed (example)
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@github-actions
Copy link

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

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.

[BUG]: Logo images in README are not suited for dark theme

1 participant