Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit 9688e21

Browse files
committed
default theme
# Conflicts: # src/Frontend/Jp.AdminUI/src/environments/environment.docker.ts
1 parent ee6c0e6 commit 9688e21

4 files changed

Lines changed: 11 additions & 3 deletions

File tree

src/Frontend/Jp.AdminUI/src/app/core/themes/themes.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Injectable } from "@angular/core";
2+
import { environment } from "@env/environment";
23

34
const themeA = require("@shared/styles/themes/theme-a.scss");
45
const themeB = require("@shared/styles/themes/theme-b.scss");
@@ -13,7 +14,7 @@ const themeH = require("@shared/styles/themes/theme-h.scss");
1314
export class ThemesService {
1415

1516
styleTag: any;
16-
defaultTheme: string = "H";
17+
defaultTheme: string = environment.defaultTheme;
1718

1819
constructor() {
1920
this.createStyle();

src/Frontend/Jp.AdminUI/src/environments/environment.docker.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@
55

66
export const environment = {
77
production: false,
8+
ResourceServer: "http://api.teste.work/",
9+
IssuerUri: "http://sso.teste.work",
810
ResourceServer: "http://localhost:5003/",
911
IssuerUri: "http://jpproject:5000",
1012
RequireHttps: false,
13+
Uri: "http://admin.teste.work"
1114
Uri: "http://localhost:4300"
15+
}
16+
defaultTheme: "E"
1217
};

src/Frontend/Jp.AdminUI/src/environments/environment.prod.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ export const environment = {
33
ResourceServer: "https://jpproject.azurewebsites.net/api/",
44
IssuerUri: "https://jpproject.azurewebsites.net/sso",
55
RequireHttps: true,
6-
Uri: "https://jpproject.azurewebsites.net/admin-ui"
6+
Uri: "https://jpproject.azurewebsites.net/admin-ui",
7+
defaultTheme: "E"
78
};

src/Frontend/Jp.AdminUI/src/environments/environment.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ export const environment = {
88
ResourceServer: "http://localhost:5003/",
99
IssuerUri: "http://localhost:5000",
1010
RequireHttps: false,
11-
Uri: "http://localhost:4300"
11+
Uri: "http://localhost:4300",
12+
defaultTheme: "E"
1213
};

0 commit comments

Comments
 (0)