mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
AAE-25387 Styles preview (#10199)
This commit is contained in:
parent
20e770d58c
commit
ed24f4932c
@ -119,7 +119,7 @@ export class FormModel implements ProcessFormModel {
|
||||
this.enableFixedSpace = enableFixedSpace;
|
||||
this.confirmMessage = json.confirmMessage || {};
|
||||
this.displayMode = json.displayMode;
|
||||
this.theme = json.theme;
|
||||
this.theme = json.theme || json.formDefinition?.theme;
|
||||
|
||||
this.tabs = (json.tabs || []).map((tabJson) => new TabModel(this, tabJson));
|
||||
|
||||
|
@ -3,4 +3,5 @@
|
||||
font-size: var(--adf-readonly-text-font-size, var(--adf-form-label-font-size, var(--theme-body-1-font-size)));
|
||||
font-weight: var(--adf-readonly-text-font-weight, var(--adf-form-label-font-weight, var(--theme-font-weight)));
|
||||
color: var(--adf-readonly-text-color, var(--adf-form-label-color, var(--theme-text-color)));
|
||||
line-height: normal;
|
||||
}
|
||||
|
@ -6,6 +6,7 @@
|
||||
font-size: var(--adf-header-font-size);
|
||||
font-weight: var(--adf-header-font-weight);
|
||||
color: var(--adf-header-color);
|
||||
line-height: normal;
|
||||
|
||||
&.adf-collapsible {
|
||||
cursor: pointer;
|
||||
|
@ -4,6 +4,7 @@
|
||||
font-size: var(--adf-radio-buttons-font-size, var(--adf-form-label-font-size, var(--theme-caption-font-size)));
|
||||
font-weight: var(--adf-radio-buttons-font-weight, var(--adf-form-label-font-weight, var(--theme-font-weight)));
|
||||
color: var(--adf-radio-buttons-color, var(--adf-form-label-color, var(--adf-theme-foreground-secondary-text-color)));
|
||||
line-height: normal;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user