diff options
| author | bobzel <zzzman@gmail.com> | 2025-04-01 13:49:09 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-04-01 13:49:09 -0400 |
| commit | 6187b0691299f92f526b65bd6ad4a5148b387607 (patch) | |
| tree | 97f0433649c29959d268f0a394029024f5c1173c /src/client/documents/Documents.ts | |
| parent | 6c8effb77029db96bccab92152a6b68a0aefc132 (diff) | |
added an override_backgroundColor or templates that want to control background colors. needs to be generalized, perhaps along the lines of !important. fixed script sto ignore Array<T> template errors..
Diffstat (limited to 'src/client/documents/Documents.ts')
| -rw-r--r-- | src/client/documents/Documents.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 972b1aa5c..8458699fa 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -222,6 +222,7 @@ export class DocumentOptions { color?: STRt = new StrInfo('foreground color data doc', false); hidden?: BOOLt = new BoolInfo('whether the document is not rendered by its collection', false); backgroundColor?: STRt = new StrInfo('background color for data doc', false); + _override_backgroundColor?: BOOLt = new BoolInfo("whether the layout template overrides the data doc's background color"); opacity?: NUMt = new NumInfo('document opacity', false); viewTransitionTime?: NUMt = new NumInfo('transition duration for view parameters', false); dontRegisterView?: BOOLt = new BoolInfo('are views of this document registered so that they can be found when following links, etc', false); |
