about summary refs log tree commit diff
path: root/src/view/com/composer/text-input
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-02-07 15:07:25 -0800
committerGitHub <noreply@github.com>2024-02-07 15:07:25 -0800
commit83edb4446ddbee3bb3a64991601aa267b29c98b0 (patch)
tree96be4284adb825e681c46ac5221c0d2a732c432b /src/view/com/composer/text-input
parentf0a35a940b1a5a7b89a4dc6308b4387dc755dc91 (diff)
downloadvoidsky-83edb4446ddbee3bb3a64991601aa267b29c98b0.tar.zst
use the palette's font color in the composer (#2791)
* use the palette's font color in the composer

* correct type for cssproperties

* log
Diffstat (limited to 'src/view/com/composer/text-input')
-rw-r--r--src/view/com/composer/text-input/TextInput.web.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/composer/text-input/TextInput.web.tsx b/src/view/com/composer/text-input/TextInput.web.tsx
index af0d18743..dbc2f11d2 100644
--- a/src/view/com/composer/text-input/TextInput.web.tsx
+++ b/src/view/com/composer/text-input/TextInput.web.tsx
@@ -228,7 +228,7 @@ export const TextInput = React.forwardRef(function TextInputImpl(
   return (
     <>
       <View style={styles.container}>
-        <EditorContent editor={editor} />
+        <EditorContent editor={editor} style={{color: pal.text.color}} />
       </View>
 
       {isDropping && (