[Text] Component needs to respect global semantic colors#13594
[Text] Component needs to respect global semantic colors#13594nileshp87 wants to merge 8 commits intomicrosoft:masterfrom
Conversation
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 4765a203d0d25f4c09eb946b23e06fe50966d59f (build) |
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
|
Syncing up offline |
|
I would suggest chatting with @paulgildea and/or @dzearing about the behavior here. Originally, if I remember correctly, the assumption was that the Text object would inherit the text color of its parent elements. Not sure if the FluentUI team wants to change that assumption. |
|
Hello @dzearing! 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 (
|
|
@nileshp87 Looks like you need to update snapshots. |
|
Actually I went ahead and did the updates in the interest of getting this merged (I've been trying to help get old PRs either merged or closed). |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit deb02cd:
|
ecraig12345
left a comment
There was a problem hiding this comment.
Somehow this seems to be causing screener failures with Button, which is really strange because Button doesn't use Text. @dzearing or @khmakoto any ideas? (marking as request changes to ensure it gets fixed)
https://screener.io/v2/dashboard/5e753c387bf3181b00090c18/patch-2
|
@nileshp87, @khmakoto, it looks like this PR is pretty far out of date. It might be a good idea to convert to draft while things get worked out. Also, do we really need all of these requested reviewers? It would help to tidy that up too. Thanks for picking this back up though! |
|
@JustSlone Yeah, I've been working to get rid of merge conflicts and get it back to a good state. Although it might be good to close it and do it from zero again. I'll spin up a new one tomorrow. |
|
Closed in favor of #17252. |
Pull request checklist
$ yarn changeDescription of changes
Looking at how TextField works, I mimicked the pattern for using semanticColors. However, to leave the old behavior intact I use the semanticColor as a fallback instead of the only option.
Focus areas to test
(optional)