Skip to content

Commit a12a7d0

Browse files
committed
removing the dark theme switch
1 parent 36ed9de commit a12a7d0

4 files changed

Lines changed: 1 addition & 12 deletions

File tree

projects/app-lob/src/app/grid-finjs/controllers.component.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<div class="controls-wrapper">
22
<div class="controls-holder">
33
<div class="switches">
4-
<div class="control-item">
5-
<igx-switch [checked]="false" [(ngModel)]="theme" (change)="onChange('theme', $event)">Dark</igx-switch>
6-
</div>
74
<div class="control-item">
85
<igx-switch [checked]="true" (change)="onChange('grouped', $event)" color="blue"
96
cssClass="finjs-sample-switch">

projects/app-lob/src/app/grid-finjs/controllers.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export class ControllerComponent implements OnInit, OnDestroy {
2323
@Output() public playAction = new EventEmitter<{ action: string }>();
2424

2525
public volume = 1000;
26-
public theme = false;
2726
public frequency = 500;
2827
public controls = [
2928
{

projects/app-lob/src/app/grid-finjs/main.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="main__wrapper igx-scrollbar" [class.fin-dark-theme]="darkTheme">
1+
<div class="main__wrapper igx-scrollbar">
22
<app-finjs-controllers #controllers
33
(switchChanged)="onSwitchChanged($event)"
44
(volumeChanged)="onVolumeChanged($event)"

projects/app-lob/src/app/grid-finjs/main.component.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ export class FinJSDemoComponent implements OnDestroy, AfterViewInit {
2222
closeOnOutsideClick: true
2323
};
2424

25-
@HostBinding('class.dark-theme')
26-
public darkTheme = false;
27-
2825
public properties = ['price', 'country'];
2926
public chartData: Stock[] = [];
3027
public volume = 1000;
@@ -41,10 +38,6 @@ export class FinJSDemoComponent implements OnDestroy, AfterViewInit {
4138
this.finGrid.toggleGrouping();
4239
break;
4340
}
44-
case 'theme': {
45-
this.darkTheme = event.value;
46-
break;
47-
}
4841
default: break;
4942
}
5043
}

0 commit comments

Comments
 (0)