Skip to content

Commit

Permalink
fix(dialog): simplify color-palette logic
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjohnson committed Jan 3, 2025
1 parent 4d1ecb5 commit 1d3abdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elements/rh-dialog/rh-dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class RhDialog extends LitElement {
</div>
<rh-surface class=${classMap({ hasHeader, hasDescription, hasFooter })}
?hidden=${!this.open}
color-palette="${ifDefined(this.type === 'video' ? undefined : 'lightest')}">
color-palette="lightest">
<dialog id="dialog"
part="dialog"
aria-labelledby=${ifDefined(this.accessibleLabel ? undefined : headerId)}
Expand Down

0 comments on commit 1d3abdc

Please sign in to comment.