From 8f542ba831a053689c76cf9d3168c9f9091d6706 Mon Sep 17 00:00:00 2001 From: Maxime Biais Date: Thu, 25 Jul 2019 12:13:24 +0200 Subject: [PATCH] [RNMobile] Update Video caption placeholder color to match other placeholder text styles (#16716) --- packages/block-library/src/video/edit.native.js | 1 + packages/block-library/src/video/style.native.scss | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/packages/block-library/src/video/edit.native.js b/packages/block-library/src/video/edit.native.js index 913817ea2fed1c..4d7ce426d55c05 100644 --- a/packages/block-library/src/video/edit.native.js +++ b/packages/block-library/src/video/edit.native.js @@ -237,6 +237,7 @@ class VideoEdit extends React.Component { underlineColorAndroid="transparent" value={ caption } placeholder={ __( 'Write caption…' ) } + placeholderTextColor={ style.captionPlaceholder.color } onChangeText={ ( newCaption ) => setAttributes( { caption: newCaption } ) } onFocus={ this.props.onFocus } /> diff --git a/packages/block-library/src/video/style.native.scss b/packages/block-library/src/video/style.native.scss index e7b2a3014b579e..a7b77efce2c4bc 100644 --- a/packages/block-library/src/video/style.native.scss +++ b/packages/block-library/src/video/style.native.scss @@ -57,6 +57,10 @@ font-family: $default-regular-font; } +.captionPlaceholder { + color: $gray; +} + .icon { fill: $gray-dark; width: 100%;