Skip to content

Commit

Permalink
Issue 382 custom css (#229)
Browse files Browse the repository at this point in the history
* changed alert type from clrAlert to AlertComponent

* added custom.css part to readme

* added custom.css file and references

---------

Co-authored-by: Tanja Ulmen <[email protected]>
  • Loading branch information
tanemlu and Tanja Ulmen authored Nov 19, 2024
1 parent 2c29a0a commit 48dccd6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Empty file added src/custom.css
Empty file.
1 change: 1 addition & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" id="favicon" type="image/x-icon" href="/assets/default/favicon.png">
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">
<link rel="stylesheet" href="custom.css" />
</head>
<body>
<app-root></app-root>
Expand Down

0 comments on commit 48dccd6

Please sign in to comment.