From b43fae98d7efd45dd740717faa0f8f0786f5b313 Mon Sep 17 00:00:00 2001
From: Mechtel <mechtel@iqb.hu-berlin.de>
Date: Tue, 17 Jul 2018 14:43:18 +0200
Subject: [PATCH] first build to load up

---
 angular.json                          |  3 ++-
 src/app/tc-app-theme.scss             | 25 +++++++++++++++++++++++++
 src/environments/environment.build.ts |  2 +-
 src/environments/environment.prod.ts  |  2 +-
 src/styles.css                        |  2 +-
 5 files changed, 30 insertions(+), 4 deletions(-)
 create mode 100644 src/app/tc-app-theme.scss

diff --git a/angular.json b/angular.json
index 356899ef..7a286c92 100644
--- a/angular.json
+++ b/angular.json
@@ -23,7 +23,8 @@
               "src/assets"
             ],
             "styles": [
-              "src/styles.css"
+              "src/styles.css",
+              "src/app/tc-app-theme.scss"
             ],
             "scripts": []
           },
diff --git a/src/app/tc-app-theme.scss b/src/app/tc-app-theme.scss
new file mode 100644
index 00000000..a3b515c9
--- /dev/null
+++ b/src/app/tc-app-theme.scss
@@ -0,0 +1,25 @@
+@import '~@angular/material/theming';
+// Plus imports for other components in your app.
+
+// Include the common styles for Angular Material. We include this here so that you only
+// have to load a single css file for Angular Material in your app.
+// Be sure that you only ever include this mixin once!
+@include mat-core();
+
+// Define the palettes for your theme using the Material Design palettes available in palette.scss
+// (imported above). For each palette, you can optionally specify a default, lighter, and darker
+// hue. Available color palettes: https://www.google.com/design/spec/style/color.html
+$candy-app-primary: mat-palette($mat-blue);
+$candy-app-accent:  mat-palette($mat-cyan, A200, A100, A400);
+
+// The warn palette is optional (defaults to red).
+$candy-app-warn:    mat-palette($mat-red);
+
+// Create the theme object (a Sass map containing all of the palettes).
+$candy-app-theme: mat-light-theme($candy-app-primary, $candy-app-accent, $candy-app-warn);
+
+// Include theme styles for core and each component used in your app.
+// Alternatively, you can import and @include the theme mixins for each component
+// that you are using.
+
+@include angular-material-theme($candy-app-theme);
diff --git a/src/environments/environment.build.ts b/src/environments/environment.build.ts
index 9148a856..63ad7b68 100644
--- a/src/environments/environment.build.ts
+++ b/src/environments/environment.build.ts
@@ -5,7 +5,7 @@
 
 export const environment = {
   production: false,
-  testcenterUrl: '/',
+  testcenterUrl: '/admin',
   appName: 'IQB-Testcenter',
   appPublisher: 'IQB - Institut zur Qualitätsentwicklung im Bildungswesen',
   appVersion: '0.3.1 - 3.6.2018'
diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts
index 3bbc70ad..d42db85a 100644
--- a/src/environments/environment.prod.ts
+++ b/src/environments/environment.prod.ts
@@ -1,6 +1,6 @@
 export const environment = {
   production: true,
-  testcenterUrl: '/',
+  testcenterUrl: '/admin',
   appName: 'IQB-Testcenter',
   appPublisher: 'IQB - Institut zur Qualitätsentwicklung im Bildungswesen',
   appVersion: '0 (prod)'
diff --git a/src/styles.css b/src/styles.css
index 52671d35..81218f74 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -16,7 +16,7 @@ body {
   height: 100%;
   margin: 0;
   font-family: "Orienta";
-  background-color: #B0BEC5;
+  background-color: rgb(210, 229, 238);
 }
 
 .page-body {
-- 
GitLab