Skip to content

Commit ad6fe66

Browse files
committed
test(themes): only override the global background for ionic theme
1 parent 9c83b5c commit ad6fe66

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

core/src/components/accordion-group/test/expand/accordion-group.e2e.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ configs({ directions: ['ltr'], modes: ['ionic-md'] }).forEach(({ config, screens
99
`
1010
<style>
1111
/* Background styles to show the border radius */
12-
:root {
12+
.ionic {
1313
--ion-background-color: #ccc7c7;
1414
}
1515
</style>
@@ -47,7 +47,7 @@ configs({ directions: ['ltr'], modes: ['ionic-md'] }).forEach(({ config, screens
4747
`
4848
<style>
4949
/* Background styles to show the border radius */
50-
:root {
50+
.ionic {
5151
--ion-background-color: #ccc7c7;
5252
}
5353
</style>
@@ -87,7 +87,7 @@ configs({ directions: ['ltr'], modes: ['ionic-md'] }).forEach(({ config, screens
8787
`
8888
<style>
8989
/* Background styles to show the border radius */
90-
:root {
90+
.ionic {
9191
--ion-background-color: #ccc7c7;
9292
}
9393
</style>
@@ -125,7 +125,7 @@ configs({ directions: ['ltr'], modes: ['ionic-md'] }).forEach(({ config, screens
125125
`
126126
<style>
127127
/* Background styles to show the border radius */
128-
:root {
128+
.ionic {
129129
--ion-background-color: #ccc7c7;
130130
}
131131
</style>

core/src/components/accordion-group/test/shape/accordion-group.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ configs({ directions: ['ltr'], modes: ['ionic-md'] }).forEach(({ config, screens
99
`
1010
<style>
1111
/* Background styles to show the border radius */
12-
:root {
12+
.ionic {
1313
--ion-background-color: #222;
1414
}
1515
</style>

core/src/components/accordion/test/shape/accordion.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ configs({ directions: ['ltr'], modes: ['ionic-md'] }).forEach(({ config, screens
99
`
1010
<style>
1111
/* Background styles to show the border radius */
12-
:root {
12+
.ionic {
1313
--ion-background-color: #222;
1414
}
1515
</style>

core/src/components/progress-bar/test/shape/progress-bar.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ configs({ directions: ['ltr'], modes: ['ionic-md'] }).forEach(({ title, screensh
77
await page.setContent(
88
`
99
<style>
10-
:root {
10+
.ionic {
1111
--ion-background-color: #ccc7c7;
1212
}
1313
@@ -32,7 +32,7 @@ configs({ directions: ['ltr'], modes: ['ionic-md'] }).forEach(({ title, screensh
3232
await page.setContent(
3333
`
3434
<style>
35-
:root {
35+
.ionic {
3636
--ion-background-color: #ccc7c7;
3737
}
3838

core/src/components/searchbar/test/shape/searchbar.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ configs({ directions: ['ltr'], modes: ['ionic-md'] }).forEach(({ title, screensh
1313
`
1414
<style>
1515
/* Background styles to show the border radius */
16-
:root {
16+
.ionic {
1717
--ion-background-color: #000;
1818
}
1919
</style>

core/src/components/tab-bar/test/basic/tab-bar.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ configs({ modes: ['ionic-md', 'md', 'ios'] }).forEach(({ title, screenshot, conf
1010
await page.setContent(
1111
`
1212
<style>
13-
:root {
13+
.ionic {
1414
--ion-background-color: #ccc7c7;
1515
}
1616
</style>

core/src/components/tab-bar/test/shape/tab-bar.e2e.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ configs({ directions: ['ltr'], modes: ['ionic-md'] }).forEach(({ title, screensh
1212
await page.setContent(
1313
`
1414
<style>
15-
:root {
15+
.ionic {
1616
--ion-background-color: #ccc7c7;
1717
}
1818
</style>
@@ -48,7 +48,7 @@ configs({ directions: ['ltr'], modes: ['ionic-md'] }).forEach(({ title, screensh
4848
await page.setContent(
4949
`
5050
<style>
51-
:root {
51+
.ionic {
5252
--ion-background-color: #ccc7c7;
5353
}
5454
</style>
@@ -84,7 +84,7 @@ configs({ directions: ['ltr'], modes: ['ionic-md'] }).forEach(({ title, screensh
8484
await page.setContent(
8585
`
8686
<style>
87-
:root {
87+
.ionic {
8888
--ion-background-color: #ccc7c7;
8989
}
9090
</style>

0 commit comments

Comments
 (0)