Skip to content

Commit 196a7bf

Browse files
authored
refactor(item, list): use the same background color (#29739)
1 parent 25e765d commit 196a7bf

File tree

42 files changed

+21
-12
lines changed

Some content is hidden

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

42 files changed

+21
-12
lines changed

core/src/components/item-sliding/test/basic/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ <h2>RIGHT/LEFT side - icons</h2>
7575
</ion-label>
7676
</ion-item>
7777
<ion-item-options side="start" class="sliding-enabled">
78-
<ion-item-option color="secondary" expandable>
78+
<ion-item-option color="primary" expandable>
7979
<ion-icon slot="start" name="checkmark"></ion-icon>
8080
Unread
8181
</ion-item-option>
@@ -105,7 +105,7 @@ <h2>RIGHT/LEFT side - many buttons</h2>
105105
<ion-icon slot="start" name="checkmark"></ion-icon>
106106
Btn 1
107107
</ion-item-option>
108-
<ion-item-option color="secondary" expandable>
108+
<ion-item-option color="primary" expandable>
109109
<ion-icon slot="start" name="checkmark"></ion-icon>
110110
Btn 2
111111
</ion-item-option>
@@ -124,7 +124,7 @@ <h2>RIGHT/LEFT side - many buttons</h2>
124124
<ion-icon slot="start" name="mail"></ion-icon>
125125
Btn 5
126126
</ion-item-option>
127-
<ion-item-option color="secondary" expandable>
127+
<ion-item-option color="primary" expandable>
128128
<ion-icon slot="start" name="mail"></ion-icon>
129129
Btn 6
130130
</ion-item-option>

core/src/components/item-sliding/test/basic/item-sliding.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { configs, dragElementBy, test } from '@utils/test/playwright';
88
* It is important to test all modes to ensure that the
99
* child components are being rendered correctly.
1010
*/
11-
configs().forEach(({ title, screenshot, config }) => {
11+
configs({ modes: ['ios', 'md', 'ionic-md'] }).forEach(({ title, screenshot, config }) => {
1212
test.describe(title('item-sliding: basic'), () => {
1313
test.beforeEach(async ({ page }) => {
1414
await page.goto(`/src/components/item-sliding/test/basic`, config);
@@ -105,7 +105,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
105105
* make sure the safe area padding is applied only to that side
106106
* regardless of direction
107107
*/
108-
configs().forEach(({ title, screenshot, config }) => {
108+
configs({ modes: ['ios', 'md', 'ionic-md'] }).forEach(({ title, screenshot, config }) => {
109109
test.describe(title('item-sliding: basic'), () => {
110110
test.describe('safe area left', () => {
111111
test('should have padding on the left only', async ({ page }) => {

0 commit comments

Comments
 (0)