Skip to content

Commit d401f5b

Browse files
authored
Update Aliascolortoken interface (#2441)
### Platforms Impacted - [x] iOS - [x] macOS - [x] win32 (Office) - [x] windows - [x] android ### Description of changes In preparation of adding iOS alias color tokens, updating the existing AliasColorTokens interface to specify which platforms each token is on, make all the properties optional (there are only 30 tokens that are currently defined on all platforms, and that still seems to be changing) and also reorganized the tokens into the following: // Foreground 1. Neutralforeground 1-4 2. Neutralforegrounddisabled 3. Neutralforegroundoncolor and onboard 4. Neutralforegroundinverted 5. Brandforegroundlink 6. Compoundbrandforeground 7. Brandforeground 1 and 2 8. Brandforegroundtint 9. Brandforegrounddisabled // Background 10. Neutralbackground 1-6 11. Neutralbackground other 12. Subtle background 13. Transparent background 14. Brandbackground // Stroke 15. Neutralstroke 16. Stroke focus 17. Brand stroke 18. Transparent stroke // Red 16. Red background/foreground/border Changes are split up by commit. ### Verification There are no functional changes in this PR - no properties were removed/added to this interface. ### Pull request checklist This PR has considered (when applicable): - [ ] Automated Tests - [ ] Documentation and examples - [ ] Keyboard Accessibility - [ ] Voiceover - [ ] Internationalization and Right-to-left Layouts
1 parent 57ea896 commit d401f5b

File tree

2 files changed

+339
-78
lines changed

2 files changed

+339
-78
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "List platforms each token is defined on",
4+
"packageName": "@fluentui-react-native/theme-types",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

0 commit comments

Comments
 (0)