Skip to content

fix(ui): remove invalid hsl wrapper from graph node gradient styling (#1306) - #1718

Merged
Shashankss1205 merged 1 commit into
CodeGraphContext:mainfrom
aishwaryagangaraj-web:fix/graph-node-gradient-1306
Sep 24, 2026
Merged

Shashankss1205 merged 1 commit into
CodeGraphContext:mainfrom
aishwaryagangaraj-web:fix/graph-node-gradient-1306

Conversation

@aishwaryagangaraj-web

Copy link
Copy Markdown
Contributor

Fixes #1306

Description

Removes the invalid hsl() wrapper around var(--gradient-primary) inside .graph-node in website/src/index.css. This restores proper linear gradient background rendering for graph nodes across the UI.

@vercel

vercel Bot commented Sep 11, 2026

Copy link
Copy Markdown

@aishwaryagangaraj-web is attempting to deploy a commit to the shashankss1205's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Shashankss1205 Shashankss1205 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct fix for #1306. --gradient-primary is defined as a complete linear-gradient(...) value, not as HSL channel components, so wrapping it in hsl() produced an invalid value and the declaration was dropped — graph nodes fell back to no background at all. Unwrapping it restores the gradient.

One nit I'll clean up on main rather than send you another round-trip for: the diff leaves a duplicated /* Graph visualization styles */ comment, the new copy indented one space instead of two. Not worth another push on your side.

Merging.

@Shashankss1205
Shashankss1205 merged commit a864a9f into CodeGraphContext:main Sep 24, 2026
1 check failed
@github-project-automation github-project-automation Bot moved this from Backlog tasks to Done in CGC Progress Board Sep 24, 2026
@Shashankss1205 Shashankss1205 added gssoc:approved GSSoC validation: counts toward scoring level:beginner GSSoC difficulty: 20 pts contributor / 10 mentor mentor:Shashankss1205 GSSoC mentor attribution: credits reviewing mentor quality:clean GSSoC quality: x1.2 contributor / +5 mentor type:bug GSSoC type bonus: bug labels Sep 24, 2026
Shashankss1205 added a commit that referenced this pull request Oct 15, 2026
style(website): drop duplicated graph-node comment left by #1718
bismay70 pushed a commit to bismay70/CodeGraphContext that referenced this pull request Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved GSSoC validation: counts toward scoring level:beginner GSSoC difficulty: 20 pts contributor / 10 mentor mentor:Shashankss1205 GSSoC mentor attribution: credits reviewing mentor quality:clean GSSoC quality: x1.2 contributor / +5 mentor type:bug GSSoC type bonus: bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Fix invalid gradient usage in graph node stylin

2 participants