Skip to content

Commit a3b8254

Browse files
feat(datetime): align active datetime font size with ios 17 (#28738)
Issue number: N/A --------- ## What is the current behavior? The active day in a datetime uses the same font size as the other days. ## What is the new behavior? Increase the font size of the active day to match the iOS 17 spec. ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information | iOS 17 | Ionic | | ---| ---| | ![native ios](https://github.com/ionic-team/ionic-framework/assets/6577830/d26801cf-2771-4c37-b0f0-64b93017b171) | ![ionic](https://github.com/ionic-team/ionic-framework/assets/6577830/c73deffe-e7bd-4cc3-a3b9-9ebac0a351c8) | > [!NOTE] > In the above screenshot for Ionic I have added `background: current-color(base);` to the active day. This code should be there for "today" but it is not due to a bug ([FW-5808](https://ionic-cloud.atlassian.net/browse/FW-5808)). --------- Co-authored-by: ionitron <[email protected]>
1 parent 979b2f6 commit a3b8254

File tree

162 files changed

+2
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+2
-0
lines changed

core/src/components/datetime/datetime.ios.scss

+2
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@
234234

235235
.calendar-day.calendar-day-active {
236236
background: current-color(base, 0.2);
237+
238+
font-size: dynamic-font-max(22px, 1.6);
237239
}
238240

239241
/**

0 commit comments

Comments
 (0)