Skip to content

Commit 6a85a53

Browse files
authored
fix(ui5-illustrated-message): update title font styles (#10912)
Fixes: #10879
1 parent 3248a82 commit 6a85a53

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/fiori/src/themes/IllustratedMessage.css

+5-2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252
.ui5-illustrated-message-title ::slotted([slot="title"]) {
5353
text-align: center;
5454
margin-bottom: 1rem;
55+
font-size: var(--sapFontHeader2Size);
56+
font-family: var(--sapFontHeaderFamily);
57+
font-weight: 700;
5558
line-height: 1.3;
5659
max-width: 61.9375rem;
5760
}
@@ -77,7 +80,7 @@
7780
:host([media="dialog"]) .ui5-illustrated-message-title [ui5-title],
7881
:host([media="dialog"]) ::slotted([slot="title"]) {
7982
margin-bottom: 0.5rem;
80-
font-size: var(--sapFontHeader4Size);
83+
font-size: var(--sapFontHeader3Size);
8184
max-width: 40.5625rem;
8285
}
8386

@@ -104,7 +107,7 @@
104107
:host([media="spot"]) .ui5-illustrated-message-title [ui5-title],
105108
:host([media="spot"]) ::slotted([slot="title"]) {
106109
margin-bottom: 0.5rem;
107-
font-size: var(--sapFontHeader5Size);
110+
font-size: var(--sapFontHeader4Size);
108111
line-height: 1.25rem;
109112
max-width: 21.5rem;
110113
}

0 commit comments

Comments
 (0)