Commit 1ea15432 authored by nwindis's avatar nwindis
Browse files

UPDATE readme

parent 85d6d740
Pipeline #154322 failed with stages
in 1 minute and 54 seconds
...@@ -211,6 +211,7 @@ There are two files in regards to configuration. Both deal with the Viewer's sta ...@@ -211,6 +211,7 @@ There are two files in regards to configuration. Both deal with the Viewer's sta
- show or hide individual bars (info, navigation, toggles) - show or hide individual bars (info, navigation, toggles)
- rename labels - rename labels
- tell the Viewer how it will be used (standalone / embedded) - tell the Viewer how it will be used (standalone / embedded)
- change the color scheme
- b) configure the panels (**src/config/panels.js**) - b) configure the panels (**src/config/panels.js**)
- set the order of the panels - set the order of the panels
...@@ -237,7 +238,12 @@ As a rule of thumb, every key with a boolean value (e.g. *true* or *false*) defa ...@@ -237,7 +238,12 @@ As a rule of thumb, every key with a boolean value (e.g. *true* or *false*) defa
"item": "Sheet", "item": "Sheet",
"manifest": "Manuscript" "manifest": "Manuscript"
}, },
"standalone": true "standalone": true,
"colors": {
"primary": "false",
"secondary": "false",
"accent": "false"
}
} }
</script> </script>
``` ```
...@@ -290,9 +296,19 @@ It's a *JSON* object. So if you are going to make any changes and you have to qu ...@@ -290,9 +296,19 @@ It's a *JSON* object. So if you are going to make any changes and you have to qu
- **standalone** - **standalone**
denotes if the Viewer will be used as a single page application or if it will be embedded into an existing page. If you want to use it in the latter case, please toggle the value to "false". That way the language toggle in the footer section will not show up. denotes if the Viewer will be used as a single page application or if it will be embedded into an existing page. If you want to use it in the latter case, please toggle the value to "false". That way the language toggle in the footer section will not show up.
Defaults to `true`. Defaults to `true`.
- **colors**
Set the colors used in the frontend.
`primary` and `accent` should be a darker tone, so that white text is visible if used as background. It's the other ways around with `secondary`.
Hex values (like `#a1a1a1`) or color names (like `hotpink`) can be used.
If values are left `false`, a default color schee will be used.
## Configure the panels ## Configure the panels
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment