-
Notifications
You must be signed in to change notification settings - Fork 27
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
feat(NavigationBar): Add lightweight styling to Navigation bar #608
Conversation
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.
@kazo0 I think it would be great for toolkit if we add another tab for SamplePageLayout to easily test the Fluent Style (right now it is only available for Material)
Similar Code from Gallery for the Fluent RadioButton @Marc-Antoine-Soucy
- https://github.com/unoplatform/Uno.Gallery/blob/a2e88f1844a2fa2dc386867534246c409f58687c/Uno.Gallery/Uno.Gallery.UWP/Views/Styles/SamplePageLayout.xaml#L144
- https://github.com/unoplatform/Uno.Gallery/blob/a2e88f1844a2fa2dc386867534246c409f58687c/Uno.Gallery/Uno.Gallery.UWP/Views/Styles/SamplePageLayout.xaml#L223
<sample:SamplePageLayout.FluentTemplate>
<DataTemplate>
Sample content...
</DataTemplate>
</sample:SamplePageLayout.FluentTemplate>
898b842
to
8ef594d
Compare
8ef594d
to
f9782b3
Compare
@kazo0 For this pr, there is one remaining bug that I already talked about on teams, which is that the color override from within the NavBarDictionnary overrides the value of the commandbar background. If we switch the order in which we load them, then we get the reverse problem. This is only an issue on uno platforms, not on WinUI/UWP. I think however we can still push this pr? |
f9782b3
to
64de9de
Compare
Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-608.eastus2.azurestaticapps.net |
a8cb1da
to
ad74c68
Compare
Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-608.eastus2.azurestaticapps.net |
1 similar comment
Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-608.eastus2.azurestaticapps.net |
ad74c68
to
d693814
Compare
Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-608.eastus2.azurestaticapps.net |
d693814
to
751730f
Compare
Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-608.eastus2.azurestaticapps.net |
@Mergifyio backport legacy/3x |
✅ Backports have been created
|
* style: fix tabs * feat(NavigationBar): Add lightweight styling to Navigation bar (cherry picked from commit 5dfeeab)
GitHub Issue (If applicable): #
#595
#541
PR Type
What kind of change does this PR introduce?
What is the current behavior?
You cannot change the color of the navbar with lightWeight styling
What is the new behavior?
Added LightWeight resources for the NavBar and fixed a fluent bug where the foreground would not change when changing theme.
PR Checklist
Please check if your PR fulfills the following requirements:
Other information
Internal Issue (If applicable):