Skip to content

Commit 6fbd0e2

Browse files
fix(popups): fix header styles according to the specification (#11513)
1 parent 378c13c commit 6fbd0e2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/main/src/themes/PopupsCommon.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
}
2424

2525
.ui5-popup-root .ui5-popup-header-root {
26-
color: var(--sapPageHeader_TextColor);
2726
box-shadow: var(--_ui5_popup_header_shadow);
2827
border-bottom: var(--_ui5_popup_header_border);
2928
}
@@ -56,7 +55,9 @@
5655
}
5756

5857
.ui5-popup-header-root .ui5-popup-header-text {
59-
font-weight: var(--_ui5_popup_header_font_weight);
58+
font-weight: var(--sapFontHeaderFamily);
59+
font-size: var(--sapFontHeader5Size);
60+
color: var(--sapPageHeader_TextColor);
6061
}
6162

6263
.ui5-popup-content {

packages/main/src/themes/base/PopupsCommon-parameters.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
--_ui5_popup_header_footer_padding_m_l: 2rem;
77
--_ui5_popup_header_footer_padding_xl: 3rem;
88
--_ui5_popup_viewport_margin: 10px;
9-
--_ui5_popup_header_font_weight: 400;
109
--_ui5_popup_header_prop_header_text_alignment: flex-start;
1110
--_ui5_popup_border_radius: var(--sapElement_BorderCornerRadius);
1211
--_ui5_popup_header_background: var(--sapPageHeader_Background);

0 commit comments

Comments
 (0)