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 action tokens to PrimaryButton with brand base as fallback #3081

Draft
wants to merge 1 commit into
base: prerelease/minor
Choose a base branch
from

Conversation

mannycarrera4
Copy link
Contributor

Summary

Fixes: #3072

Release Category

Components

Release Note

In @workday/[email protected] we've added new action tokens. In most cases you'll use brand.primary.** tokens to override theme. However, in the unique cases where you need additional control. over styling PrimaryButton you can override brand.action.** tokens for more control. This PR ensures that PrimaryButton uses the new action tokens with brand.base.** being a fallback token. There should be no breaking changes as this is an addition to provide more control of theming our PrimaryButton component.


Checklist

For the Reviewer

  • PR title is short and descriptive
  • PR summary describes the change (Fixes/Resolves linked correctly)
  • PR Release Notes describes additional information useful to call out in a release message or removed if not applicable
  • Breaking Changes provides useful information to upgrade to this code or removed if not applicable

Where Should the Reviewer Start?

Areas for Feedback? (optional)

  • Code
  • Documentation
  • Testing
  • Codemods

Testing Manually

Screenshots or GIFs (if applicable)

Thank You Gif (optional)

Copy link

cypress bot commented Dec 19, 2024

Workday/canvas-kit    Run #8140

Run Properties:  status check passed Passed #8140  •  git commit ba087d8274 ℹ️: Merge e71fff86b6143e9c7897a3a5e75521f7919824c3 into 66db2d01a33a6b91d0a3723c3af2...
Project Workday/canvas-kit
Branch Review mc-action-tokens
Run status status check passed Passed #8140
Run duration 02m 46s
Commit git commit ba087d8274 ℹ️: Merge e71fff86b6143e9c7897a3a5e75521f7919824c3 into 66db2d01a33a6b91d0a3723c3af2...
Committer Manuel Carrera
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 21
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 923
View all changes introduced in this branch ↗︎
UI Coverage  21.23%
  Untested elements 1523  
  Tested elements 408  
Accessibility  99.14%
  Failed rules  6 critical   5 serious   0 moderate   2 minor
  Failed elements 162  

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.

1 participant