Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add border prop for color in storybook #771

Merged
merged 3 commits into from
Oct 30, 2023
Merged

Conversation

lukasoppermann
Copy link
Contributor

Summary

Add border prop for color in storybook

List of notable changes:

What should reviewers focus on?

Steps to test:

@lukasoppermann lukasoppermann added the skip changeset Apply to PRs that should not result in a version bump. label Oct 30, 2023
@lukasoppermann lukasoppermann requested a review from a team as a code owner October 30, 2023 14:24
@lukasoppermann lukasoppermann requested review from a team, rezrah and joshblack October 30, 2023 14:24
@changeset-bot
Copy link

changeset-bot bot commented Oct 30, 2023

⚠️ No Changeset found

Latest commit: 30df5dd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 30, 2023

Variables changed
No variables changed

@lukasoppermann lukasoppermann temporarily deployed to github-pages October 30, 2023 14:27 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview October 30, 2023 14:28 Inactive
@lukasoppermann lukasoppermann added the update snapshots Update visual regression test snapshots label Oct 30, 2023
@github-actions github-actions bot removed the update snapshots Update visual regression test snapshots label Oct 30, 2023
@lukasoppermann lukasoppermann temporarily deployed to github-pages October 30, 2023 15:06 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview October 30, 2023 15:06 Inactive
style={{
backgroundColor: `var(--${color})`,
color: textColor,
border: border ? '1px solid var(--color-scale-gray-1)' : 'none',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
border: border ? '1px solid var(--color-scale-gray-1)' : 'none',
border: border ? '1px solid var(--borderColor-default)' : 'none',

What do you think of using the default border color?

@github-actions github-actions bot temporarily deployed to storybook-preview October 30, 2023 15:23 Inactive
@lukasoppermann lukasoppermann merged commit 2722a50 into main Oct 30, 2023
23 of 25 checks passed
@lukasoppermann lukasoppermann deleted the storybook-update branch October 30, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip changeset Apply to PRs that should not result in a version bump.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants