-
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
Set up iOS alias color tokens #2481
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… to match designs
10 tasks
harrieshin
reviewed
Jan 5, 2023
harrieshin
reviewed
Jan 5, 2023
harrieshin
approved these changes
Jan 5, 2023
ankraj12
reviewed
Jan 5, 2023
ghost
pushed a commit
that referenced
this pull request
Jan 6, 2023
…he object (#2483) ### Platforms Impacted - [x] iOS - [x] macOS - [x] win32 (Office) - [x] windows - [x] android ### Description of changes Update the default theme fluent object to be a method that returns an object. This issue is blocking #2481: - the updated designs for iOS tokens include some new tokens that aren't in the default theme - mapPipelineToTheme.ios.ts was updated to reflect these designs - however, the default theme is still getting created and is trying to running the iOS code for mapPipelineToTheme, which causes failures because the iOS alias token set now includes tokens that aren't in the default theme (win32) token set - changing the default theme from a const object to a method prevents the default theme from getting created automatically ### Verification No visual changes Check if CI passes ### Pull request checklist This PR has considered (when applicable): - [ ] Automated Tests - [ ] Documentation and examples - [ ] Keyboard Accessibility - [ ] Voiceover - [ ] Internationalization and Right-to-left Layouts
ankraj12
reviewed
Jan 6, 2023
ankraj12
approved these changes
Jan 6, 2023
ankraj12
reviewed
Jan 6, 2023
This was referenced Jan 9, 2023
Currently waiting on #2502 to go in first - that should be the last blocker for the PR checks to pass (was just merged) |
Hello @lyzhan7! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
10 tasks
This pull request was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Platforms Impacted
Description of changes
Set up iOS alias color tokens in FURN (just neutral and brand colors for now; shared colors will be done in a future PR), so the tokens specified in updated Fluent2 designs can be accessed through the theme.
Out of scope for this PR:
Verification
Initial verification since the actual tokens aren't part of FURN yet - copied some tokens into the IOS alias-tokens files in node_modules, and checked that they were part of the final iOS palette.
No visual changes otherwise. Will add these tokens to the Notification component in a future PR for additional verification.
Pull request checklist
This PR has considered (when applicable):