Skip to content

Fix group color inheritance - #111

Merged
lmittmann merged 2 commits into
lmittmann:mainfrom
database64128:group-color
Oct 2, 2026
Merged

lmittmann merged 2 commits into
lmittmann:mainfrom
database64128:group-color

Conversation

@database64128

Copy link
Copy Markdown
Contributor

Test case:

logger.Info("test", tint.Attr(10, slog.Group("test", slog.String("key", "val"), tint.Err(errors.New("fail")))))

Before:
Screenshot From 2026-09-02 20-25-55

After:
Screenshot From 2026-09-02 20-26-26

Grouped attributes now inherit the color set on the group.

@database64128

Copy link
Copy Markdown
Contributor Author

@lmittmann Friendly ping

@lmittmann

Copy link
Copy Markdown
Owner

this slipped my attention. thank you for the fix!

@lmittmann
lmittmann merged commit ce10bb1 into lmittmann:main Oct 2, 2026
2 checks passed
@database64128
database64128 deleted the group-color branch October 2, 2026 14:44
Lunaclavis pushed a commit to Lunaclavis/tint that referenced this pull request Oct 23, 2026
* Fix group color inheritance

* move test case

---------

Co-authored-by: lmittmann <lmittmann@users.noreply.github.com>
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