Skip to content

fix(svg): add missing negative color parameter to cyberpunk theme#6260

Open
Abfa41 wants to merge 1 commit into
JhaSourav07:mainfrom
Abfa41:fix/cyberpunk-negative-color-theme
Open

fix(svg): add missing negative color parameter to cyberpunk theme#6260
Abfa41 wants to merge 1 commit into
JhaSourav07:mainfrom
Abfa41:fix/cyberpunk-negative-color-theme

Conversation

@Abfa41

@Abfa41 Abfa41 commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes #6194

This PR adds the missing negative color parameter to the cyberpunk SVG theme.

Previously, the theme only defined background, text, and accent colors:

makeTheme('fce22a', '111111', 'ff003c')

The theme now includes a dedicated negative color value:

makeTheme('fce22a', '111111', 'ff003c', '2d0000')

Changes made

  • Added the missing negative color parameter to the cyberpunk theme.
  • Used a dark red (2d0000) consistent with the cyberpunk aesthetic.
  • Aligned the theme with other theme definitions that support negative contribution rendering.

Benefits

  • Ensures negative contribution values render consistently.
  • Prevents undefined negative color behavior.
  • Improves visual consistency across all SVG themes.
  • No changes to existing theme APIs or rendering logic.

Notes

This change follows the recommended fix from the issue and only affects the cyberpunk theme definition.

@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

@Abfa41 is attempting to deploy a commit to the jhasourav07's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Size Report (Gzipped Sizes)

✨ No significant bundle size changes detected.

📊 Summary of Totals

Category PR Size Base Size Difference
Total JS 3710.64 KB 3710.63 KB +0.01 KB (+0.00%)
Total CSS 290.64 KB 290.64 KB 0 B

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.

fix(svg): cyberpunk theme missing negative color parameter (LOW)

1 participant