AAE-25387 Styles preview (#10199)

This commit is contained in:
Kasia Biernat-Kluba 2024-09-11 16:20:30 +02:00 committed by GitHub
parent 20e770d58c
commit ed24f4932c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 1 deletions

View File

@ -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));

View File

@ -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;
}

View File

@ -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;

View File

@ -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;
}
}