From 48dccd601e632170dda035d0a33a0a4e3452307d Mon Sep 17 00:00:00 2001 From: Tanja Ulmen <149720417+tanemlu@users.noreply.github.com> Date: Tue, 19 Nov 2024 09:18:23 +0100 Subject: [PATCH] Issue 382 custom css (#229) * changed alert type from clrAlert to AlertComponent * added custom.css part to readme * added custom.css file and references --------- Co-authored-by: Tanja Ulmen --- README.md | 4 ++++ angular.json | 3 ++- src/custom.css | 0 src/index.html | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 src/custom.css diff --git a/README.md b/README.md index 3b55d889..3545f812 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,10 @@ A file placed at `/config.json` will allow for runtime configuration (e.g., cust To customize logos, mount them into the container at `/usr/share/nginx/html/assets`, and then reference the file names in `config.json`. Alternatively, you can reference files from an object store. +A file placed at `/custom.css` will allow for runtime style customization. To do so, mount a file called `custom.css` into the container at `/usr/share/nginx/html/`. + + + ## Contributing ### Local Development diff --git a/angular.json b/angular.json index 954e1da9..dc4d094b 100644 --- a/angular.json +++ b/angular.json @@ -28,7 +28,8 @@ "assets": [ "src/favicon.ico", "src/config.json", - "src/assets" + "src/assets", + "src/custom.css" ], "styles": [ "node_modules/xterm/css/xterm.css", diff --git a/src/custom.css b/src/custom.css new file mode 100644 index 00000000..e69de29b diff --git a/src/index.html b/src/index.html index 8eb5f7e6..0c0836da 100644 --- a/src/index.html +++ b/src/index.html @@ -8,6 +8,7 @@ +