-
Notifications
You must be signed in to change notification settings - Fork 163
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
Button tokens was missing iOS File and had a typo in Default file #3238
base: main
Are you sure you want to change the base?
Conversation
This reverts commit 3590116.
The color tokens file for iOS was missing, and the default one had a couple of types (icon: instead of iconColor:)
|
||
export const defaultButtonColorTokens: TokenSettings<ButtonTokens, Theme> = (t: Theme) => | ||
({ | ||
backgroundColor: t.colors.buttonBackground, |
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.
Is this a copy of the base ButtinColorTokens file? If so this file isn't necessary, it should pick up the base version if no override has been specified.
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.
let me check that, I actually noticed this was missing and the bugs in the other one several weeks ago then forgot to go through with the check in so I'm resurecting it.
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.
If you do need iOS tokens, we should use Fluent tokens to specify the styling. The current colors listed here are older colors that aren't used in the Fluent2 system.
Please add a description of your changes. |
Platforms Impacted
Description of changes
(a summary of the changes made, often organized by file)
Verification
ran local tests and test code
Pull request checklist
This PR has considered (when applicable):