Skip to content

fix: update companion edition card colors per issue #2851#2861

Merged
sydseter merged 1 commit intoOWASP:masterfrom
Adarshkumar0509:fix/companion-edition-colors-2851
Apr 22, 2026
Merged

fix: update companion edition card colors per issue #2851#2861
sydseter merged 1 commit intoOWASP:masterfrom
Adarshkumar0509:fix/companion-edition-colors-2851

Conversation

@Adarshkumar0509
Copy link
Copy Markdown
Contributor

@Adarshkumar0509 Adarshkumar0509 commented Apr 22, 2026

Closes #2851

Hii! So basically the companion edition cards were all showing up grey regardless of which suite they belonged to — not ideal when each suite is supposed to have its own distinct color identity.

I've gone through each suite and applied the correct colors as specified in the companion PDF:

  • The left ribbon on all cards now has a nice top-to-bottom gradient using the suite's color
  • For face cards (J, Q, K), the card background also picks up the suite color at 50% opacity to give them that premium feel

Suites updated: CLD, FRE, LLM, DVO, AAI, and BOT.

Only touched cardPreview.svelte — no logic changes, purely visual. Let me know if anything looks off!

AI Tool Disclosure

  • My contribution does not include any AI-generated content
  • My contribution includes AI-generated content, as disclosed below:
    • AI Tools: [e.g. GitHub CoPilot, ChatGPT, JetBrains Junie etc.]
    • LLMs and versions: [e.g. GPT-4.1, Claude Haiku 4.5, Gemini 2.5 Pro etc.]
    • Prompts: [Summarize the key prompts or instructions given to the AI tools]

Affirmation

@sydseter
Copy link
Copy Markdown
Collaborator

@Adarshkumar0509 Looks good! Thank you for your efforts!

@sydseter sydseter merged commit 3478278 into OWASP:master Apr 22, 2026
7 of 9 checks passed
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.

Change the color for the companion edition

2 participants