Overview
Fixes GitHub Actions log colors when using light theme.
By default, even in GitHub's light theme, the Actions logs still render with a dark background and white text. This extension overrides that behavior, making logs easier to read for users who prefer or require light-themed interfaces. 🛠What It Does: - Forces a light theme appearance for GitHub Actions logs - Replaces dark background and white text with light background and dark text - Automatically applies to GitHub Actions run pages only 🎯 Where It Works: https://github.com/*/*/actions/runs/* 🔒 Privacy-Friendly: This extension does not collect, transmit, or store any user data. It runs entirely in your browser and only modifies page styles locally. Ideal for developers who use GitHub in light mode and want consistent, readable logs during continuous integration runs. The following code snippet is used to set the #log to data-color-mode: light ``` (function () { const element = document.querySelector("#logs"); if (element) { element.setAttribute("data-color-mode", "light"); const style = document.createElement("style"); style.textContent = ` #logs[data-color-mode="light"] .color-text-white { color: var(--fgColor-default) !important; } `; document.head.appendChild(style); } })(); ``` Please note: - You may need to refresh the page after clicking a link to navigate to an Action run. See screenshots for a before and after.
Details
- Version1.0
- UpdatedMay 29, 2025
- Offered byNoah Davis
- Size12.66KiB
- LanguagesEnglish
- Developer
Email
self@noahdavis.dev - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes