-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix(CalendarView): Adjust Material CalendarView style #1241
base: master
Are you sure you want to change the base?
Conversation
Azure Static Web Apps: Your stage site is ready! Visit it here: https://salmon-rock-0cfebe70f-1241.eastus2.azurestaticapps.net |
We have access to TodayForeground and TodayBackground, so we can change those to something that makes sense to make it stand out. But yeah I don't think we are able to customize the border surrounding the Today date @NVLudwig |
I tried to repro the Android issue on an Uno app, but couldn't repro. Maybe the issue is only on Themes sample. I created a new issue for that #1242. |
6ca26d4
to
e740da0
Compare
Azure Static Web Apps: Your stage site is ready! Visit it here: https://salmon-rock-0cfebe70f-1241.eastus2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://salmon-rock-0cfebe70f-1241.eastus2.azurestaticapps.net |
So @NVLudwig we can play with the following variables to make this control look better:
cc @kazo0 |
Hi everyone! |
Re: #1241 (comment) @iurycarlos
Figma DesignChanges so farCan't customize Today's selection since the CalendarPanel doesn't have a property to override for the border. @NVLudwig, can you please see this comment to see what we can use to make it better #1241 (comment)? cc @kazo0 |
While researching the answer I found that M3 updated it's style for CalendarView so I made updates in this branch and here are the styles for: Today, Default and Selected days. (Today+Selected would be the same as Selected) I did not unclude a Range styling as I can't confirm that the Win UI compoenent supports this styling (see image). @eriklimakc Looking at this it feels odd that we can't have Today's date with a Border for 2 reasons:
I hope this helps unblock you, contact me if anything is missing |
@eriklimakc Here is the new UI guidance taking into account the DEV limitation uno has for borders in Calendar View. Todays date: Fill the background with PrimaryContainerColor and fill Foreground with OnPrimaryContainerColor (see Figma for states) @kazo0 I made this change because of our internal limitations. How is it that we can't use a border here when both Win UI and Material use Borders (in reversed roles) |
@eriklimakc I also noticed our Corner radius was not looking very MAterial on the modal versions so I updated it to be 28px and added a padding or 24px on all sides |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://salmon-rock-0cfebe70f-1241.eastus2.azurestaticapps.net |
That's good, I still don't understand the double ellipses, is that something we have control over? @kazo0 @iurycarlos @carldebilly Doing this exercise made me realize how much more there was to do in the UI to get closer to M3 Calendar View, nothing big but lots of little things. Here is the full change UI log it may require some updates in the Themes or Plugin side: Figma Changes
|
GitHub Issue: #
PR Type
What kind of change does this PR introduce?
Description
Figma Design
Current Control (Wasm)
Changes so far
PR Checklist
Please check if your PR fulfills the following requirements:
Other information
Internal Issue (If applicable):