Skip to content

Commit d10629d

Browse files
committed
style: revert toggle bar styling
1 parent d830f61 commit d10629d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/app/shared/components/template/components/toggle-bar/toggle-bar.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
class="toggle_wrapper"
1212
[class.show-tick-cross]="params.showTickAndCross"
1313
>
14-
<ion-toggle mode="md" [checked]="_row.value" (click)="handleClick($event)"> </ion-toggle>
14+
<ion-toggle mode="md" [checked]="_row.value" (click)="handleClick($event)" legacy="true">
15+
</ion-toggle>
1516
</div>
1617

1718
<!-- "icon" variant, replaces ion-toggle with alternating pair of icons -->

src/app/shared/components/template/components/toggle-bar/toggle-bar.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ ion-toggle {
88
}
99

1010
ion-toggle {
11-
--background: #b4b7b7;
11+
--track-background: #b4b7b7;
1212
--handle-spacing: 2px;
13-
--background-checked: var(--ion-color-primary, "darkblue");
13+
--track-background-checked: var(--ion-color-primary, "darkblue");
1414
--handle-background: var(--ion-item-background, #fefefe);
1515
--handle-background-checked: #fff;
1616
--padding-inline: $togglePadding;

0 commit comments

Comments
 (0)