Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/fiori/src/ViewSettingsDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ type VSDInternalSettings = {
* @extends UI5Element
* @since 1.0.0-rc.16
* @public
* @csspart header - Used to style the header.
*/
@customElement({
tag: "ui5-view-settings-dialog",
Expand Down
2 changes: 1 addition & 1 deletion packages/fiori/src/ViewSettingsDialogTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import type ViewSettingsDialog from "./ViewSettingsDialog.js";
function ViewSettingsDialogTemplateHeader(this: ViewSettingsDialog) {
return (
<div slot="header" class="ui5-vsd-header">
<div class="ui5-vsd-header-container">
<div class="ui5-vsd-header-container" part="header">
<div class="ui5-vsd-header-start">
{this.showBackButton && (
<Button
Expand Down
6 changes: 6 additions & 0 deletions packages/fiori/test/pages/ViewSettingsDialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
}
</script>

<style>
#vsd::part(header) {
--sapButton_Lite_TextColor: pink;
}
</style>

<script src="%VITE_BUNDLE_PATH%" type="module"></script>

<link rel="stylesheet" type="text/css" href="./styles/ViewSettingsDialog.css">
Expand Down
Loading