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

feat: add tier-3 tokens to DataBar and ProgressBar #1628

Merged
merged 1 commit into from
May 23, 2023

Conversation

booc0mtaco
Copy link
Contributor

@booc0mtaco booc0mtaco commented May 23, 2023

Summary:

  • define tokens for background and border for these two components
  • these point to tier 1 values currently
  • use new tokens in specified components

Test Plan:

  • Wrote automated tests
  • CI tests / new tests are not applicable
  • Manually tested my changes, but I want to keep the details secret
  • Manually tested my changes, and here are the details:
    • check updated snapshots

- define tokens for background and border for these two components
- these point to tier 1 values currently
- use new tokens in specified components
@github-actions
Copy link

size-limit report 📦

Path Size
components 95.01 KB (0%)
styles 36.26 KB (+0.11% 🔺)

@@ -19,18 +19,11 @@ export default {
},
parameters: {
badges: ['1.0'],
backgrounds: {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The background parameter lets you change the default background color on individual stories. This is better than doing the same using a special decorator with inline styles.

Added to both databar and progress bar to align snapshots

Copy link
Contributor

Choose a reason for hiding this comment

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

Wow, pretty cool

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@booc0mtaco booc0mtaco requested a review from a team May 23, 2023 16:16
@booc0mtaco
Copy link
Contributor Author

Screenshot 2023-05-23 at 09 45 07
Screenshot 2023-05-23 at 09 46 03

Screenshot 2023-05-23 at 11 02 05
Screenshot 2023-05-23 at 11 02 28

@booc0mtaco booc0mtaco merged commit ca9da5b into next May 23, 2023
@booc0mtaco booc0mtaco deleted the aholloway/EDS-989 branch May 23, 2023 16:52
@jinlee93 jinlee93 mentioned this pull request May 30, 2023
1 task
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.

2 participants