Commit 34fd510
feat(toggle): add press state for ionic theme (#30550)
Issue number: internal
---------
## What is the current behavior?
- The current toggle, using the ionic theme, is not following the design
for pressed state, as well as the default background color for unchecked
toggles
## What is the new behavior?
For the ionic theme:
- Changes unselected toggle background color to follow the new style:
`ion-primitives-neutral-500
- Changes the toggle background color for pressed states:
`ion-bg-primary-base-press` and `ion-bg-neutral-base-press`, for checked
and unchecked toggles, respectively
- updates the toggle snapshots accordingly
## Does this introduce a breaking change?
- [ ] Yes
- [x] No
---------
Co-authored-by: ionitron <[email protected]>1 parent be6a690 commit 34fd510
File tree
103 files changed
+9
-3
lines changed- core/src/components/toggle
- test
- bottom-content/toggle.e2e.ts-snapshots
- color/toggle.e2e.ts-snapshots
- enable-on-off-labels/toggle.e2e.ts-snapshots
- item/toggle.e2e.ts-snapshots
- label/toggle.e2e.ts-snapshots
- sizes/toggle.e2e.ts-snapshots
- states/toggle.e2e.ts-snapshots
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
103 files changed
+9
-3
lines changed
0 commit comments