Repository navigation
fix(whiteboard): keep the yellow fill colors in the palette override - #26400
antobinary merged 1 commit into
Conversation
setupColorThemePaletteOverrides replaces the whole yellow palette entry, which drops its semi and pattern colors. Yellow shapes with a solid or pattern fill are drawn black. Those shapes get the tldraw yellow fill colors back, while strokes, notes and highlights keep the more vibrant yellow. Set only the yellow solid and highlight colors, as is done for the black highlight.
|
No actionable comments were generated in the recent review. Walkthrough
Estimated code review effort: 2 (Simple) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk:
|
✅ Automated tests have passed! |
What does this PR do?
Keeps the tldraw yellow fill colors when the whiteboard palette is overridden.
setupColorThemePaletteOverridesnow sets only the yellowsolidandhighlightcolors, as it already does for the black highlight, instead of replacing the whole yellow entry.Closes Issue(s)
None.
Motivation
The palette override from #24165 replaces the whole yellow entry, which drops its
semiandpatterncolors. Yellow shapes with a solid or pattern fill are then drawn black.How to test
More
Changelog
Technical —
setupColorThemePaletteOverridessets only the yellow solid and highlight colors instead of replacing the yellow palette entry.User-facing — Yellow shapes with a solid or pattern fill are no longer drawn black on the whiteboard.