Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Commit 711c001

Browse files
committed
fix(router-item): set fallback for fiv-background
* remove unused css variable
1 parent 896bf0f commit 711c001

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

projects/core/src/lib/router-item/router-item.component.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
display: block;
1818
position: relative;
19-
--fiv-background: var(--ion-color-light);
20-
--fiv-background-shade: var(--ion-color-light-shade);
2119
width: 100%;
2220
}
2321

@@ -26,7 +24,7 @@
2624

2725
ion-item {
2826
--color: var(--color-active);
29-
--background: var(--fiv-background);
27+
--background: var(--fiv-background, var(--ion-color-light));
3028
}
3129
}
3230

src/global.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ fiv-router-item {
8181

8282
fiv-router-item {
8383
--fiv-background: var(--ion-background-color);
84-
--fiv-background-shade: var(--fiv-color-background-shade);
8584
}
8685

8786
ion-item {

0 commit comments

Comments
 (0)