Skip to content

Improve log level colors - #437

Open
svilenmarkov wants to merge 1 commit into
primer:mainfrom
svilenmarkov:improve-log-level-colors
Open

svilenmarkov wants to merge 1 commit into
primer:mainfrom
svilenmarkov:improve-log-level-colors

Conversation

@svilenmarkov

Copy link
Copy Markdown

Updated the log file level colors to something a little more logical.

Screenshots

Before/after:

image

GitHub Light Default after:

image

Merge checklist

  • Added/updated colors
  • Added/updated documentation/README
  • Tested in GitHub Light Default theme

Copilot AI balanced review requested due to automatic review settings November 12, 2026 19:19
@changeset-bot

changeset-bot Bot commented Nov 12, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: bc81212

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

🟢 Approval recommended

There are no active review issues for the log-level color additions.

No open issues 🎉

What changed in this PR

Adds explicit log-level colors to the shared theme generator, making log severity easier to distinguish across light and dark themes.

Changes:

  • Uses blue for debug, orange for warnings, and red for errors, with light/dark palette variants.
  • Uses the theme’s default foreground color for informational messages.
File Description
src/​theme.js Adds token color rules for debug, info, warning, and error log scopes.

Review effort: Balanced

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