SIGN IN SIGN UP

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.

0 0 0 TypeScript

feat(toggle): update styles to iOS 17 specs (#28722)

Issue number: Internal

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->
The Toggle styles do not match iOS 17.

| iOS 17 Screenshot | New Design | Ionic |
| --------------------------------------------- |
------------------------------------------------------- |
------------------------------------------------- |
| ![iOS
Toggle](https://github.com/ionic-team/ionic-framework-design-documents/raw/0a820657b7374deff227e83dd2f9925b89eccaca/projects/ionic-framework/ios-17/assets/ios-toggle-light.png)
| ![Proposed
Toggle](https://github.com/ionic-team/ionic-framework-design-documents/raw/0a820657b7374deff227e83dd2f9925b89eccaca/projects/ionic-framework/ios-17/assets/proposed-toggle-light.png)
| ![Ionic
Toggle](https://github.com/ionic-team/ionic-framework-design-documents/raw/0a820657b7374deff227e83dd2f9925b89eccaca/projects/ionic-framework/ios-17/assets/ionic-toggle-light.png)
|


## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- The Toggle handle box shadow matches iOS 17 specs
- The Toggle height matches iOS 17 specs

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!--
  If this introduces a breaking change:
1. Describe the impact and migration path for existing applications
below.
  2. Update the BREAKING.md file with the breaking change.
3. Add "BREAKING CHANGE: [...]" to the commit description when merging.
See
https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#footer
for more information.
-->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->

---------

Co-authored-by: ionitron <hi@ionicframework.com>
S
Shawn Taylor committed
0ce0693af1cd468192ea58a08106c704da04640c
Parent: 45907aa
Committed by GitHub <noreply@github.com> on 12/21/2023, 4:26:10 PM