theme colors for dialog textarea placeholders (#19939)
This commit is contained in:
@@ -387,6 +387,7 @@ export function QuestionPrompt(props: { request: QuestionRequest }) {
|
|||||||
}}
|
}}
|
||||||
initialValue={input()}
|
initialValue={input()}
|
||||||
placeholder="Type your own answer"
|
placeholder="Type your own answer"
|
||||||
|
placeholderColor={theme.textMuted}
|
||||||
minHeight={1}
|
minHeight={1}
|
||||||
maxHeight={6}
|
maxHeight={6}
|
||||||
textColor={theme.text}
|
textColor={theme.text}
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ export function DialogExportOptions(props: DialogExportOptionsProps) {
|
|||||||
ref={(val: TextareaRenderable) => (textarea = val)}
|
ref={(val: TextareaRenderable) => (textarea = val)}
|
||||||
initialValue={props.defaultFilename}
|
initialValue={props.defaultFilename}
|
||||||
placeholder="Enter filename"
|
placeholder="Enter filename"
|
||||||
|
placeholderColor={theme.textMuted}
|
||||||
textColor={theme.text}
|
textColor={theme.text}
|
||||||
focusedTextColor={theme.text}
|
focusedTextColor={theme.text}
|
||||||
cursorColor={theme.text}
|
cursorColor={theme.text}
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ export function DialogPrompt(props: DialogPromptProps) {
|
|||||||
ref={(val: TextareaRenderable) => (textarea = val)}
|
ref={(val: TextareaRenderable) => (textarea = val)}
|
||||||
initialValue={props.value}
|
initialValue={props.value}
|
||||||
placeholder={props.placeholder ?? "Enter text"}
|
placeholder={props.placeholder ?? "Enter text"}
|
||||||
|
placeholderColor={theme.textMuted}
|
||||||
textColor={props.busy ? theme.textMuted : theme.text}
|
textColor={props.busy ? theme.textMuted : theme.text}
|
||||||
focusedTextColor={props.busy ? theme.textMuted : theme.text}
|
focusedTextColor={props.busy ? theme.textMuted : theme.text}
|
||||||
cursorColor={props.busy ? theme.backgroundElement : theme.text}
|
cursorColor={props.busy ? theme.backgroundElement : theme.text}
|
||||||
|
|||||||
@@ -260,6 +260,7 @@ export function DialogSelect<T>(props: DialogSelectProps<T>) {
|
|||||||
}, 1)
|
}, 1)
|
||||||
}}
|
}}
|
||||||
placeholder={props.placeholder ?? "Search"}
|
placeholder={props.placeholder ?? "Search"}
|
||||||
|
placeholderColor={theme.textMuted}
|
||||||
/>
|
/>
|
||||||
</box>
|
</box>
|
||||||
</box>
|
</box>
|
||||||
|
|||||||
Reference in New Issue
Block a user