Skip to content

Commit 5509b34

Browse files
authored
Fix: use text color in top layer elements (#882)
* fix text color in modals * fix text color in popovers
1 parent 5cf5fef commit 5509b34

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/uui-modal/lib/uui-modal.element.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export class UUIModalElement extends LitElement {
9696
max-height: unset;
9797
border: none;
9898
background: none;
99+
color: var(--uui-color-text);
99100
}
100101
dialog::backdrop {
101102
background: none;

packages/uui-popover-container/lib/uui-popover-container.element.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ export class UUIPopoverContainerElement extends LitElement {
367367
background-color: none;
368368
background: none;
369369
overflow: visible;
370+
color: var(--uui-color-text);
370371
}
371372
`,
372373
];

0 commit comments

Comments
 (0)