Skip to content

Commit b9ef92a

Browse files
OS-giulianasilvaIonitronthetaPC
authored
feat(toggle): add ionic theme styles (#29790)
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 new behavior? - Updated ionic theme styles for the toggle - Added new states for the toggle (only for ionic theme) ## 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/docs/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 <[email protected]> Co-authored-by: Maria Hutt <[email protected]>
1 parent 4506ccf commit b9ef92a

File tree

100 files changed

+398
-139
lines changed

Some content is hidden

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

100 files changed

+398
-139
lines changed

core/src/components/toggle/test/color/toggle.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect } from '@playwright/test';
22
import { configs, test } from '@utils/test/playwright';
33

4-
configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
4+
configs({ directions: ['ltr'], modes: ['ios', 'md', 'ionic-md'] }).forEach(({ title, screenshot, config }) => {
55
test.describe(title('toggle: color'), () => {
66
test('should apply color when checked', async ({ page }) => {
77
await page.setContent(
1.62 KB
1.87 KB
1.56 KB
1.59 KB

core/src/components/toggle/test/enable-on-off-labels/toggle.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect } from '@playwright/test';
22
import { configs, test } from '@utils/test/playwright';
33

4-
configs({ palettes: ['light', 'dark'] }).forEach(({ title, screenshot, config }) => {
4+
configs({ palettes: ['light', 'dark'], modes: ['ios', 'md', 'ionic-md'] }).forEach(({ title, screenshot, config }) => {
55
test.describe(title('toggle: enable-on-off-labels'), () => {
66
test('should not have visual regressions', async ({ page }) => {
77
await page.setContent(

0 commit comments

Comments
 (0)