Skip to content

fix(cards): keep card color on clone and use contrasting text color - #8726

Merged
grnd-alt merged 1 commit into
mainfrom
feat/card-color-clone-and-contrast
Nov 11, 2026
Merged

grnd-alt merged 1 commit into
mainfrom
feat/card-color-clone-and-contrast

Conversation

@mejo-

@mejo- mejo- commented Nov 10, 2026

Copy link
Copy Markdown
Member

Pass the card color through when duplicating a card so the copy keeps it.

On cards with a custom background color, pick black or white text based on the background's lightness, as is already done for tags, and apply it to muted text and badges on the card as well.

Assisted-by: ClaudeCode:claude-opus-5-5

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests (unit, integration, api and/or acceptance) are included

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

Pass the card color through when duplicating a card so the copy keeps it.

On cards with a custom background color, pick black or white text based
on the background's lightness, as is already done for tags, and apply it
to muted text and badges on the card as well.

Signed-off-by: Jonas <jonas@freesources.org>
Assisted-by: ClaudeCode:claude-opus-5-5
@mejo- mejo- self-assigned this Nov 10, 2026
@mejo- mejo- added the bug label Nov 10, 2026
@mejo-
mejo- requested a review from grnd-alt as a code owner November 10, 2026 10:46
@github-project-automation github-project-automation Bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity team Nov 10, 2026
@mejo- mejo- moved this from 🧭 Planning evaluation (don't pick) to 👀 In review in 📝 Productivity team Nov 10, 2026
@grnd-alt
grnd-alt merged commit ff9ad5f into main Nov 11, 2026
45 of 47 checks passed
@grnd-alt
grnd-alt deleted the feat/card-color-clone-and-contrast branch November 11, 2026 08:56
@github-project-automation github-project-automation Bot moved this from 👀 In review to ☑️ Done in 📝 Productivity team Nov 11, 2026
@mejo-

mejo- commented Nov 11, 2026

Copy link
Copy Markdown
Member Author

/backport to stable35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

2 participants