Description from extension meta
Fixes GitHub Actions log colors when using light theme.
Image from store
Description from store
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.