Skip to content

Commit 9605dc8

Browse files
committed
removing more mentions of finjs dark theme
1 parent a12a7d0 commit 9605dc8

3 files changed

Lines changed: 0 additions & 37 deletions

File tree

projects/app-lob/src/app/treegrid-finjs/tree-grid-finjs-sample.component.scss

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
@use '../../variables' as *;
22

33
:host ::ng-deep {
4-
.fin-dark-theme {
5-
.finjs-slider,
6-
.sample-toolbar,
7-
.group-drop-area {
8-
color: contrast-color(null, 'gray', 900);
9-
}
10-
11-
.group-drop-area {
12-
background: color(null, 'surface', 500);
13-
}
14-
}
15-
164
.finjs-icons {
175
display: flex;
186
align-items: center;

projects/app-lob/src/app/treegrid-finjs/tree-grid-finjs-sample.component.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ export class TreeGridFinJSComponent implements OnDestroy, OnInit {
2121
@ViewChild('slider2', { static: true }) public intervalSlider!: IgxSliderComponent;
2222
@ViewChild(IgxOverlayOutletDirective, { static: true }) public outlet!: IgxOverlayOutletDirective;
2323

24-
@HostBinding('class.dark-theme')
25-
public theme = false;
26-
2724
public showToolbar = true;
2825
public selectionMode = 'multiple';
2926
public volume = 1000;
@@ -162,19 +159,6 @@ export class TreeGridFinJSComponent implements OnDestroy, OnInit {
162159
return value ? '$' + value.toFixed(3) : '';
163160
}
164161

165-
/**
166-
* the below code is needed when accessing the sample through the navigation
167-
* it will style all the space below the sample component element, but not the navigation menu
168-
*/
169-
public onThemeChanged(event: any) {
170-
const parentEl = this.parentComponentEl();
171-
if (event.checked && parentEl.classList.contains('main')) {
172-
parentEl.classList.add('fin-dark-theme');
173-
} else {
174-
parentEl.classList.remove('fin-dark-theme');
175-
}
176-
}
177-
178162
public ngOnDestroy() {
179163
this.stopFeed();
180164
}

src/styles.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,3 @@ body {
3636
@include fluent-dark-theme($fluent-excel-palette);
3737
}
3838
}
39-
40-
.fin-dark-theme {
41-
@include dark-theme($green-palette);
42-
background: #333;
43-
44-
::-moz-placeholder {
45-
opacity: 1;
46-
}
47-
}

0 commit comments

Comments
 (0)