Skip to content

Conversation

@lukasoppermann
Copy link
Collaborator

@lukasoppermann lukasoppermann commented Mar 11, 2025

Summary

This PR adds gradients for data visualization using the muted color.

I am adding special colors gradientStop-1 and gradientStop-2 as well as an assembled gradient. This is important because both in svg gradients and in Figma we need the individual colors rather than a combined gradient like in css.

@lukasoppermann lukasoppermann requested review from a team as code owners March 11, 2025 13:38
@changeset-bot
Copy link

changeset-bot bot commented Mar 11, 2025

🦋 Changeset detected

Latest commit: 781d015

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/primitives Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2025

Design Token Diff (CSS)

The message is too long to be displayed here. For more details, please check the job summary.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2025

Design Token Diff (StyleLint)

The message is too long to be displayed here. For more details, please check the job summary.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2025

Design Token Diff (Figma)

The message is too long to be displayed here. For more details, please check the job summary.

@github-actions github-actions bot temporarily deployed to Preview (Storybook) March 11, 2025 13:41 Inactive
@github-actions github-actions bot temporarily deployed to Preview (Storybook) March 11, 2025 13:49 Inactive
@lukasoppermann lukasoppermann added the update snapshots Update visual regression test snapshots label Mar 11, 2025
@github-actions github-actions bot removed the update snapshots Update visual regression test snapshots label Mar 11, 2025
@primer primer bot temporarily deployed to github-pages March 11, 2025 14:48 Inactive
@github-actions github-actions bot temporarily deployed to Preview (Storybook) March 11, 2025 14:49 Inactive
},
},
},
'gradient-stop-1': {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason this is the full string instead of nested values for the token name?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point, I adjusted it to gradientStop and nested 1 and 2 inside.

@lukasoppermann lukasoppermann added the update snapshots Update visual regression test snapshots label Mar 12, 2025
@github-actions github-actions bot temporarily deployed to Preview (Storybook) March 12, 2025 08:19 Inactive
@github-actions github-actions bot temporarily deployed to Preview (Storybook) March 12, 2025 08:21 Inactive
@lukasoppermann lukasoppermann removed the update snapshots Update visual regression test snapshots label Mar 12, 2025
@lukasoppermann lukasoppermann added the update snapshots Update visual regression test snapshots label Mar 12, 2025
@github-actions github-actions bot removed the update snapshots Update visual regression test snapshots label Mar 12, 2025
@primer primer bot temporarily deployed to github-pages March 12, 2025 09:23 Inactive
@github-actions github-actions bot temporarily deployed to Preview (Storybook) March 12, 2025 09:24 Inactive
@github-actions github-actions bot temporarily deployed to Preview (Storybook) March 12, 2025 15:52 Inactive
@lukasoppermann lukasoppermann added update snapshots Update visual regression test snapshots and removed update snapshots Update visual regression test snapshots labels Mar 12, 2025
@github-actions github-actions bot removed the update snapshots Update visual regression test snapshots label Mar 12, 2025
@primer primer bot temporarily deployed to github-pages March 12, 2025 18:35 Inactive
@github-actions github-actions bot temporarily deployed to Preview (Storybook) March 12, 2025 18:35 Inactive
@lukasoppermann lukasoppermann merged commit 87bc71e into main Mar 13, 2025
27 checks passed
@lukasoppermann lukasoppermann deleted the data-gradients branch March 13, 2025 07:53
@primer primer bot mentioned this pull request Mar 13, 2025
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.

3 participants