Skip to content

Commit 49534c1

Browse files
fix: Gave host "color" to make sure things like text in date picker are aligned with theme, as well as giving it a a color scheme option (#1056)
Co-authored-by: Niels Lyngsø <[email protected]>
1 parent c32aa90 commit 49534c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,8 @@ export class UUIInputElement extends UUIFormControlMixin(
341341
align-items: stretch;
342342
height: var(--uui-input-height, var(--uui-size-11));
343343
text-align: left;
344+
color: var(--uui-color-text);
345+
color-scheme: var(--uui-color-scheme, normal);
344346
box-sizing: border-box;
345347
background-color: var(
346348
--uui-input-background-color,

0 commit comments

Comments
 (0)