Skip to content

Commit 89afc09

Browse files
committed
Cleanup after build fail
1 parent 37669b2 commit 89afc09

File tree

2 files changed

+3
-31
lines changed

2 files changed

+3
-31
lines changed

src/app/public/ngx-gist.component.scss

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,6 @@
1+
// Remove this if this is already in your project.
12
@import "https://fonts.googleapis.com/icon?family=Material+Icons";
23

3-
:host.deeppurple-amber ::ng-deep {
4-
// https://unpkg.com/@angular/material@latest/prebuilt-themes/deeppurple-amber.css
5-
// @import "https://unpkg.com/@angular/material@14.1.0/prebuilt-themes/deeppurple-amber.css";
6-
@import "~@angular/material/prebuilt-themes/deeppurple-amber.css";
7-
}
8-
9-
:host.indigo-pink {
10-
// https://unpkg.com/@angular/material@latest/prebuilt-themes/indigo-pink.css
11-
@import "https://unpkg.com/@angular/material@14.1.0/prebuilt-themes/indigo-pink.css";
12-
}
13-
14-
:host.pink-bluegrey {
15-
// https://unpkg.com/@angular/material@latest/prebuilt-themes/pink-bluegrey.css
16-
@import "https://unpkg.com/@angular/material@14.1.0/prebuilt-themes/pink-bluegrey.css";
17-
}
18-
19-
:host.purble-green {
20-
// https://unpkg.com/@angular/material@latest/prebuilt-themes/purple-green.css
21-
@import "https://unpkg.com/@angular/material@14.1.0/prebuilt-themes/purple-green.css";
22-
}
23-
244
pre {
255
display: flex;
266
margin-top: 0;
@@ -65,19 +45,13 @@ pre {
6545
}
6646
}
6747

68-
.dark-theme mat-card-footer {
69-
border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
70-
}
71-
7248
pre > code.hljs-line-numbers {
7349
padding: 0 !important;
7450
}
7551

7652
.hljs {
7753
margin: 0;
7854
padding: 10px;
79-
//border: 1px solid gray;
80-
//border-radius: 4px;
8155
transition: border ease 1s;
8256
}
8357

@@ -95,7 +69,6 @@ pre {
9569
}
9670
}
9771

98-
/* for block of numbers */
9972
td.hljs-ln-numbers {
10073
user-select: none;
10174
text-align: center;
@@ -105,7 +78,6 @@ pre {
10578
padding-left: 8px !important;
10679
}
10780

108-
/* for block of code */
10981
td.hljs-ln-code {
11082
padding-left: 8px !important;
11183
}

src/app/public/ngx-gist.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { NgxGistService } from './ngx-gist.service';
22
import { isNonEmptyValue } from './ngx-gist.utilities';
33
import { NgxGist } from './ngx-gist.model';
4-
import { Component, HostBinding, Inject, Input, OnInit } from '@angular/core';
4+
import { Component, Inject, Input, OnInit } from '@angular/core';
55
import { Language, default as hljs } from 'highlight.js';
66
import { filter, firstValueFrom, ReplaySubject } from 'rxjs';
77
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
@@ -103,7 +103,7 @@ export class NgxGistComponent implements OnInit {
103103
*
104104
* Default: `undefined`
105105
*/
106-
@Input() @HostBinding('class') public materialTheme:
106+
@Input() public materialTheme:
107107
| 'deeppurple-amber'
108108
| 'indigo-pink'
109109
| 'pink-bluegrey'

0 commit comments

Comments
 (0)