[List][SwiftUI control] Add color and font from token set for List header & footer#2141
Conversation
does it still make sense to reuse the tableview token set then? |
Sources/FluentUI_iOS/Components/List/FluentListSectionHeader.swift
Outdated
Show resolved
Hide resolved
@joannaquu I guess what I meant by this is that it's not a "HeaderFooterView" as one component anymore, its HeaderView and a FooterView which dont overlap. Thoughts? This was my motivation on this approach. |
ahh ok gotcha, I totally read that wrong and interpreted it as our header and footer styles would change in the future |
Platforms Impacted
Description of changes
For the swiftUI control for List / ListItem, which is the TableViewCell swiftUI version, we don't support tokens yet. This change is to add in color and font.
TableViewHeaderFooterView.Stylewhich maps to the token set, but the new swiftUI control, header and footer are distinctly different and will be in the future. To break that trend, from a consumer standpoint we can separate out the styles to just be an option for a header as we only have 1 footer style.Binary change
Not measured
Verification
Tested with the demo app. We dont have a demo page for this yet, but could be added in a future change.
Visual Verification
Pull request checklist
This PR has considered:
Microsoft Reviewers: Open in CodeFlow