-
Notifications
You must be signed in to change notification settings - Fork 367
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
upcoming: [M3-8772] - Add global borderRadiusTokens to theme and replace hardcoded values #11169
upcoming: [M3-8772] - Add global borderRadiusTokens to theme and replace hardcoded values #11169
Conversation
…harcoded values where borderRadius = 0
Cloud Manager UI test results🎉 445 passing tests on test run #4 ↗︎
|
borderRadius: 0, | ||
borderRadius: theme.tokens.borderRadius.None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally, I think it's easier just to type 0
than theme.tokens.borderRadius.None
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree it's shorter, but what tokens provide is essentially semantic clarity and intent. Often you'll hear alias
tokens be referred to as semantic
tokens in that using the token makes it clear this was an intentional design decision rather than a one-off value. So granted None
will always mean 0
in this case, there's other benefits we obtain from this approach as well
Cloud Manager E2E Run #6780
Run Properties:
|
Project |
Cloud Manager E2E
|
Branch Review |
develop
|
Run status |
Passed #6780
|
Run duration | 25m 27s |
Commit |
cf3613f206: upcoming: [M3-8772] - Add global borderRadiusTokens to theme and replace hardcod...
|
Committer | zaenab-akamai |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
2
|
Pending |
2
|
Skipped |
0
|
Passing |
445
|
View all changes introduced in this branch ↗︎ |
Description 📝
Add global (theme agnostic) border radius tokens to
theme
Changes 🔄
theme
accessible viatheme.tokens.borderRadius
as mentioned in this PRTarget release date 🗓️
NA
Preview 📷
NA
How to test 🧪
theme.tokens.*
As an Author I have considered 🤔
Check all that apply